You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GoogleSpanner is currently unstable, and its API may change, or it may be removed,
15055
+
without a major version bump.
15056
+
'''
15057
+
__slots__ = [
15058
+
'bind_interface',
15059
+
'database',
15060
+
'egress_filter',
15061
+
'endpoint',
15062
+
'healthy',
15063
+
'id',
15064
+
'instance',
15065
+
'name',
15066
+
'port',
15067
+
'port_override',
15068
+
'project',
15069
+
'proxy_cluster_id',
15070
+
'secret_store_id',
15071
+
'service_account_to_impersonate',
15072
+
'subdomain',
15073
+
'tags',
15074
+
]
15075
+
15076
+
def __init__(
15077
+
self,
15078
+
bind_interface=None,
15079
+
database=None,
15080
+
egress_filter=None,
15081
+
endpoint=None,
15082
+
healthy=None,
15083
+
id=None,
15084
+
instance=None,
15085
+
name=None,
15086
+
port=None,
15087
+
port_override=None,
15088
+
project=None,
15089
+
proxy_cluster_id=None,
15090
+
secret_store_id=None,
15091
+
service_account_to_impersonate=None,
15092
+
subdomain=None,
15093
+
tags=None,
15094
+
):
15095
+
self.bind_interface = bind_interface if bind_interface is not None else ''
15096
+
'''
15097
+
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
15098
+
'''
15099
+
self.database = database if database is not None else ''
15100
+
'''
15101
+
The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
15102
+
'''
15103
+
self.egress_filter = egress_filter if egress_filter is not None else ''
15104
+
'''
15105
+
A filter applied to the routing logic to pin datasource to nodes.
15106
+
'''
15107
+
self.endpoint = endpoint if endpoint is not None else ''
15108
+
'''
15109
+
The endpoint to dial e.g. spanner.googleapis.com
15110
+
'''
15111
+
self.healthy = healthy if healthy is not None else False
15112
+
'''
15113
+
True if the datasource is reachable and the credentials are valid.
15114
+
'''
15115
+
self.id = id if id is not None else ''
15116
+
'''
15117
+
Unique identifier of the Resource.
15118
+
'''
15119
+
self.instance = instance if instance is not None else ''
15120
+
'''
15121
+
The Spanner instance ID within the GCP project.
15122
+
'''
15123
+
self.name = name if name is not None else ''
15124
+
'''
15125
+
Unique human-readable name of the Resource.
15126
+
'''
15127
+
self.port = port if port is not None else 0
15128
+
'''
15129
+
The port to dial to initiate a connection from the egress node to this resource.
15130
+
'''
15131
+
self.port_override = port_override if port_override is not None else 0
15132
+
'''
15133
+
The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
15134
+
'''
15135
+
self.project = project if project is not None else ''
15136
+
'''
15137
+
The GCP project ID containing the Spanner database.
15138
+
'''
15139
+
self.proxy_cluster_id = proxy_cluster_id if proxy_cluster_id is not None else ''
15140
+
'''
15141
+
ID of the proxy cluster for this resource, if any.
15142
+
'''
15143
+
self.secret_store_id = secret_store_id if secret_store_id is not None else ''
15144
+
'''
15145
+
ID of the secret store containing credentials for this resource, if any.
15146
+
'''
15147
+
self.service_account_to_impersonate = service_account_to_impersonate if service_account_to_impersonate is not None else ''
15148
+
'''
15149
+
Optional service account email to impersonate. When set, the relay's
15150
+
Application Default Credentials will impersonate this service account
15151
+
to access Spanner. This allows role separation where the relay uses
15152
+
one service account but operates as another.
15153
+
'''
15154
+
self.subdomain = subdomain if subdomain is not None else ''
15155
+
'''
15156
+
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
15157
+
'''
15158
+
self.tags = tags if tags is not None else _porcelain_zero_value_tags()
0 commit comments