google-cloud-gaming-v1 0.6.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -143
  3. data/lib/google/cloud/gaming/v1/version.rb +3 -8
  4. metadata +16 -229
  5. data/.yardopts +0 -12
  6. data/AUTHENTICATION.md +0 -151
  7. data/lib/google/cloud/gaming/v1/common_pb.rb +0 -117
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +0 -142
  9. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +0 -1166
  10. data/lib/google/cloud/gaming/v1/game_server_clusters_service/credentials.rb +0 -51
  11. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +0 -768
  12. data/lib/google/cloud/gaming/v1/game_server_clusters_service/paths.rb +0 -73
  13. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +0 -936
  14. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +0 -793
  15. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +0 -524
  16. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest.rb +0 -54
  17. data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +0 -57
  18. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +0 -23
  19. data/lib/google/cloud/gaming/v1/game_server_clusters_service_services_pb.rb +0 -61
  20. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +0 -73
  21. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +0 -736
  22. data/lib/google/cloud/gaming/v1/game_server_configs_service/credentials.rb +0 -51
  23. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +0 -768
  24. data/lib/google/cloud/gaming/v1/game_server_configs_service/paths.rb +0 -73
  25. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +0 -605
  26. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +0 -793
  27. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +0 -285
  28. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest.rb +0 -53
  29. data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +0 -56
  30. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +0 -23
  31. data/lib/google/cloud/gaming/v1/game_server_configs_service_services_pb.rb +0 -55
  32. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +0 -119
  33. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +0 -1257
  34. data/lib/google/cloud/gaming/v1/game_server_deployments_service/credentials.rb +0 -51
  35. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +0 -768
  36. data/lib/google/cloud/gaming/v1/game_server_deployments_service/paths.rb +0 -88
  37. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +0 -997
  38. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +0 -793
  39. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +0 -584
  40. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest.rb +0 -54
  41. data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +0 -57
  42. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +0 -23
  43. data/lib/google/cloud/gaming/v1/game_server_deployments_service_services_pb.rb +0 -70
  44. data/lib/google/cloud/gaming/v1/realms_pb.rb +0 -78
  45. data/lib/google/cloud/gaming/v1/realms_service/client.rb +0 -945
  46. data/lib/google/cloud/gaming/v1/realms_service/credentials.rb +0 -51
  47. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +0 -768
  48. data/lib/google/cloud/gaming/v1/realms_service/paths.rb +0 -69
  49. data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +0 -761
  50. data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +0 -793
  51. data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +0 -405
  52. data/lib/google/cloud/gaming/v1/realms_service/rest.rb +0 -54
  53. data/lib/google/cloud/gaming/v1/realms_service.rb +0 -57
  54. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +0 -23
  55. data/lib/google/cloud/gaming/v1/realms_service_services_pb.rb +0 -56
  56. data/lib/google/cloud/gaming/v1/rest.rb +0 -40
  57. data/lib/google/cloud/gaming/v1.rb +0 -48
  58. data/lib/google-cloud-gaming-v1.rb +0 -21
  59. data/proto_docs/README.md +0 -4
  60. data/proto_docs/google/api/client.rb +0 -318
  61. data/proto_docs/google/api/field_behavior.rb +0 -71
  62. data/proto_docs/google/api/launch_stage.rb +0 -71
  63. data/proto_docs/google/api/resource.rb +0 -222
  64. data/proto_docs/google/cloud/gaming/v1/common.rb +0 -302
  65. data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +0 -386
  66. data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +0 -180
  67. data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +0 -301
  68. data/proto_docs/google/cloud/gaming/v1/realms.rb +0 -191
  69. data/proto_docs/google/longrunning/operations.rb +0 -164
  70. data/proto_docs/google/protobuf/any.rb +0 -141
  71. data/proto_docs/google/protobuf/duration.rb +0 -98
  72. data/proto_docs/google/protobuf/empty.rb +0 -34
  73. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  74. data/proto_docs/google/protobuf/timestamp.rb +0 -129
  75. data/proto_docs/google/rpc/status.rb +0 -48
