Variables
OperationStatus_ErrorCode_name, OperationStatus_ErrorCode_value
var
(
OperationStatus_ErrorCode_name
=
map
[
int32
]
string
{
0
:
"ERROR_CODE_UNSPECIFIED"
,
1
:
"INTERNAL_ERROR"
,
2
:
"PERMISSION_DENIED"
,
3
:
"CLUSTER_CONNECTION"
,
}
OperationStatus_ErrorCode_value
=
map
[
string
]
int32
{
"ERROR_CODE_UNSPECIFIED"
:
0
,
"INTERNAL_ERROR"
:
1
,
"PERMISSION_DENIED"
:
2
,
"CLUSTER_CONNECTION"
:
3
,
}
)
Enum value maps for OperationStatus_ErrorCode.
File_google_cloud_gaming_v1beta_common_proto
var
File_google_cloud_gaming_v1beta_common_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_game_server_clusters_proto
var
File_google_cloud_gaming_v1beta_game_server_clusters_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_game_server_clusters_service_proto
var
File_google_cloud_gaming_v1beta_game_server_clusters_service_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_game_server_configs_proto
var
File_google_cloud_gaming_v1beta_game_server_configs_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_game_server_configs_service_proto
var
File_google_cloud_gaming_v1beta_game_server_configs_service_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_game_server_deployments_proto
var
File_google_cloud_gaming_v1beta_game_server_deployments_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_game_server_deployments_service_proto
var
File_google_cloud_gaming_v1beta_game_server_deployments_service_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_realms_proto
var
File_google_cloud_gaming_v1beta_realms_proto
protoreflect
.
FileDescriptor
File_google_cloud_gaming_v1beta_realms_service_proto
var
File_google_cloud_gaming_v1beta_realms_service_proto
protoreflect
.
FileDescriptor
Functions
func RegisterGameServerClustersServiceServer
func
RegisterGameServerClustersServiceServer
(
s
*
grpc
.
Server
,
srv
GameServerClustersServiceServer
)
func RegisterGameServerConfigsServiceServer
func
RegisterGameServerConfigsServiceServer
(
s
*
grpc
.
Server
,
srv
GameServerConfigsServiceServer
)
func RegisterGameServerDeploymentsServiceServer
func
RegisterGameServerDeploymentsServiceServer
(
s
*
grpc
.
Server
,
srv
GameServerDeploymentsServiceServer
)
func RegisterRealmsServiceServer
func
RegisterRealmsServiceServer
(
s
*
grpc
.
Server
,
srv
RealmsServiceServer
)
CreateGameServerClusterRequest
type
CreateGameServerClusterRequest
struct
{
// Required. The parent resource name. Uses the form:
// `projects/{project}/locations/{location}/realms/{realm-id}`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the game server cluster resource to be created.
GameServerClusterId
string
`protobuf:"bytes,2,opt,name=game_server_cluster_id,json=gameServerClusterId,proto3" json:"game_server_cluster_id,omitempty"`
// Required. The game server cluster resource to be created.
GameServerCluster
*
GameServerCluster
`protobuf:"bytes,3,opt,name=game_server_cluster,json=gameServerCluster,proto3" json:"game_server_cluster,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.CreateGameServerCluster.
func (*CreateGameServerClusterRequest) Descriptor
func
(
*
CreateGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreateGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateGameServerClusterRequest) GetGameServerCluster
func
(
x
*
CreateGameServerClusterRequest
)
GetGameServerCluster
()
*
GameServerCluster
func (*CreateGameServerClusterRequest) GetGameServerClusterId
func
(
x
*
CreateGameServerClusterRequest
)
GetGameServerClusterId
()
string
func (*CreateGameServerClusterRequest) GetParent
func
(
x
*
CreateGameServerClusterRequest
)
GetParent
()
string
func (*CreateGameServerClusterRequest) ProtoMessage
func
(
*
CreateGameServerClusterRequest
)
ProtoMessage
()
func (*CreateGameServerClusterRequest) ProtoReflect
func
(
x
*
CreateGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreateGameServerClusterRequest) Reset
func
(
x
*
CreateGameServerClusterRequest
)
Reset
()
func (*CreateGameServerClusterRequest) String
func
(
x
*
CreateGameServerClusterRequest
)
String
()
string
CreateGameServerConfigRequest
type
CreateGameServerConfigRequest
struct
{
// Required. The parent resource name. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the game server config resource to be created.
ConfigId
string
`protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
// Required. The game server config resource to be created.
GameServerConfig
*
GameServerConfig
`protobuf:"bytes,3,opt,name=game_server_config,json=gameServerConfig,proto3" json:"game_server_config,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerConfigsService.CreateGameServerConfig.
func (*CreateGameServerConfigRequest) Descriptor
func
(
*
CreateGameServerConfigRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreateGameServerConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateGameServerConfigRequest) GetConfigId
func
(
x
*
CreateGameServerConfigRequest
)
GetConfigId
()
string
func (*CreateGameServerConfigRequest) GetGameServerConfig
func
(
x
*
CreateGameServerConfigRequest
)
GetGameServerConfig
()
*
GameServerConfig
func (*CreateGameServerConfigRequest) GetParent
func
(
x
*
CreateGameServerConfigRequest
)
GetParent
()
string
func (*CreateGameServerConfigRequest) ProtoMessage
func
(
*
CreateGameServerConfigRequest
)
ProtoMessage
()
func (*CreateGameServerConfigRequest) ProtoReflect
func
(
x
*
CreateGameServerConfigRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreateGameServerConfigRequest) Reset
func
(
x
*
CreateGameServerConfigRequest
)
Reset
()
func (*CreateGameServerConfigRequest) String
func
(
x
*
CreateGameServerConfigRequest
)
String
()
string
CreateGameServerDeploymentRequest
type
CreateGameServerDeploymentRequest
struct
{
// Required. The parent resource name. Uses the form:
// `projects/{project}/locations/{location}`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the game server delpoyment resource to be created.
DeploymentId
string
`protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// Required. The game server delpoyment resource to be created.
GameServerDeployment
*
GameServerDeployment
`protobuf:"bytes,3,opt,name=game_server_deployment,json=gameServerDeployment,proto3" json:"game_server_deployment,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.CreateGameServerDeployment.
func (*CreateGameServerDeploymentRequest) Descriptor
func
(
*
CreateGameServerDeploymentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreateGameServerDeploymentRequest.ProtoReflect.Descriptor instead.
func (*CreateGameServerDeploymentRequest) GetDeploymentId
func
(
x
*
CreateGameServerDeploymentRequest
)
GetDeploymentId
()
string
func (*CreateGameServerDeploymentRequest) GetGameServerDeployment
func
(
x
*
CreateGameServerDeploymentRequest
)
GetGameServerDeployment
()
*
GameServerDeployment
func (*CreateGameServerDeploymentRequest) GetParent
func
(
x
*
CreateGameServerDeploymentRequest
)
GetParent
()
string
func (*CreateGameServerDeploymentRequest) ProtoMessage
func
(
*
CreateGameServerDeploymentRequest
)
ProtoMessage
()
func (*CreateGameServerDeploymentRequest) ProtoReflect
func
(
x
*
CreateGameServerDeploymentRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreateGameServerDeploymentRequest) Reset
func
(
x
*
CreateGameServerDeploymentRequest
)
Reset
()
func (*CreateGameServerDeploymentRequest) String
func
(
x
*
CreateGameServerDeploymentRequest
)
String
()
string
CreateRealmRequest
type
CreateRealmRequest
struct
{
// Required. The parent resource name. Uses the form:
// `projects/{project}/locations/{location}`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the realm resource to be created.
RealmId
string
`protobuf:"bytes,2,opt,name=realm_id,json=realmId,proto3" json:"realm_id,omitempty"`
// Required. The realm resource to be created.
Realm
*
Realm
`protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"`
// contains filtered or unexported fields
}
Request message for RealmsService.CreateRealm.
func (*CreateRealmRequest) Descriptor
func
(
*
CreateRealmRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreateRealmRequest.ProtoReflect.Descriptor instead.
func (*CreateRealmRequest) GetParent
func
(
x
*
CreateRealmRequest
)
GetParent
()
string
func (*CreateRealmRequest) GetRealm
func
(
x
*
CreateRealmRequest
)
GetRealm
()
*
Realm
func (*CreateRealmRequest) GetRealmId
func
(
x
*
CreateRealmRequest
)
GetRealmId
()
string
func (*CreateRealmRequest) ProtoMessage
func
(
*
CreateRealmRequest
)
ProtoMessage
()
func (*CreateRealmRequest) ProtoReflect
func
(
x
*
CreateRealmRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreateRealmRequest) Reset
func
(
x
*
CreateRealmRequest
)
Reset
()
func (*CreateRealmRequest) String
func
(
x
*
CreateRealmRequest
)
String
()
string
DeleteGameServerClusterRequest
type
DeleteGameServerClusterRequest
struct
{
// Required. The name of the game server cluster to delete. Uses the form:
// `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.DeleteGameServerCluster.
func (*DeleteGameServerClusterRequest) Descriptor
func
(
*
DeleteGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeleteGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteGameServerClusterRequest) GetName
func
(
x
*
DeleteGameServerClusterRequest
)
GetName
()
string
func (*DeleteGameServerClusterRequest) ProtoMessage
func
(
*
DeleteGameServerClusterRequest
)
ProtoMessage
()
func (*DeleteGameServerClusterRequest) ProtoReflect
func
(
x
*
DeleteGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*DeleteGameServerClusterRequest) Reset
func
(
x
*
DeleteGameServerClusterRequest
)
Reset
()
func (*DeleteGameServerClusterRequest) String
func
(
x
*
DeleteGameServerClusterRequest
)
String
()
string
DeleteGameServerConfigRequest
type
DeleteGameServerConfigRequest
struct
{
// Required. The name of the game server config to delete. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerConfigsService.DeleteGameServerConfig.
func (*DeleteGameServerConfigRequest) Descriptor
func
(
*
DeleteGameServerConfigRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeleteGameServerConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteGameServerConfigRequest) GetName
func
(
x
*
DeleteGameServerConfigRequest
)
GetName
()
string
func (*DeleteGameServerConfigRequest) ProtoMessage
func
(
*
DeleteGameServerConfigRequest
)
ProtoMessage
()
func (*DeleteGameServerConfigRequest) ProtoReflect
func
(
x
*
DeleteGameServerConfigRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*DeleteGameServerConfigRequest) Reset
func
(
x
*
DeleteGameServerConfigRequest
)
Reset
()
func (*DeleteGameServerConfigRequest) String
func
(
x
*
DeleteGameServerConfigRequest
)
String
()
string
DeleteGameServerDeploymentRequest
type
DeleteGameServerDeploymentRequest
struct
{
// Required. The name of the game server delpoyment to delete. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
func (*DeleteGameServerDeploymentRequest) Descriptor
func
(
*
DeleteGameServerDeploymentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeleteGameServerDeploymentRequest.ProtoReflect.Descriptor instead.
func (*DeleteGameServerDeploymentRequest) GetName
func
(
x
*
DeleteGameServerDeploymentRequest
)
GetName
()
string
func (*DeleteGameServerDeploymentRequest) ProtoMessage
func
(
*
DeleteGameServerDeploymentRequest
)
ProtoMessage
()
func (*DeleteGameServerDeploymentRequest) ProtoReflect
func
(
x
*
DeleteGameServerDeploymentRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*DeleteGameServerDeploymentRequest) Reset
func
(
x
*
DeleteGameServerDeploymentRequest
)
Reset
()
func (*DeleteGameServerDeploymentRequest) String
func
(
x
*
DeleteGameServerDeploymentRequest
)
String
()
string
DeleteRealmRequest
type
DeleteRealmRequest
struct
{
// Required. The name of the realm to delete. Uses the form:
// `projects/{project}/locations/{location}/realms/{realm}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for RealmsService.DeleteRealm.
func (*DeleteRealmRequest) Descriptor
func
(
*
DeleteRealmRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeleteRealmRequest.ProtoReflect.Descriptor instead.
func (*DeleteRealmRequest) GetName
func
(
x
*
DeleteRealmRequest
)
GetName
()
string
func (*DeleteRealmRequest) ProtoMessage
func
(
*
DeleteRealmRequest
)
ProtoMessage
()
func (*DeleteRealmRequest) ProtoReflect
func
(
x
*
DeleteRealmRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*DeleteRealmRequest) Reset
func
(
x
*
DeleteRealmRequest
)
Reset
()
func (*DeleteRealmRequest) String
func
(
x
*
DeleteRealmRequest
)
String
()
string
DeployedFleetDetails
type
DeployedFleetDetails
struct
{
// Information about the Agones fleet.
DeployedFleet
*
DeployedFleetDetails_DeployedFleet
`protobuf:"bytes,1,opt,name=deployed_fleet,json=deployedFleet,proto3" json:"deployed_fleet,omitempty"`
// Information about the Agones autoscaler for that fleet.
DeployedAutoscaler
*
DeployedFleetDetails_DeployedFleetAutoscaler
`protobuf:"bytes,2,opt,name=deployed_autoscaler,json=deployedAutoscaler,proto3" json:"deployed_autoscaler,omitempty"`
// contains filtered or unexported fields
}
Details of the deployed Agones fleet.
func (*DeployedFleetDetails) Descriptor
func
(
*
DeployedFleetDetails
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeployedFleetDetails.ProtoReflect.Descriptor instead.
func (*DeployedFleetDetails) GetDeployedAutoscaler
func
(
x
*
DeployedFleetDetails
)
GetDeployedAutoscaler
()
*
DeployedFleetDetails_DeployedFleetAutoscaler
func (*DeployedFleetDetails) GetDeployedFleet
func
(
x
*
DeployedFleetDetails
)
GetDeployedFleet
()
*
DeployedFleetDetails_DeployedFleet
func (*DeployedFleetDetails) ProtoMessage
func
(
*
DeployedFleetDetails
)
ProtoMessage
()
func (*DeployedFleetDetails) ProtoReflect
func
(
x
*
DeployedFleetDetails
)
ProtoReflect
()
protoreflect
.
Message
func (*DeployedFleetDetails) Reset
func
(
x
*
DeployedFleetDetails
)
Reset
()
func (*DeployedFleetDetails) String
func
(
x
*
DeployedFleetDetails
)
String
()
string
DeployedFleetDetails_DeployedFleet
type
DeployedFleetDetails_DeployedFleet
struct
{
// The name of the Agones fleet.
Fleet
string
`protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"`
// The fleet spec retrieved from the Agones fleet.
FleetSpec
string
`protobuf:"bytes,2,opt,name=fleet_spec,json=fleetSpec,proto3" json:"fleet_spec,omitempty"`
// The source spec that is used to create the Agones fleet.
// The GameServerConfig resource may no longer exist in the system.
SpecSource
*
SpecSource
`protobuf:"bytes,3,opt,name=spec_source,json=specSource,proto3" json:"spec_source,omitempty"`
// The current status of the Agones fleet.
// Includes count of game servers in various states.
Status
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
`protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Agones fleet specification and details.
func (*DeployedFleetDetails_DeployedFleet) Descriptor
func
(
*
DeployedFleetDetails_DeployedFleet
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeployedFleetDetails_DeployedFleet.ProtoReflect.Descriptor instead.
func (*DeployedFleetDetails_DeployedFleet) GetFleet
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
GetFleet
()
string
func (*DeployedFleetDetails_DeployedFleet) GetFleetSpec
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
GetFleetSpec
()
string
func (*DeployedFleetDetails_DeployedFleet) GetSpecSource
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
GetSpecSource
()
*
SpecSource
func (*DeployedFleetDetails_DeployedFleet) GetStatus
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
GetStatus
()
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
func (*DeployedFleetDetails_DeployedFleet) ProtoMessage
func
(
*
DeployedFleetDetails_DeployedFleet
)
ProtoMessage
()
func (*DeployedFleetDetails_DeployedFleet) ProtoReflect
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
ProtoReflect
()
protoreflect
.
Message
func (*DeployedFleetDetails_DeployedFleet) Reset
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
Reset
()
func (*DeployedFleetDetails_DeployedFleet) String
func
(
x
*
DeployedFleetDetails_DeployedFleet
)
String
()
string
DeployedFleetDetails_DeployedFleetAutoscaler
type
DeployedFleetDetails_DeployedFleetAutoscaler
struct
{
// The name of the Agones autoscaler.
Autoscaler
string
`protobuf:"bytes,1,opt,name=autoscaler,proto3" json:"autoscaler,omitempty"`
// The source spec that is used to create the autoscaler.
// The GameServerConfig resource may no longer exist in the system.
SpecSource
*
SpecSource
`protobuf:"bytes,4,opt,name=spec_source,json=specSource,proto3" json:"spec_source,omitempty"`
// The autoscaler spec retrieved from Agones.
FleetAutoscalerSpec
string
`protobuf:"bytes,3,opt,name=fleet_autoscaler_spec,json=fleetAutoscalerSpec,proto3" json:"fleet_autoscaler_spec,omitempty"`
// contains filtered or unexported fields
}
Details about the Agones autoscaler.
func (*DeployedFleetDetails_DeployedFleetAutoscaler) Descriptor
func
(
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeployedFleetDetails_DeployedFleetAutoscaler.ProtoReflect.Descriptor instead.
func (*DeployedFleetDetails_DeployedFleetAutoscaler) GetAutoscaler
func
(
x
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
GetAutoscaler
()
string
func (*DeployedFleetDetails_DeployedFleetAutoscaler) GetFleetAutoscalerSpec
func
(
x
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
GetFleetAutoscalerSpec
()
string
func (*DeployedFleetDetails_DeployedFleetAutoscaler) GetSpecSource
func
(
x
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
GetSpecSource
()
*
SpecSource
func (*DeployedFleetDetails_DeployedFleetAutoscaler) ProtoMessage
func
(
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
ProtoMessage
()
func (*DeployedFleetDetails_DeployedFleetAutoscaler) ProtoReflect
func
(
x
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
ProtoReflect
()
protoreflect
.
Message
func (*DeployedFleetDetails_DeployedFleetAutoscaler) Reset
func
(
x
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
Reset
()
func (*DeployedFleetDetails_DeployedFleetAutoscaler) String
func
(
x
*
DeployedFleetDetails_DeployedFleetAutoscaler
)
String
()
string
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
type
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
struct
{
// The number of GameServer replicas in the READY state in this fleet.
ReadyReplicas
int64
`protobuf:"varint,1,opt,name=ready_replicas,json=readyReplicas,proto3" json:"ready_replicas,omitempty"`
// The number of GameServer replicas in the ALLOCATED state in this fleet.
AllocatedReplicas
int64
`protobuf:"varint,2,opt,name=allocated_replicas,json=allocatedReplicas,proto3" json:"allocated_replicas,omitempty"`
// The number of GameServer replicas in the RESERVED state in this fleet.
// Reserved instances won't be deleted on scale down, but won't cause
// an autoscaler to scale up.
ReservedReplicas
int64
`protobuf:"varint,3,opt,name=reserved_replicas,json=reservedReplicas,proto3" json:"reserved_replicas,omitempty"`
// The total number of current GameServer replicas in this fleet.
Replicas
int64
`protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"`
// contains filtered or unexported fields
}
DeployedFleetStatus has details about the Agones fleets such as how many are running, how many allocated, and so on.
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) Descriptor
func
(
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeployedFleetDetails_DeployedFleet_DeployedFleetStatus.ProtoReflect.Descriptor instead.
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) GetAllocatedReplicas
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
GetAllocatedReplicas
()
int64
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) GetReadyReplicas
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
GetReadyReplicas
()
int64
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) GetReplicas
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
GetReplicas
()
int64
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) GetReservedReplicas
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
GetReservedReplicas
()
int64
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) ProtoMessage
func
(
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
ProtoMessage
()
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) ProtoReflect
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
ProtoReflect
()
protoreflect
.
Message
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) Reset
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
Reset
()
func (*DeployedFleetDetails_DeployedFleet_DeployedFleetStatus) String
func
(
x
*
DeployedFleetDetails_DeployedFleet_DeployedFleetStatus
)
String
()
string
FetchDeploymentStateRequest
type
FetchDeploymentStateRequest
struct
{
// Required. The name of the game server delpoyment. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.FetchDeploymentState.
func (*FetchDeploymentStateRequest) Descriptor
func
(
*
FetchDeploymentStateRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use FetchDeploymentStateRequest.ProtoReflect.Descriptor instead.
func (*FetchDeploymentStateRequest) GetName
func
(
x
*
FetchDeploymentStateRequest
)
GetName
()
string
func (*FetchDeploymentStateRequest) ProtoMessage
func
(
*
FetchDeploymentStateRequest
)
ProtoMessage
()
func (*FetchDeploymentStateRequest) ProtoReflect
func
(
x
*
FetchDeploymentStateRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*FetchDeploymentStateRequest) Reset
func
(
x
*
FetchDeploymentStateRequest
)
Reset
()
func (*FetchDeploymentStateRequest) String
func
(
x
*
FetchDeploymentStateRequest
)
String
()
string
FetchDeploymentStateResponse
type
FetchDeploymentStateResponse
struct
{
// The state of the game server deployment in each game server cluster.
ClusterState
[]
*
FetchDeploymentStateResponse_DeployedClusterState
`protobuf:"bytes,1,rep,name=cluster_state,json=clusterState,proto3" json:"cluster_state,omitempty"`
// List of locations that could not be reached.
Unavailable
[]
string
`protobuf:"bytes,2,rep,name=unavailable,proto3" json:"unavailable,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerDeploymentsService.FetchDeploymentState.
func (*FetchDeploymentStateResponse) Descriptor
func
(
*
FetchDeploymentStateResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use FetchDeploymentStateResponse.ProtoReflect.Descriptor instead.
func (*FetchDeploymentStateResponse) GetClusterState
func
(
x
*
FetchDeploymentStateResponse
)
GetClusterState
()
[]
*
FetchDeploymentStateResponse_DeployedClusterState
func (*FetchDeploymentStateResponse) GetUnavailable
func
(
x
*
FetchDeploymentStateResponse
)
GetUnavailable
()
[]
string
func (*FetchDeploymentStateResponse) ProtoMessage
func
(
*
FetchDeploymentStateResponse
)
ProtoMessage
()
func (*FetchDeploymentStateResponse) ProtoReflect
func
(
x
*
FetchDeploymentStateResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*FetchDeploymentStateResponse) Reset
func
(
x
*
FetchDeploymentStateResponse
)
Reset
()
func (*FetchDeploymentStateResponse) String
func
(
x
*
FetchDeploymentStateResponse
)
String
()
string
FetchDeploymentStateResponse_DeployedClusterState
type
FetchDeploymentStateResponse_DeployedClusterState
struct
{
// The name of the cluster.
Cluster
string
`protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// The details about the Agones fleets and autoscalers created in the
// game server cluster.
FleetDetails
[]
*
DeployedFleetDetails
`protobuf:"bytes,2,rep,name=fleet_details,json=fleetDetails,proto3" json:"fleet_details,omitempty"`
// contains filtered or unexported fields
}
The game server cluster changes made by the game server deployment.
func (*FetchDeploymentStateResponse_DeployedClusterState) Descriptor
func
(
*
FetchDeploymentStateResponse_DeployedClusterState
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use FetchDeploymentStateResponse_DeployedClusterState.ProtoReflect.Descriptor instead.
func (*FetchDeploymentStateResponse_DeployedClusterState) GetCluster
func
(
x
*
FetchDeploymentStateResponse_DeployedClusterState
)
GetCluster
()
string
func (*FetchDeploymentStateResponse_DeployedClusterState) GetFleetDetails
func
(
x
*
FetchDeploymentStateResponse_DeployedClusterState
)
GetFleetDetails
()
[]
*
DeployedFleetDetails
func (*FetchDeploymentStateResponse_DeployedClusterState) ProtoMessage
func
(
*
FetchDeploymentStateResponse_DeployedClusterState
)
ProtoMessage
()
func (*FetchDeploymentStateResponse_DeployedClusterState) ProtoReflect
func
(
x
*
FetchDeploymentStateResponse_DeployedClusterState
)
ProtoReflect
()
protoreflect
.
Message
func (*FetchDeploymentStateResponse_DeployedClusterState) Reset
func
(
x
*
FetchDeploymentStateResponse_DeployedClusterState
)
Reset
()
func (*FetchDeploymentStateResponse_DeployedClusterState) String
func
(
x
*
FetchDeploymentStateResponse_DeployedClusterState
)
String
()
string
FleetConfig
type
FleetConfig
struct
{
// Agones fleet spec. Example spec:
// `https://agones.dev/site/docs/reference/fleet/`.
FleetSpec
string
`protobuf:"bytes,1,opt,name=fleet_spec,json=fleetSpec,proto3" json:"fleet_spec,omitempty"`
// The name of the FleetConfig.
Name
string
`protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Fleet configs for Agones.
func (*FleetConfig) Descriptor
func
(
*
FleetConfig
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use FleetConfig.ProtoReflect.Descriptor instead.
func (*FleetConfig) GetFleetSpec
func
(
x
*
FleetConfig
)
GetFleetSpec
()
string
func (*FleetConfig) GetName
func
(
x
*
FleetConfig
)
GetName
()
string
func (*FleetConfig) ProtoMessage
func
(
*
FleetConfig
)
ProtoMessage
()
func (*FleetConfig) ProtoReflect
func
(
x
*
FleetConfig
)
ProtoReflect
()
protoreflect
.
Message
func (*FleetConfig) Reset
func
(
x
*
FleetConfig
)
Reset
()
func (*FleetConfig) String
func
(
x
*
FleetConfig
)
String
()
string
GameServerCluster
type
GameServerCluster
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels
map
[
string
]
string
""
/* 153 byte string literal not displayed */
ConnectionInfo
*
GameServerClusterConnectionInfo
`protobuf:"bytes,5,opt,name=connection_info,json=connectionInfo,proto3" json:"connection_info,omitempty"`
Etag
string
`protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
Description
string
`protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
}
A game server cluster resource.
func (*GameServerCluster) Descriptor
func
(
*
GameServerCluster
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GameServerCluster.ProtoReflect.Descriptor instead.
func (*GameServerCluster) GetConnectionInfo
func
(
x
*
GameServerCluster
)
GetConnectionInfo
()
*
GameServerClusterConnectionInfo
func (*GameServerCluster) GetCreateTime
func
(
x
*
GameServerCluster
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*GameServerCluster) GetDescription
func
(
x
*
GameServerCluster
)
GetDescription
()
string
func (*GameServerCluster) GetEtag
func
(
x
*
GameServerCluster
)
GetEtag
()
string
func (*GameServerCluster) GetLabels
func
(
x
*
GameServerCluster
)
GetLabels
()
map
[
string
]
string
func (*GameServerCluster) GetName
func
(
x
*
GameServerCluster
)
GetName
()
string
func (*GameServerCluster) GetUpdateTime
func
(
x
*
GameServerCluster
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*GameServerCluster) ProtoMessage
func
(
*
GameServerCluster
)
ProtoMessage
()
func (*GameServerCluster) ProtoReflect
func
(
x
*
GameServerCluster
)
ProtoReflect
()
protoreflect
.
Message
func (*GameServerCluster) Reset
func
(
x
*
GameServerCluster
)
Reset
()
func (*GameServerCluster) String
func
(
x
*
GameServerCluster
)
String
()
string
GameServerClusterConnectionInfo
type
GameServerClusterConnectionInfo
struct
{
// The location of the Kubernetes cluster.
//
// Types that are assignable to ClusterReference:
// *GameServerClusterConnectionInfo_GkeClusterReference
ClusterReference
isGameServerClusterConnectionInfo_ClusterReference
`protobuf_oneof:"cluster_reference"`
// Namespace designated on the game server cluster where the Agones game
// server instances will be created. Existence of the namespace will be
// validated during creation.
Namespace
string
`protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
The game server cluster connection information.
func (*GameServerClusterConnectionInfo) Descriptor
func
(
*
GameServerClusterConnectionInfo
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GameServerClusterConnectionInfo.ProtoReflect.Descriptor instead.
func (*GameServerClusterConnectionInfo) GetClusterReference
func
(
m
*
GameServerClusterConnectionInfo
)
GetClusterReference
()
isGameServerClusterConnectionInfo_ClusterReference
func (*GameServerClusterConnectionInfo) GetGkeClusterReference
func
(
x
*
GameServerClusterConnectionInfo
)
GetGkeClusterReference
()
*
GkeClusterReference
func (*GameServerClusterConnectionInfo) GetNamespace
func
(
x
*
GameServerClusterConnectionInfo
)
GetNamespace
()
string
func (*GameServerClusterConnectionInfo) ProtoMessage
func
(
*
GameServerClusterConnectionInfo
)
ProtoMessage
()
func (*GameServerClusterConnectionInfo) ProtoReflect
func
(
x
*
GameServerClusterConnectionInfo
)
ProtoReflect
()
protoreflect
.
Message
func (*GameServerClusterConnectionInfo) Reset
func
(
x
*
GameServerClusterConnectionInfo
)
Reset
()
func (*GameServerClusterConnectionInfo) String
func
(
x
*
GameServerClusterConnectionInfo
)
String
()
string
GameServerClusterConnectionInfo_GkeClusterReference
type
GameServerClusterConnectionInfo_GkeClusterReference
struct
{
// Reference to the GKE cluster where the game servers are installed.
GkeClusterReference
*
GkeClusterReference
`protobuf:"bytes,7,opt,name=gke_cluster_reference,json=gkeClusterReference,proto3,oneof"`
}
GameServerClustersServiceClient
type
GameServerClustersServiceClient
interface
{
// Lists game server clusters in a given project and location.
ListGameServerClusters
(
ctx
context
.
Context
,
in
*
ListGameServerClustersRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListGameServerClustersResponse
,
error
)
// Gets details of a single game server cluster.
GetGameServerCluster
(
ctx
context
.
Context
,
in
*
GetGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
GameServerCluster
,
error
)
// Creates a new game server cluster in a given project and location.
CreateGameServerCluster
(
ctx
context
.
Context
,
in
*
CreateGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews creation of a new game server cluster in a given project and
// location.
PreviewCreateGameServerCluster
(
ctx
context
.
Context
,
in
*
PreviewCreateGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
PreviewCreateGameServerClusterResponse
,
error
)
// Deletes a single game server cluster.
DeleteGameServerCluster
(
ctx
context
.
Context
,
in
*
DeleteGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews deletion of a single game server cluster.
PreviewDeleteGameServerCluster
(
ctx
context
.
Context
,
in
*
PreviewDeleteGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
PreviewDeleteGameServerClusterResponse
,
error
)
// Patches a single game server cluster.
UpdateGameServerCluster
(
ctx
context
.
Context
,
in
*
UpdateGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews updating a GameServerCluster.
PreviewUpdateGameServerCluster
(
ctx
context
.
Context
,
in
*
PreviewUpdateGameServerClusterRequest
,
opts
...
grpc
.
CallOption
)
(
*
PreviewUpdateGameServerClusterResponse
,
error
)
}
GameServerClustersServiceClient is the client API for GameServerClustersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewGameServerClustersServiceClient
func
NewGameServerClustersServiceClient
(
cc
grpc
.
ClientConnInterface
)
GameServerClustersServiceClient
GameServerClustersServiceServer
type
GameServerClustersServiceServer
interface
{
// Lists game server clusters in a given project and location.
ListGameServerClusters
(
context
.
Context
,
*
ListGameServerClustersRequest
)
(
*
ListGameServerClustersResponse
,
error
)
// Gets details of a single game server cluster.
GetGameServerCluster
(
context
.
Context
,
*
GetGameServerClusterRequest
)
(
*
GameServerCluster
,
error
)
// Creates a new game server cluster in a given project and location.
CreateGameServerCluster
(
context
.
Context
,
*
CreateGameServerClusterRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews creation of a new game server cluster in a given project and
// location.
PreviewCreateGameServerCluster
(
context
.
Context
,
*
PreviewCreateGameServerClusterRequest
)
(
*
PreviewCreateGameServerClusterResponse
,
error
)
// Deletes a single game server cluster.
DeleteGameServerCluster
(
context
.
Context
,
*
DeleteGameServerClusterRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews deletion of a single game server cluster.
PreviewDeleteGameServerCluster
(
context
.
Context
,
*
PreviewDeleteGameServerClusterRequest
)
(
*
PreviewDeleteGameServerClusterResponse
,
error
)
// Patches a single game server cluster.
UpdateGameServerCluster
(
context
.
Context
,
*
UpdateGameServerClusterRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews updating a GameServerCluster.
PreviewUpdateGameServerCluster
(
context
.
Context
,
*
PreviewUpdateGameServerClusterRequest
)
(
*
PreviewUpdateGameServerClusterResponse
,
error
)
}
GameServerClustersServiceServer is the server API for GameServerClustersService service.
GameServerConfig
type
GameServerConfig
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels
map
[
string
]
string
""
/* 153 byte string literal not displayed */
FleetConfigs
[]
*
FleetConfig
`protobuf:"bytes,5,rep,name=fleet_configs,json=fleetConfigs,proto3" json:"fleet_configs,omitempty"`
ScalingConfigs
[]
*
ScalingConfig
`protobuf:"bytes,6,rep,name=scaling_configs,json=scalingConfigs,proto3" json:"scaling_configs,omitempty"`
Description
string
`protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
}
A game server config resource.
func (*GameServerConfig) Descriptor
func
(
*
GameServerConfig
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GameServerConfig.ProtoReflect.Descriptor instead.
func (*GameServerConfig) GetCreateTime
func
(
x
*
GameServerConfig
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*GameServerConfig) GetDescription
func
(
x
*
GameServerConfig
)
GetDescription
()
string
func (*GameServerConfig) GetFleetConfigs
func
(
x
*
GameServerConfig
)
GetFleetConfigs
()
[]
*
FleetConfig
func (*GameServerConfig) GetLabels
func
(
x
*
GameServerConfig
)
GetLabels
()
map
[
string
]
string
func (*GameServerConfig) GetName
func
(
x
*
GameServerConfig
)
GetName
()
string
func (*GameServerConfig) GetScalingConfigs
func
(
x
*
GameServerConfig
)
GetScalingConfigs
()
[]
*
ScalingConfig
func (*GameServerConfig) GetUpdateTime
func
(
x
*
GameServerConfig
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*GameServerConfig) ProtoMessage
func
(
*
GameServerConfig
)
ProtoMessage
()
func (*GameServerConfig) ProtoReflect
func
(
x
*
GameServerConfig
)
ProtoReflect
()
protoreflect
.
Message
func (*GameServerConfig) Reset
func
(
x
*
GameServerConfig
)
Reset
()
func (*GameServerConfig) String
func
(
x
*
GameServerConfig
)
String
()
string
GameServerConfigOverride
type
GameServerConfigOverride
struct
{
// Selector chooses the game server config targets.
//
// Types that are assignable to Selector:
// *GameServerConfigOverride_RealmsSelector
Selector
isGameServerConfigOverride_Selector
`protobuf_oneof:"selector"`
// Selects the game server config and how it should be applied.
//
// Types that are assignable to Change:
// *GameServerConfigOverride_ConfigVersion
Change
isGameServerConfigOverride_Change
`protobuf_oneof:"change"`
// contains filtered or unexported fields
}
A game server config override.
func (*GameServerConfigOverride) Descriptor
func
(
*
GameServerConfigOverride
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GameServerConfigOverride.ProtoReflect.Descriptor instead.
func (*GameServerConfigOverride) GetChange
func
(
m
*
GameServerConfigOverride
)
GetChange
()
isGameServerConfigOverride_Change
func (*GameServerConfigOverride) GetConfigVersion
func
(
x
*
GameServerConfigOverride
)
GetConfigVersion
()
string
func (*GameServerConfigOverride) GetRealmsSelector
func
(
x
*
GameServerConfigOverride
)
GetRealmsSelector
()
*
RealmSelector
func (*GameServerConfigOverride) GetSelector
func
(
m
*
GameServerConfigOverride
)
GetSelector
()
isGameServerConfigOverride_Selector
func (*GameServerConfigOverride) ProtoMessage
func
(
*
GameServerConfigOverride
)
ProtoMessage
()
func (*GameServerConfigOverride) ProtoReflect
func
(
x
*
GameServerConfigOverride
)
ProtoReflect
()
protoreflect
.
Message
func (*GameServerConfigOverride) Reset
func
(
x
*
GameServerConfigOverride
)
Reset
()
func (*GameServerConfigOverride) String
func
(
x
*
GameServerConfigOverride
)
String
()
string
GameServerConfigOverride_ConfigVersion
type
GameServerConfigOverride_ConfigVersion
struct
{
// The game server config for this override.
ConfigVersion
string
`protobuf:"bytes,100,opt,name=config_version,json=configVersion,proto3,oneof"`
}
GameServerConfigOverride_RealmsSelector
type
GameServerConfigOverride_RealmsSelector
struct
{
// Selector for choosing applicable realms.
RealmsSelector
*
RealmSelector
`protobuf:"bytes,1,opt,name=realms_selector,json=realmsSelector,proto3,oneof"`
}
GameServerConfigsServiceClient
type
GameServerConfigsServiceClient
interface
{
// Lists game server configs in a given project, location, and game server
// deployment.
ListGameServerConfigs
(
ctx
context
.
Context
,
in
*
ListGameServerConfigsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListGameServerConfigsResponse
,
error
)
// Gets details of a single game server config.
GetGameServerConfig
(
ctx
context
.
Context
,
in
*
GetGameServerConfigRequest
,
opts
...
grpc
.
CallOption
)
(
*
GameServerConfig
,
error
)
// Creates a new game server config in a given project, location, and game
// server deployment. Game server configs are immutable, and are not applied
// until referenced in the game server deployment rollout resource.
CreateGameServerConfig
(
ctx
context
.
Context
,
in
*
CreateGameServerConfigRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a single game server config. The deletion will fail if the game
// server config is referenced in a game server deployment rollout.
DeleteGameServerConfig
(
ctx
context
.
Context
,
in
*
DeleteGameServerConfigRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
}
GameServerConfigsServiceClient is the client API for GameServerConfigsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewGameServerConfigsServiceClient
func
NewGameServerConfigsServiceClient
(
cc
grpc
.
ClientConnInterface
)
GameServerConfigsServiceClient
GameServerConfigsServiceServer
type
GameServerConfigsServiceServer
interface
{
// Lists game server configs in a given project, location, and game server
// deployment.
ListGameServerConfigs
(
context
.
Context
,
*
ListGameServerConfigsRequest
)
(
*
ListGameServerConfigsResponse
,
error
)
// Gets details of a single game server config.
GetGameServerConfig
(
context
.
Context
,
*
GetGameServerConfigRequest
)
(
*
GameServerConfig
,
error
)
// Creates a new game server config in a given project, location, and game
// server deployment. Game server configs are immutable, and are not applied
// until referenced in the game server deployment rollout resource.
CreateGameServerConfig
(
context
.
Context
,
*
CreateGameServerConfigRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a single game server config. The deletion will fail if the game
// server config is referenced in a game server deployment rollout.
DeleteGameServerConfig
(
context
.
Context
,
*
DeleteGameServerConfigRequest
)
(
*
longrunningpb
.
Operation
,
error
)
}
GameServerConfigsServiceServer is the server API for GameServerConfigsService service.
GameServerDeployment
type
GameServerDeployment
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels
map
[
string
]
string
""
/* 153 byte string literal not displayed */
Etag
string
`protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"`
Description
string
`protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
}
A game server deployment resource.
func (*GameServerDeployment) Descriptor
func
(
*
GameServerDeployment
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GameServerDeployment.ProtoReflect.Descriptor instead.
func (*GameServerDeployment) GetCreateTime
func
(
x
*
GameServerDeployment
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*GameServerDeployment) GetDescription
func
(
x
*
GameServerDeployment
)
GetDescription
()
string
func (*GameServerDeployment) GetEtag
func
(
x
*
GameServerDeployment
)
GetEtag
()
string
func (*GameServerDeployment) GetLabels
func
(
x
*
GameServerDeployment
)
GetLabels
()
map
[
string
]
string
func (*GameServerDeployment) GetName
func
(
x
*
GameServerDeployment
)
GetName
()
string
func (*GameServerDeployment) GetUpdateTime
func
(
x
*
GameServerDeployment
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*GameServerDeployment) ProtoMessage
func
(
*
GameServerDeployment
)
ProtoMessage
()
func (*GameServerDeployment) ProtoReflect
func
(
x
*
GameServerDeployment
)
ProtoReflect
()
protoreflect
.
Message
func (*GameServerDeployment) Reset
func
(
x
*
GameServerDeployment
)
Reset
()
func (*GameServerDeployment) String
func
(
x
*
GameServerDeployment
)
String
()
string
GameServerDeploymentRollout
type
GameServerDeploymentRollout
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
DefaultGameServerConfig
string
""
/* 134 byte string literal not displayed */
GameServerConfigOverrides
[]
*
GameServerConfigOverride
""
/* 140 byte string literal not displayed */
Etag
string
`protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
}
The game server deployment rollout which represents the desired rollout state.
func (*GameServerDeploymentRollout) Descriptor
func
(
*
GameServerDeploymentRollout
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GameServerDeploymentRollout.ProtoReflect.Descriptor instead.
func (*GameServerDeploymentRollout) GetCreateTime
func
(
x
*
GameServerDeploymentRollout
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*GameServerDeploymentRollout) GetDefaultGameServerConfig
func
(
x
*
GameServerDeploymentRollout
)
GetDefaultGameServerConfig
()
string
func (*GameServerDeploymentRollout) GetEtag
func
(
x
*
GameServerDeploymentRollout
)
GetEtag
()
string
func (*GameServerDeploymentRollout) GetGameServerConfigOverrides
func
(
x
*
GameServerDeploymentRollout
)
GetGameServerConfigOverrides
()
[]
*
GameServerConfigOverride
func (*GameServerDeploymentRollout) GetName
func
(
x
*
GameServerDeploymentRollout
)
GetName
()
string
func (*GameServerDeploymentRollout) GetUpdateTime
func
(
x
*
GameServerDeploymentRollout
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*GameServerDeploymentRollout) ProtoMessage
func
(
*
GameServerDeploymentRollout
)
ProtoMessage
()
func (*GameServerDeploymentRollout) ProtoReflect
func
(
x
*
GameServerDeploymentRollout
)
ProtoReflect
()
protoreflect
.
Message
func (*GameServerDeploymentRollout) Reset
func
(
x
*
GameServerDeploymentRollout
)
Reset
()
func (*GameServerDeploymentRollout) String
func
(
x
*
GameServerDeploymentRollout
)
String
()
string
GameServerDeploymentsServiceClient
type
GameServerDeploymentsServiceClient
interface
{
// Lists game server deployments in a given project and location.
ListGameServerDeployments
(
ctx
context
.
Context
,
in
*
ListGameServerDeploymentsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListGameServerDeploymentsResponse
,
error
)
// Gets details of a single game server deployment.
GetGameServerDeployment
(
ctx
context
.
Context
,
in
*
GetGameServerDeploymentRequest
,
opts
...
grpc
.
CallOption
)
(
*
GameServerDeployment
,
error
)
// Creates a new game server deployment in a given project and location.
CreateGameServerDeployment
(
ctx
context
.
Context
,
in
*
CreateGameServerDeploymentRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a single game server deployment.
DeleteGameServerDeployment
(
ctx
context
.
Context
,
in
*
DeleteGameServerDeploymentRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Patches a game server deployment.
UpdateGameServerDeployment
(
ctx
context
.
Context
,
in
*
UpdateGameServerDeploymentRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Gets details a single game server deployment rollout.
GetGameServerDeploymentRollout
(
ctx
context
.
Context
,
in
*
GetGameServerDeploymentRolloutRequest
,
opts
...
grpc
.
CallOption
)
(
*
GameServerDeploymentRollout
,
error
)
// Patches a single game server deployment rollout.
// The method will not return an error if the update does not affect any
// existing realms. For example - if the default_game_server_config is changed
// but all existing realms use the override, that is valid. Similarly, if a
// non existing realm is explicitly called out in game_server_config_overrides
// field, that will also not result in an error.
UpdateGameServerDeploymentRollout
(
ctx
context
.
Context
,
in
*
UpdateGameServerDeploymentRolloutRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews the game server deployment rollout. This API does not mutate the
// rollout resource.
PreviewGameServerDeploymentRollout
(
ctx
context
.
Context
,
in
*
PreviewGameServerDeploymentRolloutRequest
,
opts
...
grpc
.
CallOption
)
(
*
PreviewGameServerDeploymentRolloutResponse
,
error
)
// Retrieves information about the current state of the game server
// deployment. Gathers all the Agones fleets and Agones autoscalers,
// including fleets running an older version of the game server deployment.
FetchDeploymentState
(
ctx
context
.
Context
,
in
*
FetchDeploymentStateRequest
,
opts
...
grpc
.
CallOption
)
(
*
FetchDeploymentStateResponse
,
error
)
}
GameServerDeploymentsServiceClient is the client API for GameServerDeploymentsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewGameServerDeploymentsServiceClient
func
NewGameServerDeploymentsServiceClient
(
cc
grpc
.
ClientConnInterface
)
GameServerDeploymentsServiceClient
GameServerDeploymentsServiceServer
type
GameServerDeploymentsServiceServer
interface
{
// Lists game server deployments in a given project and location.
ListGameServerDeployments
(
context
.
Context
,
*
ListGameServerDeploymentsRequest
)
(
*
ListGameServerDeploymentsResponse
,
error
)
// Gets details of a single game server deployment.
GetGameServerDeployment
(
context
.
Context
,
*
GetGameServerDeploymentRequest
)
(
*
GameServerDeployment
,
error
)
// Creates a new game server deployment in a given project and location.
CreateGameServerDeployment
(
context
.
Context
,
*
CreateGameServerDeploymentRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a single game server deployment.
DeleteGameServerDeployment
(
context
.
Context
,
*
DeleteGameServerDeploymentRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Patches a game server deployment.
UpdateGameServerDeployment
(
context
.
Context
,
*
UpdateGameServerDeploymentRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Gets details a single game server deployment rollout.
GetGameServerDeploymentRollout
(
context
.
Context
,
*
GetGameServerDeploymentRolloutRequest
)
(
*
GameServerDeploymentRollout
,
error
)
// Patches a single game server deployment rollout.
// The method will not return an error if the update does not affect any
// existing realms. For example - if the default_game_server_config is changed
// but all existing realms use the override, that is valid. Similarly, if a
// non existing realm is explicitly called out in game_server_config_overrides
// field, that will also not result in an error.
UpdateGameServerDeploymentRollout
(
context
.
Context
,
*
UpdateGameServerDeploymentRolloutRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews the game server deployment rollout. This API does not mutate the
// rollout resource.
PreviewGameServerDeploymentRollout
(
context
.
Context
,
*
PreviewGameServerDeploymentRolloutRequest
)
(
*
PreviewGameServerDeploymentRolloutResponse
,
error
)
// Retrieves information about the current state of the game server
// deployment. Gathers all the Agones fleets and Agones autoscalers,
// including fleets running an older version of the game server deployment.
FetchDeploymentState
(
context
.
Context
,
*
FetchDeploymentStateRequest
)
(
*
FetchDeploymentStateResponse
,
error
)
}
GameServerDeploymentsServiceServer is the server API for GameServerDeploymentsService service.
GetGameServerClusterRequest
type
GetGameServerClusterRequest
struct
{
// Required. The name of the game server cluster to retrieve. Uses the form:
//
// `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.GetGameServerCluster.
func (*GetGameServerClusterRequest) Descriptor
func
(
*
GetGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*GetGameServerClusterRequest) GetName
func
(
x
*
GetGameServerClusterRequest
)
GetName
()
string
func (*GetGameServerClusterRequest) ProtoMessage
func
(
*
GetGameServerClusterRequest
)
ProtoMessage
()
func (*GetGameServerClusterRequest) ProtoReflect
func
(
x
*
GetGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetGameServerClusterRequest) Reset
func
(
x
*
GetGameServerClusterRequest
)
Reset
()
func (*GetGameServerClusterRequest) String
func
(
x
*
GetGameServerClusterRequest
)
String
()
string
GetGameServerConfigRequest
type
GetGameServerConfigRequest
struct
{
// Required. The name of the game server config to retrieve. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerConfigsService.GetGameServerConfig.
func (*GetGameServerConfigRequest) Descriptor
func
(
*
GetGameServerConfigRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetGameServerConfigRequest.ProtoReflect.Descriptor instead.
func (*GetGameServerConfigRequest) GetName
func
(
x
*
GetGameServerConfigRequest
)
GetName
()
string
func (*GetGameServerConfigRequest) ProtoMessage
func
(
*
GetGameServerConfigRequest
)
ProtoMessage
()
func (*GetGameServerConfigRequest) ProtoReflect
func
(
x
*
GetGameServerConfigRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetGameServerConfigRequest) Reset
func
(
x
*
GetGameServerConfigRequest
)
Reset
()
func (*GetGameServerConfigRequest) String
func
(
x
*
GetGameServerConfigRequest
)
String
()
string
GetGameServerDeploymentRequest
type
GetGameServerDeploymentRequest
struct
{
// Required. The name of the game server delpoyment to retrieve. Uses the
// form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.GetGameServerDeployment.
func (*GetGameServerDeploymentRequest) Descriptor
func
(
*
GetGameServerDeploymentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetGameServerDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetGameServerDeploymentRequest) GetName
func
(
x
*
GetGameServerDeploymentRequest
)
GetName
()
string
func (*GetGameServerDeploymentRequest) ProtoMessage
func
(
*
GetGameServerDeploymentRequest
)
ProtoMessage
()
func (*GetGameServerDeploymentRequest) ProtoReflect
func
(
x
*
GetGameServerDeploymentRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetGameServerDeploymentRequest) Reset
func
(
x
*
GetGameServerDeploymentRequest
)
Reset
()
func (*GetGameServerDeploymentRequest) String
func
(
x
*
GetGameServerDeploymentRequest
)
String
()
string
GetGameServerDeploymentRolloutRequest
type
GetGameServerDeploymentRolloutRequest
struct
{
// Required. The name of the game server delpoyment to retrieve. Uses the
// form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.GetGameServerDeploymentRollout.
func (*GetGameServerDeploymentRolloutRequest) Descriptor
func
(
*
GetGameServerDeploymentRolloutRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetGameServerDeploymentRolloutRequest.ProtoReflect.Descriptor instead.
func (*GetGameServerDeploymentRolloutRequest) GetName
func
(
x
*
GetGameServerDeploymentRolloutRequest
)
GetName
()
string
func (*GetGameServerDeploymentRolloutRequest) ProtoMessage
func
(
*
GetGameServerDeploymentRolloutRequest
)
ProtoMessage
()
func (*GetGameServerDeploymentRolloutRequest) ProtoReflect
func
(
x
*
GetGameServerDeploymentRolloutRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetGameServerDeploymentRolloutRequest) Reset
func
(
x
*
GetGameServerDeploymentRolloutRequest
)
Reset
()
func (*GetGameServerDeploymentRolloutRequest) String
func
(
x
*
GetGameServerDeploymentRolloutRequest
)
String
()
string
GetRealmRequest
type
GetRealmRequest
struct
{
// Required. The name of the realm to retrieve. Uses the form:
// `projects/{project}/locations/{location}/realms/{realm}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for RealmsService.GetRealm.
func (*GetRealmRequest) Descriptor
func
(
*
GetRealmRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetRealmRequest.ProtoReflect.Descriptor instead.
func (*GetRealmRequest) GetName
func
(
x
*
GetRealmRequest
)
GetName
()
string
func (*GetRealmRequest) ProtoMessage
func
(
*
GetRealmRequest
)
ProtoMessage
()
func (*GetRealmRequest) ProtoReflect
func
(
x
*
GetRealmRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetRealmRequest) Reset
func
(
x
*
GetRealmRequest
)
Reset
()
func (*GetRealmRequest) String
func
(
x
*
GetRealmRequest
)
String
()
string
GkeClusterReference
type
GkeClusterReference
struct
{
// The full or partial name of a GKE cluster, using one of the following
// forms:
// * `projects/{project}/locations/{location}/clusters/{cluster}`
// * `locations/{location}/clusters/{cluster}`
// * `{cluster}`
// If project and location are not specified, the project and location of the
// GameServerCluster resource are used to generate the full name of the
// GKE cluster.
Cluster
string
`protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}
A reference to a GKE cluster.
func (*GkeClusterReference) Descriptor
func
(
*
GkeClusterReference
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GkeClusterReference.ProtoReflect.Descriptor instead.
func (*GkeClusterReference) GetCluster
func
(
x
*
GkeClusterReference
)
GetCluster
()
string
func (*GkeClusterReference) ProtoMessage
func
(
*
GkeClusterReference
)
ProtoMessage
()
func (*GkeClusterReference) ProtoReflect
func
(
x
*
GkeClusterReference
)
ProtoReflect
()
protoreflect
.
Message
func (*GkeClusterReference) Reset
func
(
x
*
GkeClusterReference
)
Reset
()
func (*GkeClusterReference) String
func
(
x
*
GkeClusterReference
)
String
()
string
LabelSelector
type
LabelSelector
struct
{
Labels
map
[
string
]
string
""
/* 153 byte string literal not displayed */
}
The label selector, used to group labels on the resources.
func (*LabelSelector) Descriptor
func
(
*
LabelSelector
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.
func (*LabelSelector) GetLabels
func
(
x
*
LabelSelector
)
GetLabels
()
map
[
string
]
string
func (*LabelSelector) ProtoMessage
func
(
*
LabelSelector
)
ProtoMessage
()
func (*LabelSelector) ProtoReflect
func
(
x
*
LabelSelector
)
ProtoReflect
()
protoreflect
.
Message
func (*LabelSelector) Reset
func
(
x
*
LabelSelector
)
Reset
()
func (*LabelSelector) String
func
(
x
*
LabelSelector
)
String
()
string
ListGameServerClustersRequest
type
ListGameServerClustersRequest
struct
{
// Required. The parent resource name. Uses the form:
// "projects/{project}/locations/{location}/realms/{realm}".
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return. If unspecified, the
// server will pick an appropriate default. The server may return fewer items
// than requested. A caller should only rely on response's
// [next_page_token][google.cloud.gaming.v1beta.ListGameServerClustersResponse.next_page_token]
// to determine if there are more GameServerClusters left to be queried.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The next_page_token value returned from a previous List request,
// if any.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter to apply to list results.
Filter
string
`protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Specifies the ordering of results following syntax at
// https://cloud.google.com/apis/design/design_patterns#sorting_order.
OrderBy
string
`protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.ListGameServerClusters.
func (*ListGameServerClustersRequest) Descriptor
func
(
*
ListGameServerClustersRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListGameServerClustersRequest.ProtoReflect.Descriptor instead.
func (*ListGameServerClustersRequest) GetFilter
func
(
x
*
ListGameServerClustersRequest
)
GetFilter
()
string
func (*ListGameServerClustersRequest) GetOrderBy
func
(
x
*
ListGameServerClustersRequest
)
GetOrderBy
()
string
func (*ListGameServerClustersRequest) GetPageSize
func
(
x
*
ListGameServerClustersRequest
)
GetPageSize
()
int32
func (*ListGameServerClustersRequest) GetPageToken
func
(
x
*
ListGameServerClustersRequest
)
GetPageToken
()
string
func (*ListGameServerClustersRequest) GetParent
func
(
x
*
ListGameServerClustersRequest
)
GetParent
()
string
func (*ListGameServerClustersRequest) ProtoMessage
func
(
*
ListGameServerClustersRequest
)
ProtoMessage
()
func (*ListGameServerClustersRequest) ProtoReflect
func
(
x
*
ListGameServerClustersRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListGameServerClustersRequest) Reset
func
(
x
*
ListGameServerClustersRequest
)
Reset
()
func (*ListGameServerClustersRequest) String
func
(
x
*
ListGameServerClustersRequest
)
String
()
string
ListGameServerClustersResponse
type
ListGameServerClustersResponse
struct
{
// The list of game server clusters.
GameServerClusters
[]
*
GameServerCluster
`protobuf:"bytes,1,rep,name=game_server_clusters,json=gameServerClusters,proto3" json:"game_server_clusters,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// List of locations that could not be reached.
Unreachable
[]
string
`protobuf:"bytes,4,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerClustersService.ListGameServerClusters.
func (*ListGameServerClustersResponse) Descriptor
func
(
*
ListGameServerClustersResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListGameServerClustersResponse.ProtoReflect.Descriptor instead.
func (*ListGameServerClustersResponse) GetGameServerClusters
func
(
x
*
ListGameServerClustersResponse
)
GetGameServerClusters
()
[]
*
GameServerCluster
func (*ListGameServerClustersResponse) GetNextPageToken
func
(
x
*
ListGameServerClustersResponse
)
GetNextPageToken
()
string
func (*ListGameServerClustersResponse) GetUnreachable
func
(
x
*
ListGameServerClustersResponse
)
GetUnreachable
()
[]
string
func (*ListGameServerClustersResponse) ProtoMessage
func
(
*
ListGameServerClustersResponse
)
ProtoMessage
()
func (*ListGameServerClustersResponse) ProtoReflect
func
(
x
*
ListGameServerClustersResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListGameServerClustersResponse) Reset
func
(
x
*
ListGameServerClustersResponse
)
Reset
()
func (*ListGameServerClustersResponse) String
func
(
x
*
ListGameServerClustersResponse
)
String
()
string
ListGameServerConfigsRequest
type
ListGameServerConfigsRequest
struct
{
// Required. The parent resource name. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return. If unspecified, server
// will pick an appropriate default. Server may return fewer items than
// requested. A caller should only rely on response's
// [next_page_token][google.cloud.gaming.v1beta.ListGameServerConfigsResponse.next_page_token]
// to determine if there are more GameServerConfigs left to be queried.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The next_page_token value returned from a previous list request,
// if any.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter to apply to list results.
Filter
string
`protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Specifies the ordering of results following syntax at
// https://cloud.google.com/apis/design/design_patterns#sorting_order.
OrderBy
string
`protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerConfigsService.ListGameServerConfigs.
func (*ListGameServerConfigsRequest) Descriptor
func
(
*
ListGameServerConfigsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListGameServerConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListGameServerConfigsRequest) GetFilter
func
(
x
*
ListGameServerConfigsRequest
)
GetFilter
()
string
func (*ListGameServerConfigsRequest) GetOrderBy
func
(
x
*
ListGameServerConfigsRequest
)
GetOrderBy
()
string
func (*ListGameServerConfigsRequest) GetPageSize
func
(
x
*
ListGameServerConfigsRequest
)
GetPageSize
()
int32
func (*ListGameServerConfigsRequest) GetPageToken
func
(
x
*
ListGameServerConfigsRequest
)
GetPageToken
()
string
func (*ListGameServerConfigsRequest) GetParent
func
(
x
*
ListGameServerConfigsRequest
)
GetParent
()
string
func (*ListGameServerConfigsRequest) ProtoMessage
func
(
*
ListGameServerConfigsRequest
)
ProtoMessage
()
func (*ListGameServerConfigsRequest) ProtoReflect
func
(
x
*
ListGameServerConfigsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListGameServerConfigsRequest) Reset
func
(
x
*
ListGameServerConfigsRequest
)
Reset
()
func (*ListGameServerConfigsRequest) String
func
(
x
*
ListGameServerConfigsRequest
)
String
()
string
ListGameServerConfigsResponse
type
ListGameServerConfigsResponse
struct
{
// The list of game server configs.
GameServerConfigs
[]
*
GameServerConfig
`protobuf:"bytes,1,rep,name=game_server_configs,json=gameServerConfigs,proto3" json:"game_server_configs,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// List of locations that could not be reached.
Unreachable
[]
string
`protobuf:"bytes,4,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerConfigsService.ListGameServerConfigs.
func (*ListGameServerConfigsResponse) Descriptor
func
(
*
ListGameServerConfigsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListGameServerConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListGameServerConfigsResponse) GetGameServerConfigs
func
(
x
*
ListGameServerConfigsResponse
)
GetGameServerConfigs
()
[]
*
GameServerConfig
func (*ListGameServerConfigsResponse) GetNextPageToken
func
(
x
*
ListGameServerConfigsResponse
)
GetNextPageToken
()
string
func (*ListGameServerConfigsResponse) GetUnreachable
func
(
x
*
ListGameServerConfigsResponse
)
GetUnreachable
()
[]
string
func (*ListGameServerConfigsResponse) ProtoMessage
func
(
*
ListGameServerConfigsResponse
)
ProtoMessage
()
func (*ListGameServerConfigsResponse) ProtoReflect
func
(
x
*
ListGameServerConfigsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListGameServerConfigsResponse) Reset
func
(
x
*
ListGameServerConfigsResponse
)
Reset
()
func (*ListGameServerConfigsResponse) String
func
(
x
*
ListGameServerConfigsResponse
)
String
()
string
ListGameServerDeploymentsRequest
type
ListGameServerDeploymentsRequest
struct
{
// Required. The parent resource name. Uses the form:
// `projects/{project}/locations/{location}`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return. If unspecified, the
// server will pick an appropriate default. The server may return fewer items
// than requested. A caller should only rely on response's
// [next_page_token][google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.next_page_token]
// to determine if there are more GameServerDeployments left to be queried.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The next_page_token value returned from a previous List request,
// if any.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter to apply to list results.
Filter
string
`protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Specifies the ordering of results following syntax at
// https://cloud.google.com/apis/design/design_patterns#sorting_order.
OrderBy
string
`protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.ListGameServerDeployments.
func (*ListGameServerDeploymentsRequest) Descriptor
func
(
*
ListGameServerDeploymentsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListGameServerDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListGameServerDeploymentsRequest) GetFilter
func
(
x
*
ListGameServerDeploymentsRequest
)
GetFilter
()
string
func (*ListGameServerDeploymentsRequest) GetOrderBy
func
(
x
*
ListGameServerDeploymentsRequest
)
GetOrderBy
()
string
func (*ListGameServerDeploymentsRequest) GetPageSize
func
(
x
*
ListGameServerDeploymentsRequest
)
GetPageSize
()
int32
func (*ListGameServerDeploymentsRequest) GetPageToken
func
(
x
*
ListGameServerDeploymentsRequest
)
GetPageToken
()
string
func (*ListGameServerDeploymentsRequest) GetParent
func
(
x
*
ListGameServerDeploymentsRequest
)
GetParent
()
string
func (*ListGameServerDeploymentsRequest) ProtoMessage
func
(
*
ListGameServerDeploymentsRequest
)
ProtoMessage
()
func (*ListGameServerDeploymentsRequest) ProtoReflect
func
(
x
*
ListGameServerDeploymentsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListGameServerDeploymentsRequest) Reset
func
(
x
*
ListGameServerDeploymentsRequest
)
Reset
()
func (*ListGameServerDeploymentsRequest) String
func
(
x
*
ListGameServerDeploymentsRequest
)
String
()
string
ListGameServerDeploymentsResponse
type
ListGameServerDeploymentsResponse
struct
{
// The list of game server deployments.
GameServerDeployments
[]
*
GameServerDeployment
`protobuf:"bytes,1,rep,name=game_server_deployments,json=gameServerDeployments,proto3" json:"game_server_deployments,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// List of locations that could not be reached.
Unreachable
[]
string
`protobuf:"bytes,4,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerDeploymentsService.ListGameServerDeployments.
func (*ListGameServerDeploymentsResponse) Descriptor
func
(
*
ListGameServerDeploymentsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListGameServerDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListGameServerDeploymentsResponse) GetGameServerDeployments
func
(
x
*
ListGameServerDeploymentsResponse
)
GetGameServerDeployments
()
[]
*
GameServerDeployment
func (*ListGameServerDeploymentsResponse) GetNextPageToken
func
(
x
*
ListGameServerDeploymentsResponse
)
GetNextPageToken
()
string
func (*ListGameServerDeploymentsResponse) GetUnreachable
func
(
x
*
ListGameServerDeploymentsResponse
)
GetUnreachable
()
[]
string
func (*ListGameServerDeploymentsResponse) ProtoMessage
func
(
*
ListGameServerDeploymentsResponse
)
ProtoMessage
()
func (*ListGameServerDeploymentsResponse) ProtoReflect
func
(
x
*
ListGameServerDeploymentsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListGameServerDeploymentsResponse) Reset
func
(
x
*
ListGameServerDeploymentsResponse
)
Reset
()
func (*ListGameServerDeploymentsResponse) String
func
(
x
*
ListGameServerDeploymentsResponse
)
String
()
string
ListRealmsRequest
type
ListRealmsRequest
struct
{
// Required. The parent resource name. Uses the form:
// `projects/{project}/locations/{location}`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return. If unspecified, server
// will pick an appropriate default. Server may return fewer items than
// requested. A caller should only rely on response's
// [next_page_token][google.cloud.gaming.v1beta.ListRealmsResponse.next_page_token]
// to determine if there are more realms left to be queried.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The next_page_token value returned from a previous List request,
// if any.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The filter to apply to list results.
Filter
string
`protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Specifies the ordering of results following syntax at
// https://cloud.google.com/apis/design/design_patterns#sorting_order.
OrderBy
string
`protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for RealmsService.ListRealms.
func (*ListRealmsRequest) Descriptor
func
(
*
ListRealmsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListRealmsRequest.ProtoReflect.Descriptor instead.
func (*ListRealmsRequest) GetFilter
func
(
x
*
ListRealmsRequest
)
GetFilter
()
string
func (*ListRealmsRequest) GetOrderBy
func
(
x
*
ListRealmsRequest
)
GetOrderBy
()
string
func (*ListRealmsRequest) GetPageSize
func
(
x
*
ListRealmsRequest
)
GetPageSize
()
int32
func (*ListRealmsRequest) GetPageToken
func
(
x
*
ListRealmsRequest
)
GetPageToken
()
string
func (*ListRealmsRequest) GetParent
func
(
x
*
ListRealmsRequest
)
GetParent
()
string
func (*ListRealmsRequest) ProtoMessage
func
(
*
ListRealmsRequest
)
ProtoMessage
()
func (*ListRealmsRequest) ProtoReflect
func
(
x
*
ListRealmsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListRealmsRequest) Reset
func
(
x
*
ListRealmsRequest
)
Reset
()
func (*ListRealmsRequest) String
func
(
x
*
ListRealmsRequest
)
String
()
string
ListRealmsResponse
type
ListRealmsResponse
struct
{
// The list of realms.
Realms
[]
*
Realm
`protobuf:"bytes,1,rep,name=realms,proto3" json:"realms,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// List of locations that could not be reached.
Unreachable
[]
string
`protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for RealmsService.ListRealms.
func (*ListRealmsResponse) Descriptor
func
(
*
ListRealmsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListRealmsResponse.ProtoReflect.Descriptor instead.
func (*ListRealmsResponse) GetNextPageToken
func
(
x
*
ListRealmsResponse
)
GetNextPageToken
()
string
func (*ListRealmsResponse) GetRealms
func
(
x
*
ListRealmsResponse
)
GetRealms
()
[]
*
Realm
func (*ListRealmsResponse) GetUnreachable
func
(
x
*
ListRealmsResponse
)
GetUnreachable
()
[]
string
func (*ListRealmsResponse) ProtoMessage
func
(
*
ListRealmsResponse
)
ProtoMessage
()
func (*ListRealmsResponse) ProtoReflect
func
(
x
*
ListRealmsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListRealmsResponse) Reset
func
(
x
*
ListRealmsResponse
)
Reset
()
func (*ListRealmsResponse) String
func
(
x
*
ListRealmsResponse
)
String
()
string
OperationMetadata
type
OperationMetadata
struct
{
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
EndTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Target
string
`protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
Verb
string
`protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
StatusMessage
string
`protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
RequestedCancellation
bool
`protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
ApiVersion
string
`protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
Unreachable
[]
string
`protobuf:"bytes,8,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
OperationStatus
map
[
string
]
*
OperationStatus
""
/* 194 byte string literal not displayed */
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func
(
*
OperationMetadata
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func
(
x
*
OperationMetadata
)
GetApiVersion
()
string
func (*OperationMetadata) GetCreateTime
func
(
x
*
OperationMetadata
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*OperationMetadata) GetEndTime
func
(
x
*
OperationMetadata
)
GetEndTime
()
*
timestamppb
.
Timestamp
func (*OperationMetadata) GetOperationStatus
func
(
x
*
OperationMetadata
)
GetOperationStatus
()
map
[
string
]
*
OperationStatus
func (*OperationMetadata) GetRequestedCancellation
func
(
x
*
OperationMetadata
)
GetRequestedCancellation
()
bool
func (*OperationMetadata) GetStatusMessage
func
(
x
*
OperationMetadata
)
GetStatusMessage
()
string
func (*OperationMetadata) GetTarget
func
(
x
*
OperationMetadata
)
GetTarget
()
string
func (*OperationMetadata) GetUnreachable
func
(
x
*
OperationMetadata
)
GetUnreachable
()
[]
string
func (*OperationMetadata) GetVerb
func
(
x
*
OperationMetadata
)
GetVerb
()
string
func (*OperationMetadata) ProtoMessage
func
(
*
OperationMetadata
)
ProtoMessage
()
func (*OperationMetadata) ProtoReflect
func
(
x
*
OperationMetadata
)
ProtoReflect
()
protoreflect
.
Message
func (*OperationMetadata) Reset
func
(
x
*
OperationMetadata
)
Reset
()
func (*OperationMetadata) String
func
(
x
*
OperationMetadata
)
String
()
string
OperationStatus
type
OperationStatus
struct
{
Done
bool
`protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"`
ErrorCode
OperationStatus_ErrorCode
""
/* 147 byte string literal not displayed */
ErrorMessage
string
`protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
}
func (*OperationStatus) Descriptor
func
(
*
OperationStatus
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use OperationStatus.ProtoReflect.Descriptor instead.
func (*OperationStatus) GetDone
func
(
x
*
OperationStatus
)
GetDone
()
bool
func (*OperationStatus) GetErrorCode
func
(
x
*
OperationStatus
)
GetErrorCode
()
OperationStatus_ErrorCode
func (*OperationStatus) GetErrorMessage
func
(
x
*
OperationStatus
)
GetErrorMessage
()
string
func (*OperationStatus) ProtoMessage
func
(
*
OperationStatus
)
ProtoMessage
()
func (*OperationStatus) ProtoReflect
func
(
x
*
OperationStatus
)
ProtoReflect
()
protoreflect
.
Message
func (*OperationStatus) Reset
func
(
x
*
OperationStatus
)
Reset
()
func (*OperationStatus) String
func
(
x
*
OperationStatus
)
String
()
string
OperationStatus_ErrorCode
type
OperationStatus_ErrorCode
int32
OperationStatus_ERROR_CODE_UNSPECIFIED, OperationStatus_INTERNAL_ERROR, OperationStatus_PERMISSION_DENIED, OperationStatus_CLUSTER_CONNECTION
const
(
OperationStatus_ERROR_CODE_UNSPECIFIED
OperationStatus_ErrorCode
=
0
OperationStatus_INTERNAL_ERROR
OperationStatus_ErrorCode
=
1
OperationStatus_PERMISSION_DENIED
OperationStatus_ErrorCode
=
2
OperationStatus_CLUSTER_CONNECTION
OperationStatus_ErrorCode
=
3
)
func (OperationStatus_ErrorCode) Descriptor
func
(
OperationStatus_ErrorCode
)
Descriptor
()
protoreflect
.
EnumDescriptor
func (OperationStatus_ErrorCode) Enum
func
(
x
OperationStatus_ErrorCode
)
Enum
()
*
OperationStatus_ErrorCode
func (OperationStatus_ErrorCode) EnumDescriptor
func
(
OperationStatus_ErrorCode
)
EnumDescriptor
()
([]
byte
,
[]
int
)
Deprecated: Use OperationStatus_ErrorCode.Descriptor instead.
func (OperationStatus_ErrorCode) Number
func
(
x
OperationStatus_ErrorCode
)
Number
()
protoreflect
.
EnumNumber
func (OperationStatus_ErrorCode) String
func
(
x
OperationStatus_ErrorCode
)
String
()
string
func (OperationStatus_ErrorCode) Type
func
(
OperationStatus_ErrorCode
)
Type
()
protoreflect
.
EnumType
PreviewCreateGameServerClusterRequest
type
PreviewCreateGameServerClusterRequest
struct
{
// Required. The parent resource name. Uses the form:
// `projects/{project}/locations/{location}/realms/{realm}`.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the game server cluster resource to be created.
GameServerClusterId
string
`protobuf:"bytes,2,opt,name=game_server_cluster_id,json=gameServerClusterId,proto3" json:"game_server_cluster_id,omitempty"`
// Required. The game server cluster resource to be created.
GameServerCluster
*
GameServerCluster
`protobuf:"bytes,3,opt,name=game_server_cluster,json=gameServerCluster,proto3" json:"game_server_cluster,omitempty"`
// Optional. The target timestamp to compute the preview.
PreviewTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,4,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.PreviewCreateGameServerCluster.
func (*PreviewCreateGameServerClusterRequest) Descriptor
func
(
*
PreviewCreateGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewCreateGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*PreviewCreateGameServerClusterRequest) GetGameServerCluster
func
(
x
*
PreviewCreateGameServerClusterRequest
)
GetGameServerCluster
()
*
GameServerCluster
func (*PreviewCreateGameServerClusterRequest) GetGameServerClusterId
func
(
x
*
PreviewCreateGameServerClusterRequest
)
GetGameServerClusterId
()
string
func (*PreviewCreateGameServerClusterRequest) GetParent
func
(
x
*
PreviewCreateGameServerClusterRequest
)
GetParent
()
string
func (*PreviewCreateGameServerClusterRequest) GetPreviewTime
func
(
x
*
PreviewCreateGameServerClusterRequest
)
GetPreviewTime
()
*
timestamppb
.
Timestamp
func (*PreviewCreateGameServerClusterRequest) ProtoMessage
func
(
*
PreviewCreateGameServerClusterRequest
)
ProtoMessage
()
func (*PreviewCreateGameServerClusterRequest) ProtoReflect
func
(
x
*
PreviewCreateGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewCreateGameServerClusterRequest) Reset
func
(
x
*
PreviewCreateGameServerClusterRequest
)
Reset
()
func (*PreviewCreateGameServerClusterRequest) String
func
(
x
*
PreviewCreateGameServerClusterRequest
)
String
()
string
PreviewCreateGameServerClusterResponse
type
PreviewCreateGameServerClusterResponse
struct
{
// The ETag of the game server cluster.
Etag
string
`protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// The target state.
TargetState
*
TargetState
`protobuf:"bytes,3,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerClustersService.PreviewCreateGameServerCluster.
func (*PreviewCreateGameServerClusterResponse) Descriptor
func
(
*
PreviewCreateGameServerClusterResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewCreateGameServerClusterResponse.ProtoReflect.Descriptor instead.
func (*PreviewCreateGameServerClusterResponse) GetEtag
func
(
x
*
PreviewCreateGameServerClusterResponse
)
GetEtag
()
string
func (*PreviewCreateGameServerClusterResponse) GetTargetState
func
(
x
*
PreviewCreateGameServerClusterResponse
)
GetTargetState
()
*
TargetState
func (*PreviewCreateGameServerClusterResponse) ProtoMessage
func
(
*
PreviewCreateGameServerClusterResponse
)
ProtoMessage
()
func (*PreviewCreateGameServerClusterResponse) ProtoReflect
func
(
x
*
PreviewCreateGameServerClusterResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewCreateGameServerClusterResponse) Reset
func
(
x
*
PreviewCreateGameServerClusterResponse
)
Reset
()
func (*PreviewCreateGameServerClusterResponse) String
func
(
x
*
PreviewCreateGameServerClusterResponse
)
String
()
string
PreviewDeleteGameServerClusterRequest
type
PreviewDeleteGameServerClusterRequest
struct
{
// Required. The name of the game server cluster to delete. Uses the form:
// `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The target timestamp to compute the preview.
PreviewTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.PreviewDeleteGameServerCluster.
func (*PreviewDeleteGameServerClusterRequest) Descriptor
func
(
*
PreviewDeleteGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewDeleteGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*PreviewDeleteGameServerClusterRequest) GetName
func
(
x
*
PreviewDeleteGameServerClusterRequest
)
GetName
()
string
func (*PreviewDeleteGameServerClusterRequest) GetPreviewTime
func
(
x
*
PreviewDeleteGameServerClusterRequest
)
GetPreviewTime
()
*
timestamppb
.
Timestamp
func (*PreviewDeleteGameServerClusterRequest) ProtoMessage
func
(
*
PreviewDeleteGameServerClusterRequest
)
ProtoMessage
()
func (*PreviewDeleteGameServerClusterRequest) ProtoReflect
func
(
x
*
PreviewDeleteGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewDeleteGameServerClusterRequest) Reset
func
(
x
*
PreviewDeleteGameServerClusterRequest
)
Reset
()
func (*PreviewDeleteGameServerClusterRequest) String
func
(
x
*
PreviewDeleteGameServerClusterRequest
)
String
()
string
PreviewDeleteGameServerClusterResponse
type
PreviewDeleteGameServerClusterResponse
struct
{
// The ETag of the game server cluster.
Etag
string
`protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// The target state.
TargetState
*
TargetState
`protobuf:"bytes,3,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerClustersService.PreviewDeleteGameServerCluster.
func (*PreviewDeleteGameServerClusterResponse) Descriptor
func
(
*
PreviewDeleteGameServerClusterResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewDeleteGameServerClusterResponse.ProtoReflect.Descriptor instead.
func (*PreviewDeleteGameServerClusterResponse) GetEtag
func
(
x
*
PreviewDeleteGameServerClusterResponse
)
GetEtag
()
string
func (*PreviewDeleteGameServerClusterResponse) GetTargetState
func
(
x
*
PreviewDeleteGameServerClusterResponse
)
GetTargetState
()
*
TargetState
func (*PreviewDeleteGameServerClusterResponse) ProtoMessage
func
(
*
PreviewDeleteGameServerClusterResponse
)
ProtoMessage
()
func (*PreviewDeleteGameServerClusterResponse) ProtoReflect
func
(
x
*
PreviewDeleteGameServerClusterResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewDeleteGameServerClusterResponse) Reset
func
(
x
*
PreviewDeleteGameServerClusterResponse
)
Reset
()
func (*PreviewDeleteGameServerClusterResponse) String
func
(
x
*
PreviewDeleteGameServerClusterResponse
)
String
()
string
PreviewGameServerDeploymentRolloutRequest
type
PreviewGameServerDeploymentRolloutRequest
struct
{
// Required. The game server deployment rollout to be updated.
// Only fields specified in update_mask are updated.
Rollout
*
GameServerDeploymentRollout
`protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Optional. Mask of fields to update. At least one path must be supplied in
// this field. For the `FieldMask` definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The target timestamp to compute the preview. Defaults to the
// immediately after the proposed rollout completes.
PreviewTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"`
// contains filtered or unexported fields
}
Request message for PreviewGameServerDeploymentRollout.
func (*PreviewGameServerDeploymentRolloutRequest) Descriptor
func
(
*
PreviewGameServerDeploymentRolloutRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewGameServerDeploymentRolloutRequest.ProtoReflect.Descriptor instead.
func (*PreviewGameServerDeploymentRolloutRequest) GetPreviewTime
func
(
x
*
PreviewGameServerDeploymentRolloutRequest
)
GetPreviewTime
()
*
timestamppb
.
Timestamp
func (*PreviewGameServerDeploymentRolloutRequest) GetRollout
func
(
x
*
PreviewGameServerDeploymentRolloutRequest
)
GetRollout
()
*
GameServerDeploymentRollout
func (*PreviewGameServerDeploymentRolloutRequest) GetUpdateMask
func
(
x
*
PreviewGameServerDeploymentRolloutRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*PreviewGameServerDeploymentRolloutRequest) ProtoMessage
func
(
*
PreviewGameServerDeploymentRolloutRequest
)
ProtoMessage
()
func (*PreviewGameServerDeploymentRolloutRequest) ProtoReflect
func
(
x
*
PreviewGameServerDeploymentRolloutRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewGameServerDeploymentRolloutRequest) Reset
func
(
x
*
PreviewGameServerDeploymentRolloutRequest
)
Reset
()
func (*PreviewGameServerDeploymentRolloutRequest) String
func
(
x
*
PreviewGameServerDeploymentRolloutRequest
)
String
()
string
PreviewGameServerDeploymentRolloutResponse
type
PreviewGameServerDeploymentRolloutResponse
struct
{
// Locations that could not be reached on this request.
Unavailable
[]
string
`protobuf:"bytes,2,rep,name=unavailable,proto3" json:"unavailable,omitempty"`
// ETag of the game server deployment.
Etag
string
`protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// The target state.
TargetState
*
TargetState
`protobuf:"bytes,4,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"`
// contains filtered or unexported fields
}
Response message for PreviewGameServerDeploymentRollout. This has details about the Agones fleet and autoscaler to be actuated.
func (*PreviewGameServerDeploymentRolloutResponse) Descriptor
func
(
*
PreviewGameServerDeploymentRolloutResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewGameServerDeploymentRolloutResponse.ProtoReflect.Descriptor instead.
func (*PreviewGameServerDeploymentRolloutResponse) GetEtag
func
(
x
*
PreviewGameServerDeploymentRolloutResponse
)
GetEtag
()
string
func (*PreviewGameServerDeploymentRolloutResponse) GetTargetState
func
(
x
*
PreviewGameServerDeploymentRolloutResponse
)
GetTargetState
()
*
TargetState
func (*PreviewGameServerDeploymentRolloutResponse) GetUnavailable
func
(
x
*
PreviewGameServerDeploymentRolloutResponse
)
GetUnavailable
()
[]
string
func (*PreviewGameServerDeploymentRolloutResponse) ProtoMessage
func
(
*
PreviewGameServerDeploymentRolloutResponse
)
ProtoMessage
()
func (*PreviewGameServerDeploymentRolloutResponse) ProtoReflect
func
(
x
*
PreviewGameServerDeploymentRolloutResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewGameServerDeploymentRolloutResponse) Reset
func
(
x
*
PreviewGameServerDeploymentRolloutResponse
)
Reset
()
func (*PreviewGameServerDeploymentRolloutResponse) String
func
(
x
*
PreviewGameServerDeploymentRolloutResponse
)
String
()
string
PreviewRealmUpdateRequest
type
PreviewRealmUpdateRequest
struct
{
// Required. The realm to be updated.
// Only fields specified in update_mask are updated.
Realm
*
Realm
`protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
// Required. The update mask applies to the resource. For the `FieldMask`
// definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The target timestamp to compute the preview.
PreviewTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"`
// contains filtered or unexported fields
}
Request message for RealmsService.PreviewRealmUpdate.
func (*PreviewRealmUpdateRequest) Descriptor
func
(
*
PreviewRealmUpdateRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewRealmUpdateRequest.ProtoReflect.Descriptor instead.
func (*PreviewRealmUpdateRequest) GetPreviewTime
func
(
x
*
PreviewRealmUpdateRequest
)
GetPreviewTime
()
*
timestamppb
.
Timestamp
func (*PreviewRealmUpdateRequest) GetRealm
func
(
x
*
PreviewRealmUpdateRequest
)
GetRealm
()
*
Realm
func (*PreviewRealmUpdateRequest) GetUpdateMask
func
(
x
*
PreviewRealmUpdateRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*PreviewRealmUpdateRequest) ProtoMessage
func
(
*
PreviewRealmUpdateRequest
)
ProtoMessage
()
func (*PreviewRealmUpdateRequest) ProtoReflect
func
(
x
*
PreviewRealmUpdateRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewRealmUpdateRequest) Reset
func
(
x
*
PreviewRealmUpdateRequest
)
Reset
()
func (*PreviewRealmUpdateRequest) String
func
(
x
*
PreviewRealmUpdateRequest
)
String
()
string
PreviewRealmUpdateResponse
type
PreviewRealmUpdateResponse
struct
{
// ETag of the realm.
Etag
string
`protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// The target state.
TargetState
*
TargetState
`protobuf:"bytes,3,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"`
// contains filtered or unexported fields
}
Response message for RealmsService.PreviewRealmUpdate.
func (*PreviewRealmUpdateResponse) Descriptor
func
(
*
PreviewRealmUpdateResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewRealmUpdateResponse.ProtoReflect.Descriptor instead.
func (*PreviewRealmUpdateResponse) GetEtag
func
(
x
*
PreviewRealmUpdateResponse
)
GetEtag
()
string
func (*PreviewRealmUpdateResponse) GetTargetState
func
(
x
*
PreviewRealmUpdateResponse
)
GetTargetState
()
*
TargetState
func (*PreviewRealmUpdateResponse) ProtoMessage
func
(
*
PreviewRealmUpdateResponse
)
ProtoMessage
()
func (*PreviewRealmUpdateResponse) ProtoReflect
func
(
x
*
PreviewRealmUpdateResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewRealmUpdateResponse) Reset
func
(
x
*
PreviewRealmUpdateResponse
)
Reset
()
func (*PreviewRealmUpdateResponse) String
func
(
x
*
PreviewRealmUpdateResponse
)
String
()
string
PreviewUpdateGameServerClusterRequest
type
PreviewUpdateGameServerClusterRequest
struct
{
// Required. The game server cluster to be updated.
// Only fields specified in update_mask are updated.
GameServerCluster
*
GameServerCluster
`protobuf:"bytes,1,opt,name=game_server_cluster,json=gameServerCluster,proto3" json:"game_server_cluster,omitempty"`
// Required. Mask of fields to update. At least one path must be supplied in
// this field. For the `FieldMask` definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The target timestamp to compute the preview.
PreviewTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=preview_time,json=previewTime,proto3" json:"preview_time,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.UpdateGameServerCluster.
func (*PreviewUpdateGameServerClusterRequest) Descriptor
func
(
*
PreviewUpdateGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewUpdateGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*PreviewUpdateGameServerClusterRequest) GetGameServerCluster
func
(
x
*
PreviewUpdateGameServerClusterRequest
)
GetGameServerCluster
()
*
GameServerCluster
func (*PreviewUpdateGameServerClusterRequest) GetPreviewTime
func
(
x
*
PreviewUpdateGameServerClusterRequest
)
GetPreviewTime
()
*
timestamppb
.
Timestamp
func (*PreviewUpdateGameServerClusterRequest) GetUpdateMask
func
(
x
*
PreviewUpdateGameServerClusterRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*PreviewUpdateGameServerClusterRequest) ProtoMessage
func
(
*
PreviewUpdateGameServerClusterRequest
)
ProtoMessage
()
func (*PreviewUpdateGameServerClusterRequest) ProtoReflect
func
(
x
*
PreviewUpdateGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewUpdateGameServerClusterRequest) Reset
func
(
x
*
PreviewUpdateGameServerClusterRequest
)
Reset
()
func (*PreviewUpdateGameServerClusterRequest) String
func
(
x
*
PreviewUpdateGameServerClusterRequest
)
String
()
string
PreviewUpdateGameServerClusterResponse
type
PreviewUpdateGameServerClusterResponse
struct
{
// The ETag of the game server cluster.
Etag
string
`protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// The target state.
TargetState
*
TargetState
`protobuf:"bytes,3,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"`
// contains filtered or unexported fields
}
Response message for GameServerClustersService.PreviewUpdateGameServerCluster
func (*PreviewUpdateGameServerClusterResponse) Descriptor
func
(
*
PreviewUpdateGameServerClusterResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PreviewUpdateGameServerClusterResponse.ProtoReflect.Descriptor instead.
func (*PreviewUpdateGameServerClusterResponse) GetEtag
func
(
x
*
PreviewUpdateGameServerClusterResponse
)
GetEtag
()
string
func (*PreviewUpdateGameServerClusterResponse) GetTargetState
func
(
x
*
PreviewUpdateGameServerClusterResponse
)
GetTargetState
()
*
TargetState
func (*PreviewUpdateGameServerClusterResponse) ProtoMessage
func
(
*
PreviewUpdateGameServerClusterResponse
)
ProtoMessage
()
func (*PreviewUpdateGameServerClusterResponse) ProtoReflect
func
(
x
*
PreviewUpdateGameServerClusterResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*PreviewUpdateGameServerClusterResponse) Reset
func
(
x
*
PreviewUpdateGameServerClusterResponse
)
Reset
()
func (*PreviewUpdateGameServerClusterResponse) String
func
(
x
*
PreviewUpdateGameServerClusterResponse
)
String
()
string
Realm
type
Realm
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels
map
[
string
]
string
""
/* 153 byte string literal not displayed */
TimeZone
string
`protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
Etag
string
`protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"`
Description
string
`protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
}
A realm resource.
func (*Realm) Descriptor
Deprecated: Use Realm.ProtoReflect.Descriptor instead.
func (*Realm) GetCreateTime
func
(
x
*
Realm
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*Realm) GetDescription
func (*Realm) GetEtag
func (*Realm) GetLabels
func (*Realm) GetName
func (*Realm) GetTimeZone
func (*Realm) GetUpdateTime
func
(
x
*
Realm
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*Realm) ProtoMessage
func
(
*
Realm
)
ProtoMessage
()
func (*Realm) ProtoReflect
func
(
x
*
Realm
)
ProtoReflect
()
protoreflect
.
Message
func (*Realm) Reset
func
(
x
*
Realm
)
Reset
()
func (*Realm) String
RealmSelector
type
RealmSelector
struct
{
// List of realms to match.
Realms
[]
string
`protobuf:"bytes,1,rep,name=realms,proto3" json:"realms,omitempty"`
// contains filtered or unexported fields
}
The realm selector, used to match realm resources.
func (*RealmSelector) Descriptor
func
(
*
RealmSelector
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use RealmSelector.ProtoReflect.Descriptor instead.
func (*RealmSelector) GetRealms
func
(
x
*
RealmSelector
)
GetRealms
()
[]
string
func (*RealmSelector) ProtoMessage
func
(
*
RealmSelector
)
ProtoMessage
()
func (*RealmSelector) ProtoReflect
func
(
x
*
RealmSelector
)
ProtoReflect
()
protoreflect
.
Message
func (*RealmSelector) Reset
func
(
x
*
RealmSelector
)
Reset
()
func (*RealmSelector) String
func
(
x
*
RealmSelector
)
String
()
string
RealmsServiceClient
type
RealmsServiceClient
interface
{
// Lists realms in a given project and location.
ListRealms
(
ctx
context
.
Context
,
in
*
ListRealmsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListRealmsResponse
,
error
)
// Gets details of a single realm.
GetRealm
(
ctx
context
.
Context
,
in
*
GetRealmRequest
,
opts
...
grpc
.
CallOption
)
(
*
Realm
,
error
)
// Creates a new realm in a given project and location.
CreateRealm
(
ctx
context
.
Context
,
in
*
CreateRealmRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a single realm.
DeleteRealm
(
ctx
context
.
Context
,
in
*
DeleteRealmRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Patches a single realm.
UpdateRealm
(
ctx
context
.
Context
,
in
*
UpdateRealmRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews patches to a single realm.
PreviewRealmUpdate
(
ctx
context
.
Context
,
in
*
PreviewRealmUpdateRequest
,
opts
...
grpc
.
CallOption
)
(
*
PreviewRealmUpdateResponse
,
error
)
}
RealmsServiceClient is the client API for RealmsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewRealmsServiceClient
func
NewRealmsServiceClient
(
cc
grpc
.
ClientConnInterface
)
RealmsServiceClient
RealmsServiceServer
type
RealmsServiceServer
interface
{
// Lists realms in a given project and location.
ListRealms
(
context
.
Context
,
*
ListRealmsRequest
)
(
*
ListRealmsResponse
,
error
)
// Gets details of a single realm.
GetRealm
(
context
.
Context
,
*
GetRealmRequest
)
(
*
Realm
,
error
)
// Creates a new realm in a given project and location.
CreateRealm
(
context
.
Context
,
*
CreateRealmRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a single realm.
DeleteRealm
(
context
.
Context
,
*
DeleteRealmRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Patches a single realm.
UpdateRealm
(
context
.
Context
,
*
UpdateRealmRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Previews patches to a single realm.
PreviewRealmUpdate
(
context
.
Context
,
*
PreviewRealmUpdateRequest
)
(
*
PreviewRealmUpdateResponse
,
error
)
}
RealmsServiceServer is the server API for RealmsService service.
ScalingConfig
type
ScalingConfig
struct
{
// Required. The name of the Scaling Config
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Agones fleet autoscaler spec. Example spec:
// https://agones.dev/site/docs/reference/fleetautoscaler/
FleetAutoscalerSpec
string
`protobuf:"bytes,2,opt,name=fleet_autoscaler_spec,json=fleetAutoscalerSpec,proto3" json:"fleet_autoscaler_spec,omitempty"`
// Labels used to identify the game server clusters to which this Agones
// scaling config applies. A game server cluster is subject to this Agones
// scaling config if its labels match any of the selector entries.
Selectors
[]
*
LabelSelector
`protobuf:"bytes,4,rep,name=selectors,proto3" json:"selectors,omitempty"`
// The schedules to which this Scaling Config applies.
Schedules
[]
*
Schedule
`protobuf:"bytes,5,rep,name=schedules,proto3" json:"schedules,omitempty"`
// contains filtered or unexported fields
}
Autoscaling config for an Agones fleet.
func (*ScalingConfig) Descriptor
func
(
*
ScalingConfig
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ScalingConfig.ProtoReflect.Descriptor instead.
func (*ScalingConfig) GetFleetAutoscalerSpec
func
(
x
*
ScalingConfig
)
GetFleetAutoscalerSpec
()
string
func (*ScalingConfig) GetName
func
(
x
*
ScalingConfig
)
GetName
()
string
func (*ScalingConfig) GetSchedules
func
(
x
*
ScalingConfig
)
GetSchedules
()
[]
*
Schedule
func (*ScalingConfig) GetSelectors
func
(
x
*
ScalingConfig
)
GetSelectors
()
[]
*
LabelSelector
func (*ScalingConfig) ProtoMessage
func
(
*
ScalingConfig
)
ProtoMessage
()
func (*ScalingConfig) ProtoReflect
func
(
x
*
ScalingConfig
)
ProtoReflect
()
protoreflect
.
Message
func (*ScalingConfig) Reset
func
(
x
*
ScalingConfig
)
Reset
()
func (*ScalingConfig) String
func
(
x
*
ScalingConfig
)
String
()
string
Schedule
type
Schedule
struct
{
// The start time of the event.
StartTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The end time of the event.
EndTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The duration for the cron job event. The duration of the event is effective
// after the cron job's start time.
CronJobDuration
*
durationpb
.
Duration
`protobuf:"bytes,3,opt,name=cron_job_duration,json=cronJobDuration,proto3" json:"cron_job_duration,omitempty"`
// The cron definition of the scheduled event. See
// https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
// defined by the realm.
CronSpec
string
`protobuf:"bytes,4,opt,name=cron_spec,json=cronSpec,proto3" json:"cron_spec,omitempty"`
// contains filtered or unexported fields
}
The schedule of a recurring or one time event. The event's time span is specified by start_time and end_time. If the scheduled event's timespan is larger than the cron_spec + cron_job_duration, the event will be recurring. If only cron_spec + cron_job_duration are specified, the event is effective starting at the local time specified by cron_spec, and is recurring.
start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
cron job: cron spec start time + duration
func (*Schedule) Descriptor
Deprecated: Use Schedule.ProtoReflect.Descriptor instead.
func (*Schedule) GetCronJobDuration
func
(
x
*
Schedule
)
GetCronJobDuration
()
*
durationpb
.
Duration
func (*Schedule) GetCronSpec
func (*Schedule) GetEndTime
func
(
x
*
Schedule
)
GetEndTime
()
*
timestamppb
.
Timestamp
func (*Schedule) GetStartTime
func
(
x
*
Schedule
)
GetStartTime
()
*
timestamppb
.
Timestamp
func (*Schedule) ProtoMessage
func
(
*
Schedule
)
ProtoMessage
()
func (*Schedule) ProtoReflect
func
(
x
*
Schedule
)
ProtoReflect
()
protoreflect
.
Message
func (*Schedule) Reset
func
(
x
*
Schedule
)
Reset
()
func (*Schedule) String
SpecSource
type
SpecSource
struct
{
// The game server config resource. Uses the form:
//
// `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
GameServerConfigName
string
`protobuf:"bytes,1,opt,name=game_server_config_name,json=gameServerConfigName,proto3" json:"game_server_config_name,omitempty"`
// The name of the Agones leet config or Agones scaling config used to derive
// the Agones fleet or Agones autoscaler spec.
Name
string
`protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Encapsulates Agones fleet spec and Agones autoscaler spec sources.
func (*SpecSource) Descriptor
func
(
*
SpecSource
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use SpecSource.ProtoReflect.Descriptor instead.
func (*SpecSource) GetGameServerConfigName
func
(
x
*
SpecSource
)
GetGameServerConfigName
()
string
func (*SpecSource) GetName
func
(
x
*
SpecSource
)
GetName
()
string
func (*SpecSource) ProtoMessage
func
(
*
SpecSource
)
ProtoMessage
()
func (*SpecSource) ProtoReflect
func
(
x
*
SpecSource
)
ProtoReflect
()
protoreflect
.
Message
func (*SpecSource) Reset
func
(
x
*
SpecSource
)
Reset
()
func (*SpecSource) String
func
(
x
*
SpecSource
)
String
()
string
TargetDetails
type
TargetDetails
struct
{
GameServerClusterName
string
""
/* 128 byte string literal not displayed */
GameServerDeploymentName
string
""
/* 137 byte string literal not displayed */
FleetDetails
[]
*
TargetDetails_TargetFleetDetails
`protobuf:"bytes,3,rep,name=fleet_details,json=fleetDetails,proto3" json:"fleet_details,omitempty"`
}
Details about the Agones resources.
func (*TargetDetails) Descriptor
func
(
*
TargetDetails
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use TargetDetails.ProtoReflect.Descriptor instead.
func (*TargetDetails) GetFleetDetails
func
(
x
*
TargetDetails
)
GetFleetDetails
()
[]
*
TargetDetails_TargetFleetDetails
func (*TargetDetails) GetGameServerClusterName
func
(
x
*
TargetDetails
)
GetGameServerClusterName
()
string
func (*TargetDetails) GetGameServerDeploymentName
func
(
x
*
TargetDetails
)
GetGameServerDeploymentName
()
string
func (*TargetDetails) ProtoMessage
func
(
*
TargetDetails
)
ProtoMessage
()
func (*TargetDetails) ProtoReflect
func
(
x
*
TargetDetails
)
ProtoReflect
()
protoreflect
.
Message
func (*TargetDetails) Reset
func
(
x
*
TargetDetails
)
Reset
()
func (*TargetDetails) String
func
(
x
*
TargetDetails
)
String
()
string
TargetDetails_TargetFleetDetails
type
TargetDetails_TargetFleetDetails
struct
{
// Reference to target Agones fleet.
Fleet
*
TargetDetails_TargetFleetDetails_TargetFleet
`protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"`
// Reference to target Agones fleet autoscaling policy.
Autoscaler
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
`protobuf:"bytes,2,opt,name=autoscaler,proto3" json:"autoscaler,omitempty"`
// contains filtered or unexported fields
}
Details of the target Agones fleet.
func (*TargetDetails_TargetFleetDetails) Descriptor
func
(
*
TargetDetails_TargetFleetDetails
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use TargetDetails_TargetFleetDetails.ProtoReflect.Descriptor instead.
func (*TargetDetails_TargetFleetDetails) GetAutoscaler
func
(
x
*
TargetDetails_TargetFleetDetails
)
GetAutoscaler
()
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
func (*TargetDetails_TargetFleetDetails) GetFleet
func
(
x
*
TargetDetails_TargetFleetDetails
)
GetFleet
()
*
TargetDetails_TargetFleetDetails_TargetFleet
func (*TargetDetails_TargetFleetDetails) ProtoMessage
func
(
*
TargetDetails_TargetFleetDetails
)
ProtoMessage
()
func (*TargetDetails_TargetFleetDetails) ProtoReflect
func
(
x
*
TargetDetails_TargetFleetDetails
)
ProtoReflect
()
protoreflect
.
Message
func (*TargetDetails_TargetFleetDetails) Reset
func
(
x
*
TargetDetails_TargetFleetDetails
)
Reset
()
func (*TargetDetails_TargetFleetDetails) String
func
(
x
*
TargetDetails_TargetFleetDetails
)
String
()
string
TargetDetails_TargetFleetDetails_TargetFleet
type
TargetDetails_TargetFleetDetails_TargetFleet
struct
{
// The name of the Agones fleet.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Encapsulates the source of the Agones fleet spec.
// The Agones fleet spec source.
SpecSource
*
SpecSource
`protobuf:"bytes,2,opt,name=spec_source,json=specSource,proto3" json:"spec_source,omitempty"`
// contains filtered or unexported fields
}
Target Agones fleet specification.
func (*TargetDetails_TargetFleetDetails_TargetFleet) Descriptor
func
(
*
TargetDetails_TargetFleetDetails_TargetFleet
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use TargetDetails_TargetFleetDetails_TargetFleet.ProtoReflect.Descriptor instead.
func (*TargetDetails_TargetFleetDetails_TargetFleet) GetName
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleet
)
GetName
()
string
func (*TargetDetails_TargetFleetDetails_TargetFleet) GetSpecSource
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleet
)
GetSpecSource
()
*
SpecSource
func (*TargetDetails_TargetFleetDetails_TargetFleet) ProtoMessage
func
(
*
TargetDetails_TargetFleetDetails_TargetFleet
)
ProtoMessage
()
func (*TargetDetails_TargetFleetDetails_TargetFleet) ProtoReflect
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleet
)
ProtoReflect
()
protoreflect
.
Message
func (*TargetDetails_TargetFleetDetails_TargetFleet) Reset
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleet
)
Reset
()
func (*TargetDetails_TargetFleetDetails_TargetFleet) String
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleet
)
String
()
string
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
type
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
struct
{
// The name of the Agones autoscaler.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Encapsulates the source of the Agones fleet spec.
// Details about the Agones autoscaler spec.
SpecSource
*
SpecSource
`protobuf:"bytes,2,opt,name=spec_source,json=specSource,proto3" json:"spec_source,omitempty"`
// contains filtered or unexported fields
}
Target Agones autoscaler policy reference.
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) Descriptor
func
(
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use TargetDetails_TargetFleetDetails_TargetFleetAutoscaler.ProtoReflect.Descriptor instead.
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) GetName
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
GetName
()
string
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) GetSpecSource
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
GetSpecSource
()
*
SpecSource
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) ProtoMessage
func
(
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
ProtoMessage
()
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) ProtoReflect
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
ProtoReflect
()
protoreflect
.
Message
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) Reset
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
Reset
()
func (*TargetDetails_TargetFleetDetails_TargetFleetAutoscaler) String
func
(
x
*
TargetDetails_TargetFleetDetails_TargetFleetAutoscaler
)
String
()
string
TargetState
type
TargetState
struct
{
// Details about Agones fleets.
Details
[]
*
TargetDetails
`protobuf:"bytes,1,rep,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
Encapsulates the Target state.
func (*TargetState) Descriptor
func
(
*
TargetState
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use TargetState.ProtoReflect.Descriptor instead.
func (*TargetState) GetDetails
func
(
x
*
TargetState
)
GetDetails
()
[]
*
TargetDetails
func (*TargetState) ProtoMessage
func
(
*
TargetState
)
ProtoMessage
()
func (*TargetState) ProtoReflect
func
(
x
*
TargetState
)
ProtoReflect
()
protoreflect
.
Message
func (*TargetState) Reset
func
(
x
*
TargetState
)
Reset
()
func (*TargetState) String
func
(
x
*
TargetState
)
String
()
string
UnimplementedGameServerClustersServiceServer
type
UnimplementedGameServerClustersServiceServer
struct
{
}
UnimplementedGameServerClustersServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedGameServerClustersServiceServer) CreateGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
CreateGameServerCluster
(
context
.
Context
,
*
CreateGameServerClusterRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerClustersServiceServer) DeleteGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
DeleteGameServerCluster
(
context
.
Context
,
*
DeleteGameServerClusterRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerClustersServiceServer) GetGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
GetGameServerCluster
(
context
.
Context
,
*
GetGameServerClusterRequest
)
(
*
GameServerCluster
,
error
)
func (*UnimplementedGameServerClustersServiceServer) ListGameServerClusters
func
(
*
UnimplementedGameServerClustersServiceServer
)
ListGameServerClusters
(
context
.
Context
,
*
ListGameServerClustersRequest
)
(
*
ListGameServerClustersResponse
,
error
)
func (*UnimplementedGameServerClustersServiceServer) PreviewCreateGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
PreviewCreateGameServerCluster
(
context
.
Context
,
*
PreviewCreateGameServerClusterRequest
)
(
*
PreviewCreateGameServerClusterResponse
,
error
)
func (*UnimplementedGameServerClustersServiceServer) PreviewDeleteGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
PreviewDeleteGameServerCluster
(
context
.
Context
,
*
PreviewDeleteGameServerClusterRequest
)
(
*
PreviewDeleteGameServerClusterResponse
,
error
)
func (*UnimplementedGameServerClustersServiceServer) PreviewUpdateGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
PreviewUpdateGameServerCluster
(
context
.
Context
,
*
PreviewUpdateGameServerClusterRequest
)
(
*
PreviewUpdateGameServerClusterResponse
,
error
)
func (*UnimplementedGameServerClustersServiceServer) UpdateGameServerCluster
func
(
*
UnimplementedGameServerClustersServiceServer
)
UpdateGameServerCluster
(
context
.
Context
,
*
UpdateGameServerClusterRequest
)
(
*
longrunningpb
.
Operation
,
error
)
UnimplementedGameServerConfigsServiceServer
type
UnimplementedGameServerConfigsServiceServer
struct
{
}
UnimplementedGameServerConfigsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedGameServerConfigsServiceServer) CreateGameServerConfig
func
(
*
UnimplementedGameServerConfigsServiceServer
)
CreateGameServerConfig
(
context
.
Context
,
*
CreateGameServerConfigRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerConfigsServiceServer) DeleteGameServerConfig
func
(
*
UnimplementedGameServerConfigsServiceServer
)
DeleteGameServerConfig
(
context
.
Context
,
*
DeleteGameServerConfigRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerConfigsServiceServer) GetGameServerConfig
func
(
*
UnimplementedGameServerConfigsServiceServer
)
GetGameServerConfig
(
context
.
Context
,
*
GetGameServerConfigRequest
)
(
*
GameServerConfig
,
error
)
func (*UnimplementedGameServerConfigsServiceServer) ListGameServerConfigs
func
(
*
UnimplementedGameServerConfigsServiceServer
)
ListGameServerConfigs
(
context
.
Context
,
*
ListGameServerConfigsRequest
)
(
*
ListGameServerConfigsResponse
,
error
)
UnimplementedGameServerDeploymentsServiceServer
type
UnimplementedGameServerDeploymentsServiceServer
struct
{
}
UnimplementedGameServerDeploymentsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedGameServerDeploymentsServiceServer) CreateGameServerDeployment
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
CreateGameServerDeployment
(
context
.
Context
,
*
CreateGameServerDeploymentRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) DeleteGameServerDeployment
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
DeleteGameServerDeployment
(
context
.
Context
,
*
DeleteGameServerDeploymentRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) FetchDeploymentState
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
FetchDeploymentState
(
context
.
Context
,
*
FetchDeploymentStateRequest
)
(
*
FetchDeploymentStateResponse
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) GetGameServerDeployment
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
GetGameServerDeployment
(
context
.
Context
,
*
GetGameServerDeploymentRequest
)
(
*
GameServerDeployment
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) GetGameServerDeploymentRollout
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
GetGameServerDeploymentRollout
(
context
.
Context
,
*
GetGameServerDeploymentRolloutRequest
)
(
*
GameServerDeploymentRollout
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) ListGameServerDeployments
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
ListGameServerDeployments
(
context
.
Context
,
*
ListGameServerDeploymentsRequest
)
(
*
ListGameServerDeploymentsResponse
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) PreviewGameServerDeploymentRollout
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
PreviewGameServerDeploymentRollout
(
context
.
Context
,
*
PreviewGameServerDeploymentRolloutRequest
)
(
*
PreviewGameServerDeploymentRolloutResponse
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) UpdateGameServerDeployment
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
UpdateGameServerDeployment
(
context
.
Context
,
*
UpdateGameServerDeploymentRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedGameServerDeploymentsServiceServer) UpdateGameServerDeploymentRollout
func
(
*
UnimplementedGameServerDeploymentsServiceServer
)
UpdateGameServerDeploymentRollout
(
context
.
Context
,
*
UpdateGameServerDeploymentRolloutRequest
)
(
*
longrunningpb
.
Operation
,
error
)
UnimplementedRealmsServiceServer
type
UnimplementedRealmsServiceServer
struct
{
}
UnimplementedRealmsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedRealmsServiceServer) CreateRealm
func
(
*
UnimplementedRealmsServiceServer
)
CreateRealm
(
context
.
Context
,
*
CreateRealmRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedRealmsServiceServer) DeleteRealm
func
(
*
UnimplementedRealmsServiceServer
)
DeleteRealm
(
context
.
Context
,
*
DeleteRealmRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedRealmsServiceServer) GetRealm
func
(
*
UnimplementedRealmsServiceServer
)
GetRealm
(
context
.
Context
,
*
GetRealmRequest
)
(
*
Realm
,
error
)
func (*UnimplementedRealmsServiceServer) ListRealms
func
(
*
UnimplementedRealmsServiceServer
)
ListRealms
(
context
.
Context
,
*
ListRealmsRequest
)
(
*
ListRealmsResponse
,
error
)
func (*UnimplementedRealmsServiceServer) PreviewRealmUpdate
func
(
*
UnimplementedRealmsServiceServer
)
PreviewRealmUpdate
(
context
.
Context
,
*
PreviewRealmUpdateRequest
)
(
*
PreviewRealmUpdateResponse
,
error
)
func (*UnimplementedRealmsServiceServer) UpdateRealm
func
(
*
UnimplementedRealmsServiceServer
)
UpdateRealm
(
context
.
Context
,
*
UpdateRealmRequest
)
(
*
longrunningpb
.
Operation
,
error
)
UpdateGameServerClusterRequest
type
UpdateGameServerClusterRequest
struct
{
// Required. The game server cluster to be updated.
// Only fields specified in update_mask are updated.
GameServerCluster
*
GameServerCluster
`protobuf:"bytes,1,opt,name=game_server_cluster,json=gameServerCluster,proto3" json:"game_server_cluster,omitempty"`
// Required. Mask of fields to update. At least one path must be supplied in
// this field. For the `FieldMask` definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerClustersService.UpdateGameServerCluster.
func (*UpdateGameServerClusterRequest) Descriptor
func
(
*
UpdateGameServerClusterRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use UpdateGameServerClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateGameServerClusterRequest) GetGameServerCluster
func
(
x
*
UpdateGameServerClusterRequest
)
GetGameServerCluster
()
*
GameServerCluster
func (*UpdateGameServerClusterRequest) GetUpdateMask
func
(
x
*
UpdateGameServerClusterRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdateGameServerClusterRequest) ProtoMessage
func
(
*
UpdateGameServerClusterRequest
)
ProtoMessage
()
func (*UpdateGameServerClusterRequest) ProtoReflect
func
(
x
*
UpdateGameServerClusterRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdateGameServerClusterRequest) Reset
func
(
x
*
UpdateGameServerClusterRequest
)
Reset
()
func (*UpdateGameServerClusterRequest) String
func
(
x
*
UpdateGameServerClusterRequest
)
String
()
string
UpdateGameServerDeploymentRequest
type
UpdateGameServerDeploymentRequest
struct
{
// Required. The game server delpoyment to be updated.
// Only fields specified in update_mask are updated.
GameServerDeployment
*
GameServerDeployment
`protobuf:"bytes,1,opt,name=game_server_deployment,json=gameServerDeployment,proto3" json:"game_server_deployment,omitempty"`
// Required. Mask of fields to update. At least one path must be supplied in
// this field. For the `FieldMask` definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.UpdateGameServerDeployment. Only allows updates for labels.
func (*UpdateGameServerDeploymentRequest) Descriptor
func
(
*
UpdateGameServerDeploymentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use UpdateGameServerDeploymentRequest.ProtoReflect.Descriptor instead.
func (*UpdateGameServerDeploymentRequest) GetGameServerDeployment
func
(
x
*
UpdateGameServerDeploymentRequest
)
GetGameServerDeployment
()
*
GameServerDeployment
func (*UpdateGameServerDeploymentRequest) GetUpdateMask
func
(
x
*
UpdateGameServerDeploymentRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdateGameServerDeploymentRequest) ProtoMessage
func
(
*
UpdateGameServerDeploymentRequest
)
ProtoMessage
()
func (*UpdateGameServerDeploymentRequest) ProtoReflect
func
(
x
*
UpdateGameServerDeploymentRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdateGameServerDeploymentRequest) Reset
func
(
x
*
UpdateGameServerDeploymentRequest
)
Reset
()
func (*UpdateGameServerDeploymentRequest) String
func
(
x
*
UpdateGameServerDeploymentRequest
)
String
()
string
UpdateGameServerDeploymentRolloutRequest
type
UpdateGameServerDeploymentRolloutRequest
struct
{
// Required. The game server delpoyment rollout to be updated.
// Only fields specified in update_mask are updated.
Rollout
*
GameServerDeploymentRollout
`protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Required. Mask of fields to update. At least one path must be supplied in
// this field. For the `FieldMask` definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for GameServerDeploymentsService.UpdateGameServerRolloutDeployment.
func (*UpdateGameServerDeploymentRolloutRequest) Descriptor
func
(
*
UpdateGameServerDeploymentRolloutRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use UpdateGameServerDeploymentRolloutRequest.ProtoReflect.Descriptor instead.
func (*UpdateGameServerDeploymentRolloutRequest) GetRollout
func
(
x
*
UpdateGameServerDeploymentRolloutRequest
)
GetRollout
()
*
GameServerDeploymentRollout
func (*UpdateGameServerDeploymentRolloutRequest) GetUpdateMask
func
(
x
*
UpdateGameServerDeploymentRolloutRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdateGameServerDeploymentRolloutRequest) ProtoMessage
func
(
*
UpdateGameServerDeploymentRolloutRequest
)
ProtoMessage
()
func (*UpdateGameServerDeploymentRolloutRequest) ProtoReflect
func
(
x
*
UpdateGameServerDeploymentRolloutRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdateGameServerDeploymentRolloutRequest) Reset
func
(
x
*
UpdateGameServerDeploymentRolloutRequest
)
Reset
()
func (*UpdateGameServerDeploymentRolloutRequest) String
func
(
x
*
UpdateGameServerDeploymentRolloutRequest
)
String
()
string
UpdateRealmRequest
type
UpdateRealmRequest
struct
{
// Required. The realm to be updated.
// Only fields specified in update_mask are updated.
Realm
*
Realm
`protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
// Required. The update mask applies to the resource. For the `FieldMask`
// definition, see
//
// https:
// //developers.google.com/protocol-buffers
// // /docs/reference/google.protobuf#fieldmask
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for RealmsService.UpdateRealm.
func (*UpdateRealmRequest) Descriptor
func
(
*
UpdateRealmRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use UpdateRealmRequest.ProtoReflect.Descriptor instead.
func (*UpdateRealmRequest) GetRealm
func
(
x
*
UpdateRealmRequest
)
GetRealm
()
*
Realm
func (*UpdateRealmRequest) GetUpdateMask
func
(
x
*
UpdateRealmRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdateRealmRequest) ProtoMessage
func
(
*
UpdateRealmRequest
)
ProtoMessage
()
func (*UpdateRealmRequest) ProtoReflect
func
(
x
*
UpdateRealmRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdateRealmRequest) Reset
func
(
x
*
UpdateRealmRequest
)
Reset
()
func (*UpdateRealmRequest) String
func
(
x
*
UpdateRealmRequest
)
String
()
string