@@ -1,222 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2020 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Api
22
- # A simple descriptor of a resource type.
23
- #
24
- # ResourceDescriptor annotates a resource message (either by means of a
25
- # protobuf annotation or use in the service config), and associates the
26
- # resource's schema, the resource type, and the pattern of the resource name.
27
- #
28
- # Example:
29
- #
30
- # message Topic {
31
- # // Indicates this message defines a resource schema.
32
- # // Declares the resource type in the format of {service}/{kind}.
33
- # // For Kubernetes resources, the format is {api group}/{kind}.
34
- # option (google.api.resource) = {
35
- # type: "pubsub.googleapis.com/Topic"
36
- # pattern: "projects/{project}/topics/{topic}"
37
- # };
38
- # }
39
- #
40
- # The ResourceDescriptor Yaml config will look like:
41
- #
42
- # resources:
43
- # - type: "pubsub.googleapis.com/Topic"
44
- # pattern: "projects/{project}/topics/{topic}"
45
- #
46
- # Sometimes, resources have multiple patterns, typically because they can
47
- # live under multiple parents.
48
- #
49
- # Example:
50
- #
51
- # message LogEntry {
52
- # option (google.api.resource) = {
53
- # type: "logging.googleapis.com/LogEntry"
54
- # pattern: "projects/{project}/logs/{log}"
55
- # pattern: "folders/{folder}/logs/{log}"
56
- # pattern: "organizations/{organization}/logs/{log}"
57
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
58
- # };
59
- # }
60
- #
61
- # The ResourceDescriptor Yaml config will look like:
62
- #
63
- # resources:
64
- # - type: 'logging.googleapis.com/LogEntry'
65
- # pattern: "projects/{project}/logs/{log}"
66
- # pattern: "folders/{folder}/logs/{log}"
67
- # pattern: "organizations/{organization}/logs/{log}"
68
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
69
- # @!attribute [rw] type
70
- # @return [::String]
71
- # The resource type. It must be in the format of
72
- # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
73
- # singular and must not include version numbers.
74
- #
75
- # Example: `storage.googleapis.com/Bucket`
76
- #
77
- # The value of the resource_type_kind must follow the regular expression
78
- # /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
79
- # should use PascalCase (UpperCamelCase). The maximum number of
80
- # characters allowed for the `resource_type_kind` is 100.
81
- # @!attribute [rw] pattern
82
- # @return [::Array<::String>]
83
- # Optional. The relative resource name pattern associated with this resource
84
- # type. The DNS prefix of the full resource name shouldn't be specified here.
85
- #
86
- # The path pattern must follow the syntax, which aligns with HTTP binding
87
- # syntax:
88
- #
89
- # Template = Segment { "/" Segment } ;
90
- # Segment = LITERAL | Variable ;
91
- # Variable = "{" LITERAL "}" ;
92
- #
93
- # Examples:
94
- #
95
- # - "projects/\\{project}/topics/\\{topic}"
96
- # - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
97
- #
98
- # The components in braces correspond to the IDs for each resource in the
99
- # hierarchy. It is expected that, if multiple patterns are provided,
100
- # the same component name (e.g. "project") refers to IDs of the same
101
- # type of resource.
102
- # @!attribute [rw] name_field
103
- # @return [::String]
104
- # Optional. The field on the resource that designates the resource name
105
- # field. If omitted, this is assumed to be "name".
106
- # @!attribute [rw] history
107
- # @return [::Google::Api::ResourceDescriptor::History]
108
- # Optional. The historical or future-looking state of the resource pattern.
109
- #
110
- # Example:
111
- #
112
- # // The InspectTemplate message originally only supported resource
113
- # // names with organization, and project was added later.
114
- # message InspectTemplate {
115
- # option (google.api.resource) = {
116
- # type: "dlp.googleapis.com/InspectTemplate"
117
- # pattern:
118
- # "organizations/{organization}/inspectTemplates/{inspect_template}"
119
- # pattern: "projects/{project}/inspectTemplates/{inspect_template}"
120
- # history: ORIGINALLY_SINGLE_PATTERN
121
- # };
122
- # }
123
- # @!attribute [rw] plural
124
- # @return [::String]
125
- # The plural name used in the resource name and permission names, such as
126
- # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
129
- # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
- #
131
- # Note: The plural form is required even for singleton resources. See
132
- # https://aip.dev/156
133
- # @!attribute [rw] singular
134
- # @return [::String]
135
- # The same concept of the `singular` field in k8s CRD spec
136
- # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
137
- # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
138
- # @!attribute [rw] style
139
- # @return [::Array<::Google::Api::ResourceDescriptor::Style>]
140
- # Style flag(s) for this resource.
141
- # These indicate that a resource is expected to conform to a given
142
- # style. See the specific style flags for additional information.
143
- class ResourceDescriptor
144
- include ::Google::Protobuf::MessageExts
145
- extend ::Google::Protobuf::MessageExts::ClassMethods
146
-
147
- # A description of the historical or future-looking state of the
148
- # resource pattern.
149
- module History
150
- # The "unset" value.
151
- HISTORY_UNSPECIFIED = 0
152
-
153
- # The resource originally had one pattern and launched as such, and
154
- # additional patterns were added later.
155
- ORIGINALLY_SINGLE_PATTERN = 1
156
-
157
- # The resource has one pattern, but the API owner expects to add more
158
- # later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
159
- # that from being necessary once there are multiple patterns.)
160
- FUTURE_MULTI_PATTERN = 2
161
- end
162
-
163
- # A flag representing a specific style that a resource claims to conform to.
164
- module Style
165
- # The unspecified value. Do not use.
166
- STYLE_UNSPECIFIED = 0
167
-
168
- # This resource is intended to be "declarative-friendly".
169
- #
170
- # Declarative-friendly resources must be more strictly consistent, and
171
- # setting this to true communicates to tools that this resource should
172
- # adhere to declarative-friendly expectations.
173
- #
174
- # Note: This is used by the API linter (linter.aip.dev) to enable
175
- # additional checks.
176
- DECLARATIVE_FRIENDLY = 1
177
- end
178
- end
179
-
180
- # Defines a proto annotation that describes a string field that refers to
181
- # an API resource.
182
- # @!attribute [rw] type
183
- # @return [::String]
184
- # The resource type that the annotated field references.
185
- #
186
- # Example:
187
- #
188
- # message Subscription {
189
- # string topic = 2 [(google.api.resource_reference) = {
190
- # type: "pubsub.googleapis.com/Topic"
191
- # }];
192
- # }
193
- #
194
- # Occasionally, a field may reference an arbitrary resource. In this case,
195
- # APIs use the special value * in their resource reference.
196
- #
197
- # Example:
198
- #
199
- # message GetIamPolicyRequest {
200
- # string resource = 2 [(google.api.resource_reference) = {
201
- # type: "*"
202
- # }];
203
- # }
204
- # @!attribute [rw] child_type
205
- # @return [::String]
206
- # The resource type of a child collection that the annotated field
207
- # references. This is useful for annotating the `parent` field that
208
- # doesn't have a fixed resource type.
209
- #
210
- # Example:
211
- #
212
- # message ListLogEntriesRequest {
213
- # string parent = 1 [(google.api.resource_reference) = {
214
- # child_type: "logging.googleapis.com/LogEntry"
215
- # };
216
- # }
217
- class ResourceReference
218
- include ::Google::Protobuf::MessageExts
219
- extend ::Google::Protobuf::MessageExts::ClassMethods
220
- end
221
- end
222
- end
@@ -1,302 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2020 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Cloud
22
- module Gaming
23
- module V1
24
- # Represents the metadata of the long-running operation.
25
- # @!attribute [r] create_time
26
- # @return [::Google::Protobuf::Timestamp]
27
- # Output only. The time the operation was created.
28
- # @!attribute [r] end_time
29
- # @return [::Google::Protobuf::Timestamp]
30
- # Output only. The time the operation finished running.
31
- # @!attribute [r] target
32
- # @return [::String]
33
- # Output only. Server-defined resource path for the target of the operation.
34
- # @!attribute [r] verb
35
- # @return [::String]
36
- # Output only. Name of the verb executed by the operation.
37
- # @!attribute [r] status_message
38
- # @return [::String]
39
- # Output only. Human-readable status of the operation, if any.
40
- # @!attribute [r] requested_cancellation
41
- # @return [::Boolean]
42
- # Output only. Identifies whether the user has requested cancellation
43
- # of the operation. Operations that have successfully been cancelled
44
- # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
45
- # corresponding to `Code.CANCELLED`.
46
- # @!attribute [r] api_version
47
- # @return [::String]
48
- # Output only. API version used to start the operation.
49
- # @!attribute [r] unreachable
50
- # @return [::Array<::String>]
51
- # Output only. List of Locations that could not be reached.
52
- # @!attribute [r] operation_status
53
- # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Gaming::V1::OperationStatus}]
54
- # Output only. Operation status for Game Services API operations. Operation status is in
55
- # the form of key-value pairs where keys are resource IDs and the values show
56
- # the status of the operation. In case of failures, the value includes an
57
- # error code and error message.
58
- class OperationMetadata
59
- include ::Google::Protobuf::MessageExts
60
- extend ::Google::Protobuf::MessageExts::ClassMethods
61
-
62
- # @!attribute [rw] key
63
- # @return [::String]
64
- # @!attribute [rw] value
65
- # @return [::Google::Cloud::Gaming::V1::OperationStatus]
66
- class OperationStatusEntry
67
- include ::Google::Protobuf::MessageExts
68
- extend ::Google::Protobuf::MessageExts::ClassMethods
69
- end
70
- end
71
-
72
- # @!attribute [r] done
73
- # @return [::Boolean]
74
- # Output only. Whether the operation is done or still in progress.
75
- # @!attribute [rw] error_code
76
- # @return [::Google::Cloud::Gaming::V1::OperationStatus::ErrorCode]
77
- # The error code in case of failures.
78
- # @!attribute [rw] error_message
79
- # @return [::String]
80
- # The human-readable error message.
81
- class OperationStatus
82
- include ::Google::Protobuf::MessageExts
83
- extend ::Google::Protobuf::MessageExts::ClassMethods
84
-
85
- module ErrorCode
86
- ERROR_CODE_UNSPECIFIED = 0
87
-
88
- INTERNAL_ERROR = 1
89
-
90
- PERMISSION_DENIED = 2
91
-
92
- CLUSTER_CONNECTION = 3
93
- end
94
- end
95
-
96
- # The label selector, used to group labels on the resources.
97
- # @!attribute [rw] labels
98
- # @return [::Google::Protobuf::Map{::String => ::String}]
99
- # Resource labels for this selector.
100
- class LabelSelector
101
- include ::Google::Protobuf::MessageExts
102
- extend ::Google::Protobuf::MessageExts::ClassMethods
103
-
104
- # @!attribute [rw] key
105
- # @return [::String]
106
- # @!attribute [rw] value
107
- # @return [::String]
108
- class LabelsEntry
109
- include ::Google::Protobuf::MessageExts
110
- extend ::Google::Protobuf::MessageExts::ClassMethods
111
- end
112
- end
113
-
114
- # The realm selector, used to match realm resources.
115
- # @!attribute [rw] realms
116
- # @return [::Array<::String>]
117
- # List of realms to match.
118
- class RealmSelector
119
- include ::Google::Protobuf::MessageExts
120
- extend ::Google::Protobuf::MessageExts::ClassMethods
121
- end
122
-
123
- # The schedule of a recurring or one time event. The event's time span is
124
- # specified by start_time and end_time. If the scheduled event's timespan is
125
- # larger than the cron_spec + cron_job_duration, the event will be recurring.
126
- # If only cron_spec + cron_job_duration are specified, the event is effective
127
- # starting at the local time specified by cron_spec, and is recurring.
128
- #
129
- # ```
130
- # start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
131
- # cron job: cron spec start time + duration
132
- # ```
133
- # @!attribute [rw] start_time
134
- # @return [::Google::Protobuf::Timestamp]
135
- # The start time of the event.
136
- # @!attribute [rw] end_time
137
- # @return [::Google::Protobuf::Timestamp]
138
- # The end time of the event.
139
- # @!attribute [rw] cron_job_duration
140
- # @return [::Google::Protobuf::Duration]
141
- # The duration for the cron job event. The duration of the event is effective
142
- # after the cron job's start time.
143
- # @!attribute [rw] cron_spec
144
- # @return [::String]
145
- # The cron definition of the scheduled event. See
146
- # https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
147
- # defined by the realm.
148
- class Schedule
149
- include ::Google::Protobuf::MessageExts
150
- extend ::Google::Protobuf::MessageExts::ClassMethods
151
- end
152
-
153
- # Encapsulates Agones fleet spec and Agones autoscaler spec sources.
154
- # @!attribute [rw] game_server_config_name
155
- # @return [::String]
156
- # The game server config resource. Uses the form:
157
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
158
- # @!attribute [rw] name
159
- # @return [::String]
160
- # The name of the Agones leet config or Agones scaling config used to derive
161
- # the Agones fleet or Agones autoscaler spec.
162
- class SpecSource
163
- include ::Google::Protobuf::MessageExts
164
- extend ::Google::Protobuf::MessageExts::ClassMethods
165
- end
166
-
167
- # Details about the Agones resources.
168
- # @!attribute [rw] game_server_cluster_name
169
- # @return [::String]
170
- # The game server cluster name. Uses the form:
171
- # `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
172
- # @!attribute [rw] game_server_deployment_name
173
- # @return [::String]
174
- # The game server deployment name. Uses the form:
175
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
176
- # @!attribute [rw] fleet_details
177
- # @return [::Array<::Google::Cloud::Gaming::V1::TargetDetails::TargetFleetDetails>]
178
- # Agones fleet details for game server clusters and game server deployments.
179
- class TargetDetails
180
- include ::Google::Protobuf::MessageExts
181
- extend ::Google::Protobuf::MessageExts::ClassMethods
182
-
183
- # Details of the target Agones fleet.
184
- # @!attribute [rw] fleet
185
- # @return [::Google::Cloud::Gaming::V1::TargetDetails::TargetFleetDetails::TargetFleet]
186
- # Reference to target Agones fleet.
187
- # @!attribute [rw] autoscaler
188
- # @return [::Google::Cloud::Gaming::V1::TargetDetails::TargetFleetDetails::TargetFleetAutoscaler]
189
- # Reference to target Agones fleet autoscaling policy.
190
- class TargetFleetDetails
191
- include ::Google::Protobuf::MessageExts
192
- extend ::Google::Protobuf::MessageExts::ClassMethods
193
-
194
- # Target Agones fleet specification.
195
- # @!attribute [rw] name
196
- # @return [::String]
197
- # The name of the Agones fleet.
198
- # @!attribute [rw] spec_source
199
- # @return [::Google::Cloud::Gaming::V1::SpecSource]
200
- # Encapsulates the source of the Agones fleet spec.
201
- # The Agones fleet spec source.
202
- class TargetFleet
203
- include ::Google::Protobuf::MessageExts
204
- extend ::Google::Protobuf::MessageExts::ClassMethods
205
- end
206
-
207
- # Target Agones autoscaler policy reference.
208
- # @!attribute [rw] name
209
- # @return [::String]
210
- # The name of the Agones autoscaler.
211
- # @!attribute [rw] spec_source
212
- # @return [::Google::Cloud::Gaming::V1::SpecSource]
213
- # Encapsulates the source of the Agones fleet spec.
214
- # Details about the Agones autoscaler spec.
215
- class TargetFleetAutoscaler
216
- include ::Google::Protobuf::MessageExts
217
- extend ::Google::Protobuf::MessageExts::ClassMethods
218
- end
219
- end
220
- end
221
-
222
- # Encapsulates the Target state.
223
- # @!attribute [rw] details
224
- # @return [::Array<::Google::Cloud::Gaming::V1::TargetDetails>]
225
- # Details about Agones fleets.
226
- class TargetState
227
- include ::Google::Protobuf::MessageExts
228
- extend ::Google::Protobuf::MessageExts::ClassMethods
229
- end
230
-
231
- # Details of the deployed Agones fleet.
232
- # @!attribute [rw] deployed_fleet
233
- # @return [::Google::Cloud::Gaming::V1::DeployedFleetDetails::DeployedFleet]
234
- # Information about the Agones fleet.
235
- # @!attribute [rw] deployed_autoscaler
236
- # @return [::Google::Cloud::Gaming::V1::DeployedFleetDetails::DeployedFleetAutoscaler]
237
- # Information about the Agones autoscaler for that fleet.
238
- class DeployedFleetDetails
239
- include ::Google::Protobuf::MessageExts
240
- extend ::Google::Protobuf::MessageExts::ClassMethods
241
-
242
- # Agones fleet specification and details.
243
- # @!attribute [rw] fleet
244
- # @return [::String]
245
- # The name of the Agones fleet.
246
- # @!attribute [rw] fleet_spec
247
- # @return [::String]
248
- # The fleet spec retrieved from the Agones fleet.
249
- # @!attribute [rw] spec_source
250
- # @return [::Google::Cloud::Gaming::V1::SpecSource]
251
- # The source spec that is used to create the Agones fleet.
252
- # The GameServerConfig resource may no longer exist in the system.
253
- # @!attribute [rw] status
254
- # @return [::Google::Cloud::Gaming::V1::DeployedFleetDetails::DeployedFleet::DeployedFleetStatus]
255
- # The current status of the Agones fleet.
256
- # Includes count of game servers in various states.
257
- class DeployedFleet
258
- include ::Google::Protobuf::MessageExts
259
- extend ::Google::Protobuf::MessageExts::ClassMethods
260
-
261
- # DeployedFleetStatus has details about the Agones fleets such as how many
262
- # are running, how many allocated, and so on.
263
- # @!attribute [rw] ready_replicas
264
- # @return [::Integer]
265
- # The number of GameServer replicas in the READY state in this fleet.
266
- # @!attribute [rw] allocated_replicas
267
- # @return [::Integer]
268
- # The number of GameServer replicas in the ALLOCATED state in this fleet.
269
- # @!attribute [rw] reserved_replicas
270
- # @return [::Integer]
271
- # The number of GameServer replicas in the RESERVED state in this fleet.
272
- # Reserved instances won't be deleted on scale down, but won't cause
273
- # an autoscaler to scale up.
274
- # @!attribute [rw] replicas
275
- # @return [::Integer]
276
- # The total number of current GameServer replicas in this fleet.
277
- class DeployedFleetStatus
278
- include ::Google::Protobuf::MessageExts
279
- extend ::Google::Protobuf::MessageExts::ClassMethods
280
- end
281
- end
282
-
283
- # Details about the Agones autoscaler.
284
- # @!attribute [rw] autoscaler
285
- # @return [::String]
286
- # The name of the Agones autoscaler.
287
- # @!attribute [rw] spec_source
288
- # @return [::Google::Cloud::Gaming::V1::SpecSource]
289
- # The source spec that is used to create the autoscaler.
290
- # The GameServerConfig resource may no longer exist in the system.
291
- # @!attribute [rw] fleet_autoscaler_spec
292
- # @return [::String]
293
- # The autoscaler spec retrieved from Agones.
294
- class DeployedFleetAutoscaler
295
- include ::Google::Protobuf::MessageExts
296
- extend ::Google::Protobuf::MessageExts::ClassMethods
297
- end
298
- end
299
- end
300
- end
301
- end
302
- end