1"""Generated message classes for gameservices version v1. 2 3Deploy and manage infrastructure for global multiplayer gaming experiences. 4""" 5# NOTE: This file is autogenerated and should not be edited by hand. 6 7from __future__ import absolute_import 8 9from apitools.base.protorpclite import messages as _messages 10from apitools.base.py import encoding 11from apitools.base.py import extra_types 12 13 14package = 'gameservices' 15 16 17class AuditConfig(_messages.Message): 18 r"""Specifies the audit configuration for a service. The configuration 19 determines which permission types are logged, and what identities, if any, 20 are exempted from logging. An AuditConfig must have one or more 21 AuditLogConfigs. If there are AuditConfigs for both `allServices` and a 22 specific service, the union of the two AuditConfigs is used for that 23 service: the log_types specified in each AuditConfig are enabled, and the 24 exempted_members in each AuditLogConfig are exempted. Example Policy with 25 multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", 26 "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ 27 "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": 28 "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", 29 "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": 30 "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For 31 sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ 32 logging. It also exempts jose@example.com from DATA_READ logging, and 33 aliya@example.com from DATA_WRITE logging. 34 35 Fields: 36 auditLogConfigs: The configuration for logging of each type of permission. 37 exemptedMembers: A string attribute. 38 service: Specifies a service that will be enabled for audit logging. For 39 example, `storage.googleapis.com`, `cloudsql.googleapis.com`. 40 `allServices` is a special value that covers all services. 41 """ 42 43 auditLogConfigs = _messages.MessageField('AuditLogConfig', 1, repeated=True) 44 exemptedMembers = _messages.StringField(2, repeated=True) 45 service = _messages.StringField(3) 46 47 48class AuditLogConfig(_messages.Message): 49 r"""Provides the configuration for logging a type of permissions. Example: { 50 "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ 51 "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 52 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from 53 DATA_READ logging. 54 55 Enums: 56 LogTypeValueValuesEnum: The log type that this config enables. 57 58 Fields: 59 exemptedMembers: Specifies the identities that do not cause logging for 60 this type of permission. Follows the same format of Binding.members. 61 ignoreChildExemptions: A boolean attribute. 62 logType: The log type that this config enables. 63 """ 64 65 class LogTypeValueValuesEnum(_messages.Enum): 66 r"""The log type that this config enables. 67 68 Values: 69 LOG_TYPE_UNSPECIFIED: Default case. Should never be this. 70 ADMIN_READ: Admin reads. Example: CloudIAM getIamPolicy 71 DATA_WRITE: Data writes. Example: CloudSQL Users create 72 DATA_READ: Data reads. Example: CloudSQL Users list 73 """ 74 LOG_TYPE_UNSPECIFIED = 0 75 ADMIN_READ = 1 76 DATA_WRITE = 2 77 DATA_READ = 3 78 79 exemptedMembers = _messages.StringField(1, repeated=True) 80 ignoreChildExemptions = _messages.BooleanField(2) 81 logType = _messages.EnumField('LogTypeValueValuesEnum', 3) 82 83 84class AuthorizationLoggingOptions(_messages.Message): 85 r"""Authorization-related information used by Cloud Audit Logging. 86 87 Enums: 88 PermissionTypeValueValuesEnum: The type of the permission that was 89 checked. 90 91 Fields: 92 permissionType: The type of the permission that was checked. 93 """ 94 95 class PermissionTypeValueValuesEnum(_messages.Enum): 96 r"""The type of the permission that was checked. 97 98 Values: 99 PERMISSION_TYPE_UNSPECIFIED: Default. Should not be used. 100 ADMIN_READ: A read of admin (meta) data. 101 ADMIN_WRITE: A write of admin (meta) data. 102 DATA_READ: A read of standard data. 103 DATA_WRITE: A write of standard data. 104 """ 105 PERMISSION_TYPE_UNSPECIFIED = 0 106 ADMIN_READ = 1 107 ADMIN_WRITE = 2 108 DATA_READ = 3 109 DATA_WRITE = 4 110 111 permissionType = _messages.EnumField('PermissionTypeValueValuesEnum', 1) 112 113 114class Binding(_messages.Message): 115 r"""Associates `members` with a `role`. 116 117 Fields: 118 condition: The condition that is associated with this binding. If the 119 condition evaluates to `true`, then this binding applies to the current 120 request. If the condition evaluates to `false`, then this binding does 121 not apply to the current request. However, a different role binding 122 might grant the same role to one or more of the members in this binding. 123 To learn which resources support conditions in their IAM policies, see 124 the [IAM 125 documentation](https://cloud.google.com/iam/help/conditions/resource- 126 policies). 127 members: Specifies the identities requesting access for a Cloud Platform 128 resource. `members` can have the following values: * `allUsers`: A 129 special identifier that represents anyone who is on the internet; with 130 or without a Google account. * `allAuthenticatedUsers`: A special 131 identifier that represents anyone who is authenticated with a Google 132 account or a service account. * `user:{emailid}`: An email address that 133 represents a specific Google account. For example, `alice@example.com` . 134 * `serviceAccount:{emailid}`: An email address that represents a service 135 account. For example, `my-other-app@appspot.gserviceaccount.com`. * 136 `group:{emailid}`: An email address that represents a Google group. For 137 example, `admins@example.com`. * 138 `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique 139 identifier) representing a user that has been recently deleted. For 140 example, `alice@example.com?uid=123456789012345678901`. If the user is 141 recovered, this value reverts to `user:{emailid}` and the recovered user 142 retains the role in the binding. * 143 `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address 144 (plus unique identifier) representing a service account that has been 145 recently deleted. For example, `my-other- 146 app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the 147 service account is undeleted, this value reverts to 148 `serviceAccount:{emailid}` and the undeleted service account retains the 149 role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An 150 email address (plus unique identifier) representing a Google group that 151 has been recently deleted. For example, 152 `admins@example.com?uid=123456789012345678901`. If the group is 153 recovered, this value reverts to `group:{emailid}` and the recovered 154 group retains the role in the binding. * `domain:{domain}`: The G Suite 155 domain (primary) that represents all the users of that domain. For 156 example, `google.com` or `example.com`. 157 role: Role that is assigned to `members`. For example, `roles/viewer`, 158 `roles/editor`, or `roles/owner`. 159 """ 160 161 condition = _messages.MessageField('Expr', 1) 162 members = _messages.StringField(2, repeated=True) 163 role = _messages.StringField(3) 164 165 166class CancelOperationRequest(_messages.Message): 167 r"""The request message for Operations.CancelOperation.""" 168 169 170class CloudAuditOptions(_messages.Message): 171 r"""Write a Cloud Audit log 172 173 Enums: 174 LogNameValueValuesEnum: The log_name to populate in the Cloud Audit 175 Record. 176 177 Fields: 178 authorizationLoggingOptions: Information used by the Cloud Audit Logging 179 pipeline. 180 logName: The log_name to populate in the Cloud Audit Record. 181 """ 182 183 class LogNameValueValuesEnum(_messages.Enum): 184 r"""The log_name to populate in the Cloud Audit Record. 185 186 Values: 187 UNSPECIFIED_LOG_NAME: Default. Should not be used. 188 ADMIN_ACTIVITY: Corresponds to "cloudaudit.googleapis.com/activity" 189 DATA_ACCESS: Corresponds to "cloudaudit.googleapis.com/data_access" 190 """ 191 UNSPECIFIED_LOG_NAME = 0 192 ADMIN_ACTIVITY = 1 193 DATA_ACCESS = 2 194 195 authorizationLoggingOptions = _messages.MessageField('AuthorizationLoggingOptions', 1) 196 logName = _messages.EnumField('LogNameValueValuesEnum', 2) 197 198 199class Condition(_messages.Message): 200 r"""A condition to be met. 201 202 Enums: 203 IamValueValuesEnum: Trusted attributes supplied by the IAM system. 204 OpValueValuesEnum: An operator to apply the subject with. 205 SysValueValuesEnum: Trusted attributes supplied by any service that owns 206 resources and uses the IAM system for access control. 207 208 Fields: 209 iam: Trusted attributes supplied by the IAM system. 210 op: An operator to apply the subject with. 211 svc: Trusted attributes discharged by the service. 212 sys: Trusted attributes supplied by any service that owns resources and 213 uses the IAM system for access control. 214 values: The objects of the condition. 215 """ 216 217 class IamValueValuesEnum(_messages.Enum): 218 r"""Trusted attributes supplied by the IAM system. 219 220 Values: 221 NO_ATTR: Default non-attribute. 222 AUTHORITY: Either principal or (if present) authority selector. 223 ATTRIBUTION: The principal (even if an authority selector is present), 224 which must only be used for attribution, not authorization. 225 SECURITY_REALM: Any of the security realms in the IAMContext 226 (go/security-realms). When used with IN, the condition indicates "any 227 of the request's realms match one of the given values; with NOT_IN, 228 "none of the realms match any of the given values". Note that a value 229 can be: - 'self' (i.e., allow connections from clients that are in the 230 same security realm) - 'self:metro' (i.e., clients that are in the 231 same metro) - 'self:cloud-region' (i.e., allow connections from 232 clients that are in the same cloud region) - 'guardians' (i.e., allow 233 connections from its guardian realms. See go/security-realms- 234 glossary#guardian for more information.) - a realm (e.g., 'campus- 235 abc') - a realm group (e.g., 'realms-for-borg-cell-xx', see: go/realm- 236 groups) A match is determined by a realm group membership check 237 performed by a RealmAclRep object (go/realm-acl-howto). It is not 238 permitted to grant access based on the *absence* of a realm, so realm 239 conditions can only be used in a "positive" context (e.g., ALLOW/IN or 240 DENY/NOT_IN). 241 APPROVER: An approver (distinct from the requester) that has authorized 242 this request. When used with IN, the condition indicates that one of 243 the approvers associated with the request matches the specified 244 principal, or is a member of the specified group. Approvers can only 245 grant additional access, and are thus only used in a strictly positive 246 context (e.g. ALLOW/IN or DENY/NOT_IN). 247 JUSTIFICATION_TYPE: What types of justifications have been supplied with 248 this request. String values should match enum names from 249 security.credentials.JustificationType, e.g. "MANUAL_STRING". It is 250 not permitted to grant access based on the *absence* of a 251 justification, so justification conditions can only be used in a 252 "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). Multiple 253 justifications, e.g., a Buganizer ID and a manually-entered reason, 254 are normal and supported. 255 CREDENTIALS_TYPE: What type of credentials have been supplied with this 256 request. String values should match enum names from 257 security_loas_l2.CredentialsType - currently, only 258 CREDS_TYPE_EMERGENCY is supported. It is not permitted to grant access 259 based on the *absence* of a credentials type, so the conditions can 260 only be used in a "positive" context (e.g., ALLOW/IN or DENY/NOT_IN). 261 CREDS_ASSERTION: EXPERIMENTAL -- DO NOT USE. 262 """ 263 NO_ATTR = 0 264 AUTHORITY = 1 265 ATTRIBUTION = 2 266 SECURITY_REALM = 3 267 APPROVER = 4 268 JUSTIFICATION_TYPE = 5 269 CREDENTIALS_TYPE = 6 270 CREDS_ASSERTION = 7 271 272 class OpValueValuesEnum(_messages.Enum): 273 r"""An operator to apply the subject with. 274 275 Values: 276 NO_OP: Default no-op. 277 EQUALS: DEPRECATED. Use IN instead. 278 NOT_EQUALS: DEPRECATED. Use NOT_IN instead. 279 IN: The condition is true if the subject (or any element of it if it is 280 a set) matches any of the supplied values. 281 NOT_IN: The condition is true if the subject (or every element of it if 282 it is a set) matches none of the supplied values. 283 DISCHARGED: Subject is discharged 284 """ 285 NO_OP = 0 286 EQUALS = 1 287 NOT_EQUALS = 2 288 IN = 3 289 NOT_IN = 4 290 DISCHARGED = 5 291 292 class SysValueValuesEnum(_messages.Enum): 293 r"""Trusted attributes supplied by any service that owns resources and 294 uses the IAM system for access control. 295 296 Values: 297 NO_ATTR: Default non-attribute type 298 REGION: Region of the resource 299 SERVICE: Service name 300 NAME: Resource name 301 IP: IP address of the caller 302 """ 303 NO_ATTR = 0 304 REGION = 1 305 SERVICE = 2 306 NAME = 3 307 IP = 4 308 309 iam = _messages.EnumField('IamValueValuesEnum', 1) 310 op = _messages.EnumField('OpValueValuesEnum', 2) 311 svc = _messages.StringField(3) 312 sys = _messages.EnumField('SysValueValuesEnum', 4) 313 values = _messages.StringField(5, repeated=True) 314 315 316class CounterOptions(_messages.Message): 317 r"""Increment a streamz counter with the specified metric and field names. 318 Metric names should start with a '/', generally be lowercase-only, and end 319 in "_count". Field names should not contain an initial slash. The actual 320 exported metric names will have "/iam/policy" prepended. Field names 321 correspond to IAM request parameters and field values are their respective 322 values. Supported field names: - "authority", which is "[token]" if 323 IAMContext.token is present, otherwise the value of 324 IAMContext.authority_selector if present, and otherwise a representation of 325 IAMContext.principal; or - "iam_principal", a representation of 326 IAMContext.principal even if a token or authority selector is present; or - 327 "" (empty string), resulting in a counter with no fields. Examples: counter 328 { metric: "/debug_access_count" field: "iam_principal" } ==> increment 329 counter /iam/policy/debug_access_count {iam_principal=[value of 330 IAMContext.principal]} 331 332 Fields: 333 customFields: Custom fields. 334 field: The field value to attribute. 335 metric: The metric to update. 336 """ 337 338 customFields = _messages.MessageField('CustomField', 1, repeated=True) 339 field = _messages.StringField(2) 340 metric = _messages.StringField(3) 341 342 343class CustomField(_messages.Message): 344 r"""Custom fields. These can be used to create a counter with arbitrary 345 field/value pairs. See: go/rpcsp-custom-fields. 346 347 Fields: 348 name: Name is the field name. 349 value: Value is the field value. It is important that in contrast to the 350 CounterOptions.field, the value here is a constant that is not derived 351 from the IAMContext. 352 """ 353 354 name = _messages.StringField(1) 355 value = _messages.StringField(2) 356 357 358class DataAccessOptions(_messages.Message): 359 r"""Write a Data Access (Gin) log 360 361 Enums: 362 LogModeValueValuesEnum: 363 364 Fields: 365 logMode: A LogModeValueValuesEnum attribute. 366 """ 367 368 class LogModeValueValuesEnum(_messages.Enum): 369 r"""LogModeValueValuesEnum enum type. 370 371 Values: 372 LOG_MODE_UNSPECIFIED: Client is not required to write a partial Gin log 373 immediately after the authorization check. If client chooses to write 374 one and it fails, client may either fail open (allow the operation to 375 continue) or fail closed (handle as a DENY outcome). 376 LOG_FAIL_CLOSED: The application's operation in the context of which 377 this authorization check is being made may only be performed if it is 378 successfully logged to Gin. For instance, the authorization library 379 may satisfy this obligation by emitting a partial log entry at 380 authorization check time and only returning ALLOW to the application 381 if it succeeds. If a matching Rule has this directive, but the client 382 has not indicated that it will honor such requirements, then the IAM 383 check will result in authorization failure by setting 384 CheckPolicyResponse.success=false. 385 """ 386 LOG_MODE_UNSPECIFIED = 0 387 LOG_FAIL_CLOSED = 1 388 389 logMode = _messages.EnumField('LogModeValueValuesEnum', 1) 390 391 392class DeployedClusterState(_messages.Message): 393 r"""The game server cluster changes made by the game server deployment. 394 395 Fields: 396 cluster: The name of the cluster. 397 fleetDetails: The details about the Agones fleets and autoscalers created 398 in the game server cluster. 399 """ 400 401 cluster = _messages.StringField(1) 402 fleetDetails = _messages.MessageField('DeployedFleetDetails', 2, repeated=True) 403 404 405class DeployedFleet(_messages.Message): 406 r"""Agones fleet specification and details. 407 408 Fields: 409 fleet: The name of the Agones fleet. 410 fleetSpec: The fleet spec retrieved from the Agones fleet. 411 specSource: The source spec that is used to create the Agones fleet. The 412 GameServerConfig resource may no longer exist in the system. 413 status: The current status of the Agones fleet. Includes count of game 414 servers in various states. 415 """ 416 417 fleet = _messages.StringField(1) 418 fleetSpec = _messages.StringField(2) 419 specSource = _messages.MessageField('SpecSource', 3) 420 status = _messages.MessageField('DeployedFleetStatus', 4) 421 422 423class DeployedFleetAutoscaler(_messages.Message): 424 r"""Details about the Agones autoscaler. 425 426 Fields: 427 autoscaler: The name of the Agones autoscaler. 428 fleetAutoscalerSpec: The autoscaler spec retrieved from Agones. 429 specSource: The source spec that is used to create the autoscaler. The 430 GameServerConfig resource may no longer exist in the system. 431 """ 432 433 autoscaler = _messages.StringField(1) 434 fleetAutoscalerSpec = _messages.StringField(2) 435 specSource = _messages.MessageField('SpecSource', 3) 436 437 438class DeployedFleetDetails(_messages.Message): 439 r"""Details of the deployed Agones fleet. 440 441 Fields: 442 deployedAutoscaler: Information about the Agones autoscaler for that 443 fleet. 444 deployedFleet: Information about the Agones fleet. 445 """ 446 447 deployedAutoscaler = _messages.MessageField('DeployedFleetAutoscaler', 1) 448 deployedFleet = _messages.MessageField('DeployedFleet', 2) 449 450 451class DeployedFleetStatus(_messages.Message): 452 r"""DeployedFleetStatus has details about the Agones fleets such as how many 453 are running, how many allocated, and so on. 454 455 Fields: 456 allocatedReplicas: The number of GameServer replicas in the ALLOCATED 457 state in this fleet. 458 readyReplicas: The number of GameServer replicas in the READY state in 459 this fleet. 460 replicas: The total number of current GameServer replicas in this fleet. 461 reservedReplicas: The number of GameServer replicas in the RESERVED state 462 in this fleet. Reserved instances won't be deleted on scale down, but 463 won't cause an autoscaler to scale up. 464 """ 465 466 allocatedReplicas = _messages.IntegerField(1) 467 readyReplicas = _messages.IntegerField(2) 468 replicas = _messages.IntegerField(3) 469 reservedReplicas = _messages.IntegerField(4) 470 471 472class Empty(_messages.Message): 473 r"""A generic empty message that you can re-use to avoid defining duplicated 474 empty messages in your APIs. A typical example is to use it as the request 475 or the response type of an API method. For instance: service Foo { rpc 476 Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON 477 representation for `Empty` is empty JSON object `{}`. 478 """ 479 480 481 482class Expr(_messages.Message): 483 r"""Represents a textual expression in the Common Expression Language (CEL) 484 syntax. CEL is a C-like expression language. The syntax and semantics of CEL 485 are documented at https://github.com/google/cel-spec. Example (Comparison): 486 title: "Summary size limit" description: "Determines if a summary is less 487 than 100 chars" expression: "document.summary.size() < 100" Example 488 (Equality): title: "Requestor is owner" description: "Determines if 489 requestor is the document owner" expression: "document.owner == 490 request.auth.claims.email" Example (Logic): title: "Public documents" 491 description: "Determine whether the document should be publicly visible" 492 expression: "document.type != 'private' && document.type != 'internal'" 493 Example (Data Manipulation): title: "Notification string" description: 494 "Create a notification string with a timestamp." expression: "'New message 495 received at ' + string(document.create_time)" The exact variables and 496 functions that may be referenced within an expression are determined by the 497 service that evaluates it. See the service documentation for additional 498 information. 499 500 Fields: 501 description: Optional. Description of the expression. This is a longer 502 text which describes the expression, e.g. when hovered over it in a UI. 503 expression: Textual representation of an expression in Common Expression 504 Language syntax. 505 location: Optional. String indicating the location of the expression for 506 error reporting, e.g. a file name and a position in the file. 507 title: Optional. Title for the expression, i.e. a short string describing 508 its purpose. This can be used e.g. in UIs which allow to enter the 509 expression. 510 """ 511 512 description = _messages.StringField(1) 513 expression = _messages.StringField(2) 514 location = _messages.StringField(3) 515 title = _messages.StringField(4) 516 517 518class FetchDeploymentStateRequest(_messages.Message): 519 r"""Request message for GameServerDeploymentsService.FetchDeploymentState. 520 """ 521 522 523 524class FetchDeploymentStateResponse(_messages.Message): 525 r"""Response message for GameServerDeploymentsService.FetchDeploymentState. 526 527 Fields: 528 clusterState: The state of the game server deployment in each game server 529 cluster. 530 unavailable: List of locations that could not be reached. 531 """ 532 533 clusterState = _messages.MessageField('DeployedClusterState', 1, repeated=True) 534 unavailable = _messages.StringField(2, repeated=True) 535 536 537class FleetConfig(_messages.Message): 538 r"""Fleet configs for Agones. 539 540 Fields: 541 fleetSpec: Agones fleet spec. Example spec: 542 `https://agones.dev/site/docs/reference/fleet/`. 543 name: The name of the FleetConfig. 544 """ 545 546 fleetSpec = _messages.StringField(1) 547 name = _messages.StringField(2) 548 549 550class GameServerCluster(_messages.Message): 551 r"""A game server cluster resource. 552 553 Messages: 554 LabelsValue: The labels associated with this game server cluster. Each 555 label is a key-value pair. 556 557 Fields: 558 connectionInfo: The game server cluster connection information. This 559 information is used to manage game server clusters. 560 createTime: Output only. The creation time. 561 description: Human readable description of the cluster. 562 etag: ETag of the resource. 563 labels: The labels associated with this game server cluster. Each label is 564 a key-value pair. 565 name: Required. The resource name of the game server cluster. Uses the 566 form: `projects/{project}/locations/{location}/realms/{realm}/gameServer 567 Clusters/{cluster}`. For example, `projects/my- 568 project/locations/{location}/realms/zanzibar/gameServerClusters/my- 569 onprem-cluster`. 570 updateTime: Output only. The last-modified time. 571 """ 572 573 @encoding.MapUnrecognizedFields('additionalProperties') 574 class LabelsValue(_messages.Message): 575 r"""The labels associated with this game server cluster. Each label is a 576 key-value pair. 577 578 Messages: 579 AdditionalProperty: An additional property for a LabelsValue object. 580 581 Fields: 582 additionalProperties: Additional properties of type LabelsValue 583 """ 584 585 class AdditionalProperty(_messages.Message): 586 r"""An additional property for a LabelsValue object. 587 588 Fields: 589 key: Name of the additional property. 590 value: A string attribute. 591 """ 592 593 key = _messages.StringField(1) 594 value = _messages.StringField(2) 595 596 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 597 598 connectionInfo = _messages.MessageField('GameServerClusterConnectionInfo', 1) 599 createTime = _messages.StringField(2) 600 description = _messages.StringField(3) 601 etag = _messages.StringField(4) 602 labels = _messages.MessageField('LabelsValue', 5) 603 name = _messages.StringField(6) 604 updateTime = _messages.StringField(7) 605 606 607class GameServerClusterConnectionInfo(_messages.Message): 608 r"""The game server cluster connection information. 609 610 Fields: 611 gkeClusterReference: Reference to the GKE cluster where the game servers 612 are installed. 613 namespace: Namespace designated on the game server cluster where the 614 Agones game server instances will be created. Existence of the namespace 615 will be validated during creation. 616 """ 617 618 gkeClusterReference = _messages.MessageField('GkeClusterReference', 1) 619 namespace = _messages.StringField(2) 620 621 622class GameServerConfig(_messages.Message): 623 r"""A game server config resource. 624 625 Messages: 626 LabelsValue: The labels associated with this game server config. Each 627 label is a key-value pair. 628 629 Fields: 630 createTime: Output only. The creation time. 631 description: The description of the game server config. 632 fleetConfigs: FleetConfig contains a list of Agones fleet specs. Only one 633 FleetConfig is allowed. 634 labels: The labels associated with this game server config. Each label is 635 a key-value pair. 636 name: The resource name of the game server config. Uses the form: `project 637 s/{project}/locations/{location}/gameServerDeployments/{deployment}/conf 638 igs/{config}`. For example, `projects/my- 639 project/locations/global/gameServerDeployments/my-game/configs/my- 640 config`. 641 scalingConfigs: The autoscaling settings. 642 updateTime: Output only. The last-modified time. 643 """ 644 645 @encoding.MapUnrecognizedFields('additionalProperties') 646 class LabelsValue(_messages.Message): 647 r"""The labels associated with this game server config. Each label is a 648 key-value pair. 649 650 Messages: 651 AdditionalProperty: An additional property for a LabelsValue object. 652 653 Fields: 654 additionalProperties: Additional properties of type LabelsValue 655 """ 656 657 class AdditionalProperty(_messages.Message): 658 r"""An additional property for a LabelsValue object. 659 660 Fields: 661 key: Name of the additional property. 662 value: A string attribute. 663 """ 664 665 key = _messages.StringField(1) 666 value = _messages.StringField(2) 667 668 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 669 670 createTime = _messages.StringField(1) 671 description = _messages.StringField(2) 672 fleetConfigs = _messages.MessageField('FleetConfig', 3, repeated=True) 673 labels = _messages.MessageField('LabelsValue', 4) 674 name = _messages.StringField(5) 675 scalingConfigs = _messages.MessageField('ScalingConfig', 6, repeated=True) 676 updateTime = _messages.StringField(7) 677 678 679class GameServerConfigOverride(_messages.Message): 680 r"""A game server config override. 681 682 Fields: 683 configVersion: The game server config for this override. 684 realmsSelector: Selector for choosing applicable realms. 685 """ 686 687 configVersion = _messages.StringField(1) 688 realmsSelector = _messages.MessageField('RealmSelector', 2) 689 690 691class GameServerDeployment(_messages.Message): 692 r"""A game server deployment resource. 693 694 Messages: 695 LabelsValue: The labels associated with this game server deployment. Each 696 label is a key-value pair. 697 698 Fields: 699 createTime: Output only. The creation time. 700 description: Human readable description of the game server delpoyment. 701 etag: ETag of the resource. 702 labels: The labels associated with this game server deployment. Each label 703 is a key-value pair. 704 name: The resource name of the game server deployment. Uses the form: `pro 705 jects/{project}/locations/{location}/gameServerDeployments/{deployment}` 706 . For example, `projects/my- 707 project/locations/global/gameServerDeployments/my-deployment`. 708 updateTime: Output only. The last-modified time. 709 """ 710 711 @encoding.MapUnrecognizedFields('additionalProperties') 712 class LabelsValue(_messages.Message): 713 r"""The labels associated with this game server deployment. Each label is 714 a key-value pair. 715 716 Messages: 717 AdditionalProperty: An additional property for a LabelsValue object. 718 719 Fields: 720 additionalProperties: Additional properties of type LabelsValue 721 """ 722 723 class AdditionalProperty(_messages.Message): 724 r"""An additional property for a LabelsValue object. 725 726 Fields: 727 key: Name of the additional property. 728 value: A string attribute. 729 """ 730 731 key = _messages.StringField(1) 732 value = _messages.StringField(2) 733 734 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 735 736 createTime = _messages.StringField(1) 737 description = _messages.StringField(2) 738 etag = _messages.StringField(3) 739 labels = _messages.MessageField('LabelsValue', 4) 740 name = _messages.StringField(5) 741 updateTime = _messages.StringField(6) 742 743 744class GameServerDeploymentRollout(_messages.Message): 745 r"""The game server deployment rollout which represents the desired rollout 746 state. 747 748 Fields: 749 createTime: Output only. The creation time. 750 defaultGameServerConfig: The default game server config is applied to all 751 realms unless overridden in the rollout. For example, `projects/my- 752 project/locations/global/gameServerDeployments/my-game/configs/my- 753 config`. 754 etag: ETag of the resource. 755 gameServerConfigOverrides: Contains the game server config rollout 756 overrides. Overrides are processed in the order they are listed. Once a 757 match is found for a realm, the rest of the list is not processed. 758 name: The resource name of the game server deployment rollout. Uses the 759 form: `projects/{project}/locations/{location}/gameServerDeployments/{de 760 ployment}/rollout`. For example, `projects/my- 761 project/locations/global/gameServerDeployments/my-deployment/rollout`. 762 updateTime: Output only. The last-modified time. 763 """ 764 765 createTime = _messages.StringField(1) 766 defaultGameServerConfig = _messages.StringField(2) 767 etag = _messages.StringField(3) 768 gameServerConfigOverrides = _messages.MessageField('GameServerConfigOverride', 4, repeated=True) 769 name = _messages.StringField(5) 770 updateTime = _messages.StringField(6) 771 772 773class GameservicesProjectsLocationsGameServerDeploymentsConfigsCreateRequest(_messages.Message): 774 r"""A GameservicesProjectsLocationsGameServerDeploymentsConfigsCreateRequest 775 object. 776 777 Fields: 778 configId: Required. The ID of the game server config resource to be 779 created. 780 gameServerConfig: A GameServerConfig resource to be passed as the request 781 body. 782 parent: Required. The parent resource name. Uses the form: `projects/{proj 783 ect}/locations/{location}/gameServerDeployments/{deployment}/`. 784 """ 785 786 configId = _messages.StringField(1) 787 gameServerConfig = _messages.MessageField('GameServerConfig', 2) 788 parent = _messages.StringField(3, required=True) 789 790 791class GameservicesProjectsLocationsGameServerDeploymentsConfigsDeleteRequest(_messages.Message): 792 r"""A GameservicesProjectsLocationsGameServerDeploymentsConfigsDeleteRequest 793 object. 794 795 Fields: 796 name: Required. The name of the game server config to delete. Uses the 797 form: `projects/{project}/locations/{location}/gameServerDeployments/{de 798 ployment}/configs/{config}`. 799 """ 800 801 name = _messages.StringField(1, required=True) 802 803 804class GameservicesProjectsLocationsGameServerDeploymentsConfigsGetRequest(_messages.Message): 805 r"""A GameservicesProjectsLocationsGameServerDeploymentsConfigsGetRequest 806 object. 807 808 Fields: 809 name: Required. The name of the game server config to retrieve. Uses the 810 form: `projects/{project}/locations/{location}/gameServerDeployments/{de 811 ployment}/configs/{config}`. 812 """ 813 814 name = _messages.StringField(1, required=True) 815 816 817class GameservicesProjectsLocationsGameServerDeploymentsConfigsListRequest(_messages.Message): 818 r"""A GameservicesProjectsLocationsGameServerDeploymentsConfigsListRequest 819 object. 820 821 Fields: 822 filter: Optional. The filter to apply to list results. 823 orderBy: Optional. Specifies the ordering of results following syntax at 824 https://cloud.google.com/apis/design/design_patterns#sorting_order. 825 pageSize: Optional. The maximum number of items to return. If unspecified, 826 server will pick an appropriate default. Server may return fewer items 827 than requested. A caller should only rely on response's next_page_token 828 to determine if there are more GameServerConfigs left to be queried. 829 pageToken: Optional. The next_page_token value returned from a previous 830 list request, if any. 831 parent: Required. The parent resource name. Uses the form: `projects/{proj 832 ect}/locations/{location}/gameServerDeployments/{deployment}/configs/*`. 833 """ 834 835 filter = _messages.StringField(1) 836 orderBy = _messages.StringField(2) 837 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 838 pageToken = _messages.StringField(4) 839 parent = _messages.StringField(5, required=True) 840 841 842class GameservicesProjectsLocationsGameServerDeploymentsCreateRequest(_messages.Message): 843 r"""A GameservicesProjectsLocationsGameServerDeploymentsCreateRequest 844 object. 845 846 Fields: 847 deploymentId: Required. The ID of the game server delpoyment resource to 848 be created. 849 gameServerDeployment: A GameServerDeployment resource to be passed as the 850 request body. 851 parent: Required. The parent resource name. Uses the form: 852 `projects/{project}/locations/{location}`. 853 """ 854 855 deploymentId = _messages.StringField(1) 856 gameServerDeployment = _messages.MessageField('GameServerDeployment', 2) 857 parent = _messages.StringField(3, required=True) 858 859 860class GameservicesProjectsLocationsGameServerDeploymentsDeleteRequest(_messages.Message): 861 r"""A GameservicesProjectsLocationsGameServerDeploymentsDeleteRequest 862 object. 863 864 Fields: 865 name: Required. The name of the game server delpoyment to delete. Uses the 866 form: `projects/{project}/locations/{location}/gameServerDeployments/{de 867 ployment}`. 868 """ 869 870 name = _messages.StringField(1, required=True) 871 872 873class GameservicesProjectsLocationsGameServerDeploymentsFetchDeploymentStateRequest(_messages.Message): 874 r"""A GameservicesProjectsLocationsGameServerDeploymentsFetchDeploymentState 875 Request object. 876 877 Fields: 878 fetchDeploymentStateRequest: A FetchDeploymentStateRequest resource to be 879 passed as the request body. 880 name: Required. The name of the game server delpoyment. Uses the form: `pr 881 ojects/{project}/locations/{location}/gameServerDeployments/{deployment} 882 `. 883 """ 884 885 fetchDeploymentStateRequest = _messages.MessageField('FetchDeploymentStateRequest', 1) 886 name = _messages.StringField(2, required=True) 887 888 889class GameservicesProjectsLocationsGameServerDeploymentsGetIamPolicyRequest(_messages.Message): 890 r"""A GameservicesProjectsLocationsGameServerDeploymentsGetIamPolicyRequest 891 object. 892 893 Fields: 894 options_requestedPolicyVersion: Optional. The policy format version to be 895 returned. Valid values are 0, 1, and 3. Requests specifying an invalid 896 value will be rejected. Requests for policies with any conditional 897 bindings must specify version 3. Policies without any conditional 898 bindings may specify any valid value or leave the field unset. To learn 899 which resources support conditions in their IAM policies, see the [IAM 900 documentation](https://cloud.google.com/iam/help/conditions/resource- 901 policies). 902 resource: REQUIRED: The resource for which the policy is being requested. 903 See the operation documentation for the appropriate value for this 904 field. 905 """ 906 907 options_requestedPolicyVersion = _messages.IntegerField(1, variant=_messages.Variant.INT32) 908 resource = _messages.StringField(2, required=True) 909 910 911class GameservicesProjectsLocationsGameServerDeploymentsGetRequest(_messages.Message): 912 r"""A GameservicesProjectsLocationsGameServerDeploymentsGetRequest object. 913 914 Fields: 915 name: Required. The name of the game server delpoyment to retrieve. Uses 916 the form: `projects/{project}/locations/{location}/gameServerDeployments 917 /{deployment}`. 918 """ 919 920 name = _messages.StringField(1, required=True) 921 922 923class GameservicesProjectsLocationsGameServerDeploymentsGetRolloutRequest(_messages.Message): 924 r"""A GameservicesProjectsLocationsGameServerDeploymentsGetRolloutRequest 925 object. 926 927 Fields: 928 name: Required. The name of the game server delpoyment to retrieve. Uses 929 the form: `projects/{project}/locations/{location}/gameServerDeployments 930 /{deployment}/rollout`. 931 """ 932 933 name = _messages.StringField(1, required=True) 934 935 936class GameservicesProjectsLocationsGameServerDeploymentsListRequest(_messages.Message): 937 r"""A GameservicesProjectsLocationsGameServerDeploymentsListRequest object. 938 939 Fields: 940 filter: Optional. The filter to apply to list results. 941 orderBy: Optional. Specifies the ordering of results following syntax at 942 https://cloud.google.com/apis/design/design_patterns#sorting_order. 943 pageSize: Optional. The maximum number of items to return. If unspecified, 944 the server will pick an appropriate default. The server may return fewer 945 items than requested. A caller should only rely on response's 946 next_page_token to determine if there are more GameServerDeployments 947 left to be queried. 948 pageToken: Optional. The next_page_token value returned from a previous 949 List request, if any. 950 parent: Required. The parent resource name. Uses the form: 951 `projects/{project}/locations/{location}`. 952 """ 953 954 filter = _messages.StringField(1) 955 orderBy = _messages.StringField(2) 956 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 957 pageToken = _messages.StringField(4) 958 parent = _messages.StringField(5, required=True) 959 960 961class GameservicesProjectsLocationsGameServerDeploymentsPatchRequest(_messages.Message): 962 r"""A GameservicesProjectsLocationsGameServerDeploymentsPatchRequest object. 963 964 Fields: 965 gameServerDeployment: A GameServerDeployment resource to be passed as the 966 request body. 967 name: The resource name of the game server deployment. Uses the form: `pro 968 jects/{project}/locations/{location}/gameServerDeployments/{deployment}` 969 . For example, `projects/my- 970 project/locations/global/gameServerDeployments/my-deployment`. 971 updateMask: Required. Mask of fields to update. At least one path must be 972 supplied in this field. For the `FieldMask` definition, see https: 973 //developers.google.com/protocol-buffers // 974 /docs/reference/google.protobuf#fieldmask 975 """ 976 977 gameServerDeployment = _messages.MessageField('GameServerDeployment', 1) 978 name = _messages.StringField(2, required=True) 979 updateMask = _messages.StringField(3) 980 981 982class GameservicesProjectsLocationsGameServerDeploymentsPreviewRolloutRequest(_messages.Message): 983 r"""A 984 GameservicesProjectsLocationsGameServerDeploymentsPreviewRolloutRequest 985 object. 986 987 Fields: 988 gameServerDeploymentRollout: A GameServerDeploymentRollout resource to be 989 passed as the request body. 990 name: The resource name of the game server deployment rollout. Uses the 991 form: `projects/{project}/locations/{location}/gameServerDeployments/{de 992 ployment}/rollout`. For example, `projects/my- 993 project/locations/global/gameServerDeployments/my-deployment/rollout`. 994 previewTime: Optional. The target timestamp to compute the preview. 995 Defaults to the immediately after the proposed rollout completes. 996 updateMask: Optional. Mask of fields to update. At least one path must be 997 supplied in this field. For the `FieldMask` definition, see https: 998 //developers.google.com/protocol-buffers // 999 /docs/reference/google.protobuf#fieldmask 1000 """ 1001 1002 gameServerDeploymentRollout = _messages.MessageField('GameServerDeploymentRollout', 1) 1003 name = _messages.StringField(2, required=True) 1004 previewTime = _messages.StringField(3) 1005 updateMask = _messages.StringField(4) 1006 1007 1008class GameservicesProjectsLocationsGameServerDeploymentsSetIamPolicyRequest(_messages.Message): 1009 r"""A GameservicesProjectsLocationsGameServerDeploymentsSetIamPolicyRequest 1010 object. 1011 1012 Fields: 1013 resource: REQUIRED: The resource for which the policy is being specified. 1014 See the operation documentation for the appropriate value for this 1015 field. 1016 setIamPolicyRequest: A SetIamPolicyRequest resource to be passed as the 1017 request body. 1018 """ 1019 1020 resource = _messages.StringField(1, required=True) 1021 setIamPolicyRequest = _messages.MessageField('SetIamPolicyRequest', 2) 1022 1023 1024class GameservicesProjectsLocationsGameServerDeploymentsTestIamPermissionsRequest(_messages.Message): 1025 r"""A 1026 GameservicesProjectsLocationsGameServerDeploymentsTestIamPermissionsRequest 1027 object. 1028 1029 Fields: 1030 resource: REQUIRED: The resource for which the policy detail is being 1031 requested. See the operation documentation for the appropriate value for 1032 this field. 1033 testIamPermissionsRequest: A TestIamPermissionsRequest resource to be 1034 passed as the request body. 1035 """ 1036 1037 resource = _messages.StringField(1, required=True) 1038 testIamPermissionsRequest = _messages.MessageField('TestIamPermissionsRequest', 2) 1039 1040 1041class GameservicesProjectsLocationsGameServerDeploymentsUpdateRolloutRequest(_messages.Message): 1042 r"""A GameservicesProjectsLocationsGameServerDeploymentsUpdateRolloutRequest 1043 object. 1044 1045 Fields: 1046 gameServerDeploymentRollout: A GameServerDeploymentRollout resource to be 1047 passed as the request body. 1048 name: The resource name of the game server deployment rollout. Uses the 1049 form: `projects/{project}/locations/{location}/gameServerDeployments/{de 1050 ployment}/rollout`. For example, `projects/my- 1051 project/locations/global/gameServerDeployments/my-deployment/rollout`. 1052 updateMask: Required. Mask of fields to update. At least one path must be 1053 supplied in this field. For the `FieldMask` definition, see https: 1054 //developers.google.com/protocol-buffers // 1055 /docs/reference/google.protobuf#fieldmask 1056 """ 1057 1058 gameServerDeploymentRollout = _messages.MessageField('GameServerDeploymentRollout', 1) 1059 name = _messages.StringField(2, required=True) 1060 updateMask = _messages.StringField(3) 1061 1062 1063class GameservicesProjectsLocationsGetRequest(_messages.Message): 1064 r"""A GameservicesProjectsLocationsGetRequest object. 1065 1066 Fields: 1067 name: Resource name for the location. 1068 """ 1069 1070 name = _messages.StringField(1, required=True) 1071 1072 1073class GameservicesProjectsLocationsListRequest(_messages.Message): 1074 r"""A GameservicesProjectsLocationsListRequest object. 1075 1076 Fields: 1077 filter: The standard list filter. 1078 includeUnrevealedLocations: If true, the returned list will include 1079 locations which are not yet revealed. 1080 name: The resource that owns the locations collection, if applicable. 1081 pageSize: The standard list page size. 1082 pageToken: The standard list page token. 1083 """ 1084 1085 filter = _messages.StringField(1) 1086 includeUnrevealedLocations = _messages.BooleanField(2) 1087 name = _messages.StringField(3, required=True) 1088 pageSize = _messages.IntegerField(4, variant=_messages.Variant.INT32) 1089 pageToken = _messages.StringField(5) 1090 1091 1092class GameservicesProjectsLocationsOperationsCancelRequest(_messages.Message): 1093 r"""A GameservicesProjectsLocationsOperationsCancelRequest object. 1094 1095 Fields: 1096 cancelOperationRequest: A CancelOperationRequest resource to be passed as 1097 the request body. 1098 name: The name of the operation resource to be cancelled. 1099 """ 1100 1101 cancelOperationRequest = _messages.MessageField('CancelOperationRequest', 1) 1102 name = _messages.StringField(2, required=True) 1103 1104 1105class GameservicesProjectsLocationsOperationsDeleteRequest(_messages.Message): 1106 r"""A GameservicesProjectsLocationsOperationsDeleteRequest object. 1107 1108 Fields: 1109 name: The name of the operation resource to be deleted. 1110 """ 1111 1112 name = _messages.StringField(1, required=True) 1113 1114 1115class GameservicesProjectsLocationsOperationsGetRequest(_messages.Message): 1116 r"""A GameservicesProjectsLocationsOperationsGetRequest object. 1117 1118 Fields: 1119 name: The name of the operation resource. 1120 """ 1121 1122 name = _messages.StringField(1, required=True) 1123 1124 1125class GameservicesProjectsLocationsOperationsListRequest(_messages.Message): 1126 r"""A GameservicesProjectsLocationsOperationsListRequest object. 1127 1128 Fields: 1129 filter: The standard list filter. 1130 name: The name of the operation's parent resource. 1131 pageSize: The standard list page size. 1132 pageToken: The standard list page token. 1133 """ 1134 1135 filter = _messages.StringField(1) 1136 name = _messages.StringField(2, required=True) 1137 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1138 pageToken = _messages.StringField(4) 1139 1140 1141class GameservicesProjectsLocationsRealmsCreateRequest(_messages.Message): 1142 r"""A GameservicesProjectsLocationsRealmsCreateRequest object. 1143 1144 Fields: 1145 parent: Required. The parent resource name. Uses the form: 1146 `projects/{project}/locations/{location}`. 1147 realm: A Realm resource to be passed as the request body. 1148 realmId: Required. The ID of the realm resource to be created. 1149 """ 1150 1151 parent = _messages.StringField(1, required=True) 1152 realm = _messages.MessageField('Realm', 2) 1153 realmId = _messages.StringField(3) 1154 1155 1156class GameservicesProjectsLocationsRealmsDeleteRequest(_messages.Message): 1157 r"""A GameservicesProjectsLocationsRealmsDeleteRequest object. 1158 1159 Fields: 1160 name: Required. The name of the realm to delete. Uses the form: 1161 `projects/{project}/locations/{location}/realms/{realm}`. 1162 """ 1163 1164 name = _messages.StringField(1, required=True) 1165 1166 1167class GameservicesProjectsLocationsRealmsGameServerClustersCreateRequest(_messages.Message): 1168 r"""A GameservicesProjectsLocationsRealmsGameServerClustersCreateRequest 1169 object. 1170 1171 Fields: 1172 gameServerCluster: A GameServerCluster resource to be passed as the 1173 request body. 1174 gameServerClusterId: Required. The ID of the game server cluster resource 1175 to be created. 1176 parent: Required. The parent resource name. Uses the form: 1177 `projects/{project}/locations/{location}/realms/{realm-id}`. 1178 """ 1179 1180 gameServerCluster = _messages.MessageField('GameServerCluster', 1) 1181 gameServerClusterId = _messages.StringField(2) 1182 parent = _messages.StringField(3, required=True) 1183 1184 1185class GameservicesProjectsLocationsRealmsGameServerClustersDeleteRequest(_messages.Message): 1186 r"""A GameservicesProjectsLocationsRealmsGameServerClustersDeleteRequest 1187 object. 1188 1189 Fields: 1190 name: Required. The name of the game server cluster to delete. Uses the 1191 form: 1192 `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. 1193 """ 1194 1195 name = _messages.StringField(1, required=True) 1196 1197 1198class GameservicesProjectsLocationsRealmsGameServerClustersGetRequest(_messages.Message): 1199 r"""A GameservicesProjectsLocationsRealmsGameServerClustersGetRequest 1200 object. 1201 1202 Fields: 1203 name: Required. The name of the game server cluster to retrieve. Uses the 1204 form: `projects/{project}/locations/{location}/realms/{realm- 1205 id}/gameServerClusters/{cluster}`. 1206 """ 1207 1208 name = _messages.StringField(1, required=True) 1209 1210 1211class GameservicesProjectsLocationsRealmsGameServerClustersListRequest(_messages.Message): 1212 r"""A GameservicesProjectsLocationsRealmsGameServerClustersListRequest 1213 object. 1214 1215 Fields: 1216 filter: Optional. The filter to apply to list results. 1217 orderBy: Optional. Specifies the ordering of results following syntax at 1218 https://cloud.google.com/apis/design/design_patterns#sorting_order. 1219 pageSize: Optional. The maximum number of items to return. If unspecified, 1220 the server will pick an appropriate default. The server may return fewer 1221 items than requested. A caller should only rely on response's 1222 next_page_token to determine if there are more GameServerClusters left 1223 to be queried. 1224 pageToken: Optional. The next_page_token value returned from a previous 1225 List request, if any. 1226 parent: Required. The parent resource name. Uses the form: 1227 "projects/{project}/locations/{location}/realms/{realm}". 1228 """ 1229 1230 filter = _messages.StringField(1) 1231 orderBy = _messages.StringField(2) 1232 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1233 pageToken = _messages.StringField(4) 1234 parent = _messages.StringField(5, required=True) 1235 1236 1237class GameservicesProjectsLocationsRealmsGameServerClustersPatchRequest(_messages.Message): 1238 r"""A GameservicesProjectsLocationsRealmsGameServerClustersPatchRequest 1239 object. 1240 1241 Fields: 1242 gameServerCluster: A GameServerCluster resource to be passed as the 1243 request body. 1244 name: Required. The resource name of the game server cluster. Uses the 1245 form: `projects/{project}/locations/{location}/realms/{realm}/gameServer 1246 Clusters/{cluster}`. For example, `projects/my- 1247 project/locations/{location}/realms/zanzibar/gameServerClusters/my- 1248 onprem-cluster`. 1249 updateMask: Required. Mask of fields to update. At least one path must be 1250 supplied in this field. For the `FieldMask` definition, see https: 1251 //developers.google.com/protocol-buffers // 1252 /docs/reference/google.protobuf#fieldmask 1253 """ 1254 1255 gameServerCluster = _messages.MessageField('GameServerCluster', 1) 1256 name = _messages.StringField(2, required=True) 1257 updateMask = _messages.StringField(3) 1258 1259 1260class GameservicesProjectsLocationsRealmsGameServerClustersPreviewCreateRequest(_messages.Message): 1261 r"""A 1262 GameservicesProjectsLocationsRealmsGameServerClustersPreviewCreateRequest 1263 object. 1264 1265 Fields: 1266 gameServerCluster: A GameServerCluster resource to be passed as the 1267 request body. 1268 gameServerClusterId: Required. The ID of the game server cluster resource 1269 to be created. 1270 parent: Required. The parent resource name. Uses the form: 1271 `projects/{project}/locations/{location}/realms/{realm}`. 1272 previewTime: Optional. The target timestamp to compute the preview. 1273 """ 1274 1275 gameServerCluster = _messages.MessageField('GameServerCluster', 1) 1276 gameServerClusterId = _messages.StringField(2) 1277 parent = _messages.StringField(3, required=True) 1278 previewTime = _messages.StringField(4) 1279 1280 1281class GameservicesProjectsLocationsRealmsGameServerClustersPreviewDeleteRequest(_messages.Message): 1282 r"""A 1283 GameservicesProjectsLocationsRealmsGameServerClustersPreviewDeleteRequest 1284 object. 1285 1286 Fields: 1287 name: Required. The name of the game server cluster to delete. Uses the 1288 form: 1289 `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. 1290 previewTime: Optional. The target timestamp to compute the preview. 1291 """ 1292 1293 name = _messages.StringField(1, required=True) 1294 previewTime = _messages.StringField(2) 1295 1296 1297class GameservicesProjectsLocationsRealmsGameServerClustersPreviewUpdateRequest(_messages.Message): 1298 r"""A 1299 GameservicesProjectsLocationsRealmsGameServerClustersPreviewUpdateRequest 1300 object. 1301 1302 Fields: 1303 gameServerCluster: A GameServerCluster resource to be passed as the 1304 request body. 1305 name: Required. The resource name of the game server cluster. Uses the 1306 form: `projects/{project}/locations/{location}/realms/{realm}/gameServer 1307 Clusters/{cluster}`. For example, `projects/my- 1308 project/locations/{location}/realms/zanzibar/gameServerClusters/my- 1309 onprem-cluster`. 1310 previewTime: Optional. The target timestamp to compute the preview. 1311 updateMask: Required. Mask of fields to update. At least one path must be 1312 supplied in this field. For the `FieldMask` definition, see https: 1313 //developers.google.com/protocol-buffers // 1314 /docs/reference/google.protobuf#fieldmask 1315 """ 1316 1317 gameServerCluster = _messages.MessageField('GameServerCluster', 1) 1318 name = _messages.StringField(2, required=True) 1319 previewTime = _messages.StringField(3) 1320 updateMask = _messages.StringField(4) 1321 1322 1323class GameservicesProjectsLocationsRealmsGetRequest(_messages.Message): 1324 r"""A GameservicesProjectsLocationsRealmsGetRequest object. 1325 1326 Fields: 1327 name: Required. The name of the realm to retrieve. Uses the form: 1328 `projects/{project}/locations/{location}/realms/{realm}`. 1329 """ 1330 1331 name = _messages.StringField(1, required=True) 1332 1333 1334class GameservicesProjectsLocationsRealmsListRequest(_messages.Message): 1335 r"""A GameservicesProjectsLocationsRealmsListRequest object. 1336 1337 Fields: 1338 filter: Optional. The filter to apply to list results. 1339 orderBy: Optional. Specifies the ordering of results following syntax at 1340 https://cloud.google.com/apis/design/design_patterns#sorting_order. 1341 pageSize: Optional. The maximum number of items to return. If unspecified, 1342 server will pick an appropriate default. Server may return fewer items 1343 than requested. A caller should only rely on response's next_page_token 1344 to determine if there are more realms left to be queried. 1345 pageToken: Optional. The next_page_token value returned from a previous 1346 List request, if any. 1347 parent: Required. The parent resource name. Uses the form: 1348 `projects/{project}/locations/{location}`. 1349 """ 1350 1351 filter = _messages.StringField(1) 1352 orderBy = _messages.StringField(2) 1353 pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32) 1354 pageToken = _messages.StringField(4) 1355 parent = _messages.StringField(5, required=True) 1356 1357 1358class GameservicesProjectsLocationsRealmsPatchRequest(_messages.Message): 1359 r"""A GameservicesProjectsLocationsRealmsPatchRequest object. 1360 1361 Fields: 1362 name: The resource name of the realm. Uses the form: 1363 `projects/{project}/locations/{location}/realms/{realm}`. For example, 1364 `projects/my-project/locations/{location}/realms/my-realm`. 1365 realm: A Realm resource to be passed as the request body. 1366 updateMask: Required. The update mask applies to the resource. For the 1367 `FieldMask` definition, see https: //developers.google.com/protocol- 1368 buffers // /docs/reference/google.protobuf#fieldmask 1369 """ 1370 1371 name = _messages.StringField(1, required=True) 1372 realm = _messages.MessageField('Realm', 2) 1373 updateMask = _messages.StringField(3) 1374 1375 1376class GameservicesProjectsLocationsRealmsPreviewUpdateRequest(_messages.Message): 1377 r"""A GameservicesProjectsLocationsRealmsPreviewUpdateRequest object. 1378 1379 Fields: 1380 name: The resource name of the realm. Uses the form: 1381 `projects/{project}/locations/{location}/realms/{realm}`. For example, 1382 `projects/my-project/locations/{location}/realms/my-realm`. 1383 previewTime: Optional. The target timestamp to compute the preview. 1384 realm: A Realm resource to be passed as the request body. 1385 updateMask: Required. The update mask applies to the resource. For the 1386 `FieldMask` definition, see https: //developers.google.com/protocol- 1387 buffers // /docs/reference/google.protobuf#fieldmask 1388 """ 1389 1390 name = _messages.StringField(1, required=True) 1391 previewTime = _messages.StringField(2) 1392 realm = _messages.MessageField('Realm', 3) 1393 updateMask = _messages.StringField(4) 1394 1395 1396class GkeClusterReference(_messages.Message): 1397 r"""A reference to a GKE cluster. 1398 1399 Fields: 1400 cluster: The full or partial name of a GKE cluster, using one of the 1401 following forms: * 1402 `projects/{project}/locations/{location}/clusters/{cluster}` * 1403 `locations/{location}/clusters/{cluster}` * `{cluster}` If project and 1404 location are not specified, the project and location of the 1405 GameServerCluster resource are used to generate the full name of the GKE 1406 cluster. 1407 """ 1408 1409 cluster = _messages.StringField(1) 1410 1411 1412class LabelSelector(_messages.Message): 1413 r"""The label selector, used to group labels on the resources. 1414 1415 Messages: 1416 LabelsValue: Resource labels for this selector. 1417 1418 Fields: 1419 labels: Resource labels for this selector. 1420 """ 1421 1422 @encoding.MapUnrecognizedFields('additionalProperties') 1423 class LabelsValue(_messages.Message): 1424 r"""Resource labels for this selector. 1425 1426 Messages: 1427 AdditionalProperty: An additional property for a LabelsValue object. 1428 1429 Fields: 1430 additionalProperties: Additional properties of type LabelsValue 1431 """ 1432 1433 class AdditionalProperty(_messages.Message): 1434 r"""An additional property for a LabelsValue object. 1435 1436 Fields: 1437 key: Name of the additional property. 1438 value: A string attribute. 1439 """ 1440 1441 key = _messages.StringField(1) 1442 value = _messages.StringField(2) 1443 1444 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1445 1446 labels = _messages.MessageField('LabelsValue', 1) 1447 1448 1449class ListGameServerClustersResponse(_messages.Message): 1450 r"""Response message for GameServerClustersService.ListGameServerClusters. 1451 1452 Fields: 1453 gameServerClusters: The list of game server clusters. 1454 nextPageToken: Token to retrieve the next page of results, or empty if 1455 there are no more results in the list. 1456 unreachable: List of locations that could not be reached. 1457 """ 1458 1459 gameServerClusters = _messages.MessageField('GameServerCluster', 1, repeated=True) 1460 nextPageToken = _messages.StringField(2) 1461 unreachable = _messages.StringField(3, repeated=True) 1462 1463 1464class ListGameServerConfigsResponse(_messages.Message): 1465 r"""Response message for GameServerConfigsService.ListGameServerConfigs. 1466 1467 Fields: 1468 gameServerConfigs: The list of game server configs. 1469 nextPageToken: Token to retrieve the next page of results, or empty if 1470 there are no more results in the list. 1471 unreachable: List of locations that could not be reached. 1472 """ 1473 1474 gameServerConfigs = _messages.MessageField('GameServerConfig', 1, repeated=True) 1475 nextPageToken = _messages.StringField(2) 1476 unreachable = _messages.StringField(3, repeated=True) 1477 1478 1479class ListGameServerDeploymentsResponse(_messages.Message): 1480 r"""Response message for 1481 GameServerDeploymentsService.ListGameServerDeployments. 1482 1483 Fields: 1484 gameServerDeployments: The list of game server deployments. 1485 nextPageToken: Token to retrieve the next page of results, or empty if 1486 there are no more results in the list. 1487 unreachable: List of locations that could not be reached. 1488 """ 1489 1490 gameServerDeployments = _messages.MessageField('GameServerDeployment', 1, repeated=True) 1491 nextPageToken = _messages.StringField(2) 1492 unreachable = _messages.StringField(3, repeated=True) 1493 1494 1495class ListLocationsResponse(_messages.Message): 1496 r"""The response message for Locations.ListLocations. 1497 1498 Fields: 1499 locations: A list of locations that matches the specified filter in the 1500 request. 1501 nextPageToken: The standard List next-page token. 1502 """ 1503 1504 locations = _messages.MessageField('Location', 1, repeated=True) 1505 nextPageToken = _messages.StringField(2) 1506 1507 1508class ListOperationsResponse(_messages.Message): 1509 r"""The response message for Operations.ListOperations. 1510 1511 Fields: 1512 nextPageToken: The standard List next-page token. 1513 operations: A list of operations that matches the specified filter in the 1514 request. 1515 """ 1516 1517 nextPageToken = _messages.StringField(1) 1518 operations = _messages.MessageField('Operation', 2, repeated=True) 1519 1520 1521class ListRealmsResponse(_messages.Message): 1522 r"""Response message for RealmsService.ListRealms. 1523 1524 Fields: 1525 nextPageToken: Token to retrieve the next page of results, or empty if 1526 there are no more results in the list. 1527 realms: The list of realms. 1528 unreachable: List of locations that could not be reached. 1529 """ 1530 1531 nextPageToken = _messages.StringField(1) 1532 realms = _messages.MessageField('Realm', 2, repeated=True) 1533 unreachable = _messages.StringField(3, repeated=True) 1534 1535 1536class Location(_messages.Message): 1537 r"""A resource that represents Google Cloud Platform location. 1538 1539 Messages: 1540 LabelsValue: Cross-service attributes for the location. For example 1541 {"cloud.googleapis.com/region": "us-east1"} 1542 MetadataValue: Service-specific metadata. For example the available 1543 capacity at the given location. 1544 1545 Fields: 1546 displayName: The friendly name for this location, typically a nearby city 1547 name. For example, "Tokyo". 1548 labels: Cross-service attributes for the location. For example 1549 {"cloud.googleapis.com/region": "us-east1"} 1550 locationId: The canonical id for this location. For example: `"us-east1"`. 1551 metadata: Service-specific metadata. For example the available capacity at 1552 the given location. 1553 name: Resource name for the location, which may vary between 1554 implementations. For example: `"projects/example-project/locations/us- 1555 east1"` 1556 """ 1557 1558 @encoding.MapUnrecognizedFields('additionalProperties') 1559 class LabelsValue(_messages.Message): 1560 r"""Cross-service attributes for the location. For example 1561 {"cloud.googleapis.com/region": "us-east1"} 1562 1563 Messages: 1564 AdditionalProperty: An additional property for a LabelsValue object. 1565 1566 Fields: 1567 additionalProperties: Additional properties of type LabelsValue 1568 """ 1569 1570 class AdditionalProperty(_messages.Message): 1571 r"""An additional property for a LabelsValue object. 1572 1573 Fields: 1574 key: Name of the additional property. 1575 value: A string attribute. 1576 """ 1577 1578 key = _messages.StringField(1) 1579 value = _messages.StringField(2) 1580 1581 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1582 1583 @encoding.MapUnrecognizedFields('additionalProperties') 1584 class MetadataValue(_messages.Message): 1585 r"""Service-specific metadata. For example the available capacity at the 1586 given location. 1587 1588 Messages: 1589 AdditionalProperty: An additional property for a MetadataValue object. 1590 1591 Fields: 1592 additionalProperties: Properties of the object. Contains field @type 1593 with type URL. 1594 """ 1595 1596 class AdditionalProperty(_messages.Message): 1597 r"""An additional property for a MetadataValue object. 1598 1599 Fields: 1600 key: Name of the additional property. 1601 value: A extra_types.JsonValue attribute. 1602 """ 1603 1604 key = _messages.StringField(1) 1605 value = _messages.MessageField('extra_types.JsonValue', 2) 1606 1607 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1608 1609 displayName = _messages.StringField(1) 1610 labels = _messages.MessageField('LabelsValue', 2) 1611 locationId = _messages.StringField(3) 1612 metadata = _messages.MessageField('MetadataValue', 4) 1613 name = _messages.StringField(5) 1614 1615 1616class LogConfig(_messages.Message): 1617 r"""Specifies what kind of log the caller must write 1618 1619 Fields: 1620 cloudAudit: Cloud audit options. 1621 counter: Counter options. 1622 dataAccess: Data access options. 1623 """ 1624 1625 cloudAudit = _messages.MessageField('CloudAuditOptions', 1) 1626 counter = _messages.MessageField('CounterOptions', 2) 1627 dataAccess = _messages.MessageField('DataAccessOptions', 3) 1628 1629 1630class Operation(_messages.Message): 1631 r"""This resource represents a long-running operation that is the result of 1632 a network API call. 1633 1634 Messages: 1635 MetadataValue: Service-specific metadata associated with the operation. It 1636 typically contains progress information and common metadata such as 1637 create time. Some services might not provide such metadata. Any method 1638 that returns a long-running operation should document the metadata type, 1639 if any. 1640 ResponseValue: The normal response of the operation in case of success. If 1641 the original method returns no data on success, such as `Delete`, the 1642 response is `google.protobuf.Empty`. If the original method is standard 1643 `Get`/`Create`/`Update`, the response should be the resource. For other 1644 methods, the response should have the type `XxxResponse`, where `Xxx` is 1645 the original method name. For example, if the original method name is 1646 `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 1647 1648 Fields: 1649 done: If the value is `false`, it means the operation is still in 1650 progress. If `true`, the operation is completed, and either `error` or 1651 `response` is available. 1652 error: The error result of the operation in case of failure or 1653 cancellation. 1654 metadata: Service-specific metadata associated with the operation. It 1655 typically contains progress information and common metadata such as 1656 create time. Some services might not provide such metadata. Any method 1657 that returns a long-running operation should document the metadata type, 1658 if any. 1659 name: The server-assigned name, which is only unique within the same 1660 service that originally returns it. If you use the default HTTP mapping, 1661 the `name` should be a resource name ending with 1662 `operations/{unique_id}`. 1663 response: The normal response of the operation in case of success. If the 1664 original method returns no data on success, such as `Delete`, the 1665 response is `google.protobuf.Empty`. If the original method is standard 1666 `Get`/`Create`/`Update`, the response should be the resource. For other 1667 methods, the response should have the type `XxxResponse`, where `Xxx` is 1668 the original method name. For example, if the original method name is 1669 `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 1670 """ 1671 1672 @encoding.MapUnrecognizedFields('additionalProperties') 1673 class MetadataValue(_messages.Message): 1674 r"""Service-specific metadata associated with the operation. It typically 1675 contains progress information and common metadata such as create time. 1676 Some services might not provide such metadata. Any method that returns a 1677 long-running operation should document the metadata type, if any. 1678 1679 Messages: 1680 AdditionalProperty: An additional property for a MetadataValue object. 1681 1682 Fields: 1683 additionalProperties: Properties of the object. Contains field @type 1684 with type URL. 1685 """ 1686 1687 class AdditionalProperty(_messages.Message): 1688 r"""An additional property for a MetadataValue object. 1689 1690 Fields: 1691 key: Name of the additional property. 1692 value: A extra_types.JsonValue attribute. 1693 """ 1694 1695 key = _messages.StringField(1) 1696 value = _messages.MessageField('extra_types.JsonValue', 2) 1697 1698 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1699 1700 @encoding.MapUnrecognizedFields('additionalProperties') 1701 class ResponseValue(_messages.Message): 1702 r"""The normal response of the operation in case of success. If the 1703 original method returns no data on success, such as `Delete`, the response 1704 is `google.protobuf.Empty`. If the original method is standard 1705 `Get`/`Create`/`Update`, the response should be the resource. For other 1706 methods, the response should have the type `XxxResponse`, where `Xxx` is 1707 the original method name. For example, if the original method name is 1708 `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. 1709 1710 Messages: 1711 AdditionalProperty: An additional property for a ResponseValue object. 1712 1713 Fields: 1714 additionalProperties: Properties of the object. Contains field @type 1715 with type URL. 1716 """ 1717 1718 class AdditionalProperty(_messages.Message): 1719 r"""An additional property for a ResponseValue object. 1720 1721 Fields: 1722 key: Name of the additional property. 1723 value: A extra_types.JsonValue attribute. 1724 """ 1725 1726 key = _messages.StringField(1) 1727 value = _messages.MessageField('extra_types.JsonValue', 2) 1728 1729 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1730 1731 done = _messages.BooleanField(1) 1732 error = _messages.MessageField('Status', 2) 1733 metadata = _messages.MessageField('MetadataValue', 3) 1734 name = _messages.StringField(4) 1735 response = _messages.MessageField('ResponseValue', 5) 1736 1737 1738class OperationMetadata(_messages.Message): 1739 r"""Represents the metadata of the long-running operation. 1740 1741 Messages: 1742 OperationStatusValue: Output only. Operation status for Game Services API 1743 operations. Operation status is in the form of key-value pairs where 1744 keys are resource IDs and the values show the status of the operation. 1745 In case of failures, the value includes an error code and error message. 1746 1747 Fields: 1748 apiVersion: Output only. API version used to start the operation. 1749 createTime: Output only. The time the operation was created. 1750 endTime: Output only. The time the operation finished running. 1751 operationStatus: Output only. Operation status for Game Services API 1752 operations. Operation status is in the form of key-value pairs where 1753 keys are resource IDs and the values show the status of the operation. 1754 In case of failures, the value includes an error code and error message. 1755 requestedCancellation: Output only. Identifies whether the user has 1756 requested cancellation of the operation. Operations that have 1757 successfully been cancelled have Operation.error value with a 1758 google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. 1759 statusMessage: Output only. Human-readable status of the operation, if 1760 any. 1761 target: Output only. Server-defined resource path for the target of the 1762 operation. 1763 unreachable: Output only. List of Locations that could not be reached. 1764 verb: Output only. Name of the verb executed by the operation. 1765 """ 1766 1767 @encoding.MapUnrecognizedFields('additionalProperties') 1768 class OperationStatusValue(_messages.Message): 1769 r"""Output only. Operation status for Game Services API operations. 1770 Operation status is in the form of key-value pairs where keys are resource 1771 IDs and the values show the status of the operation. In case of failures, 1772 the value includes an error code and error message. 1773 1774 Messages: 1775 AdditionalProperty: An additional property for a OperationStatusValue 1776 object. 1777 1778 Fields: 1779 additionalProperties: Additional properties of type OperationStatusValue 1780 """ 1781 1782 class AdditionalProperty(_messages.Message): 1783 r"""An additional property for a OperationStatusValue object. 1784 1785 Fields: 1786 key: Name of the additional property. 1787 value: A OperationStatus attribute. 1788 """ 1789 1790 key = _messages.StringField(1) 1791 value = _messages.MessageField('OperationStatus', 2) 1792 1793 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 1794 1795 apiVersion = _messages.StringField(1) 1796 createTime = _messages.StringField(2) 1797 endTime = _messages.StringField(3) 1798 operationStatus = _messages.MessageField('OperationStatusValue', 4) 1799 requestedCancellation = _messages.BooleanField(5) 1800 statusMessage = _messages.StringField(6) 1801 target = _messages.StringField(7) 1802 unreachable = _messages.StringField(8, repeated=True) 1803 verb = _messages.StringField(9) 1804 1805 1806class OperationStatus(_messages.Message): 1807 r"""A OperationStatus object. 1808 1809 Enums: 1810 ErrorCodeValueValuesEnum: The error code in case of failures. 1811 1812 Fields: 1813 done: Output only. Whether the operation is done or still in progress. 1814 errorCode: The error code in case of failures. 1815 errorMessage: The human-readable error message. 1816 """ 1817 1818 class ErrorCodeValueValuesEnum(_messages.Enum): 1819 r"""The error code in case of failures. 1820 1821 Values: 1822 ERROR_CODE_UNSPECIFIED: <no description> 1823 INTERNAL_ERROR: <no description> 1824 PERMISSION_DENIED: <no description> 1825 CLUSTER_CONNECTION: <no description> 1826 """ 1827 ERROR_CODE_UNSPECIFIED = 0 1828 INTERNAL_ERROR = 1 1829 PERMISSION_DENIED = 2 1830 CLUSTER_CONNECTION = 3 1831 1832 done = _messages.BooleanField(1) 1833 errorCode = _messages.EnumField('ErrorCodeValueValuesEnum', 2) 1834 errorMessage = _messages.StringField(3) 1835 1836 1837class Policy(_messages.Message): 1838 r"""An Identity and Access Management (IAM) policy, which specifies access 1839 controls for Google Cloud resources. A `Policy` is a collection of 1840 `bindings`. A `binding` binds one or more `members` to a single `role`. 1841 Members can be user accounts, service accounts, Google groups, and domains 1842 (such as G Suite). A `role` is a named list of permissions; each `role` can 1843 be an IAM predefined role or a user-created custom role. For some types of 1844 Google Cloud resources, a `binding` can also specify a `condition`, which is 1845 a logical expression that allows access to a resource only if the expression 1846 evaluates to `true`. A condition can add constraints based on attributes of 1847 the request, the resource, or both. To learn which resources support 1848 conditions in their IAM policies, see the [IAM 1849 documentation](https://cloud.google.com/iam/help/conditions/resource- 1850 policies). **JSON example:** { "bindings": [ { "role": 1851 "roles/resourcemanager.organizationAdmin", "members": [ 1852 "user:mike@example.com", "group:admins@example.com", "domain:google.com", 1853 "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": 1854 "roles/resourcemanager.organizationViewer", "members": [ 1855 "user:eve@example.com" ], "condition": { "title": "expirable access", 1856 "description": "Does not grant access after Sep 2020", "expression": 1857 "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": 1858 "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - 1859 user:mike@example.com - group:admins@example.com - domain:google.com - 1860 serviceAccount:my-project-id@appspot.gserviceaccount.com role: 1861 roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 1862 role: roles/resourcemanager.organizationViewer condition: title: expirable 1863 access description: Does not grant access after Sep 2020 expression: 1864 request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - 1865 version: 3 For a description of IAM and its features, see the [IAM 1866 documentation](https://cloud.google.com/iam/docs/). 1867 1868 Fields: 1869 auditConfigs: Specifies cloud audit logging configuration for this policy. 1870 bindings: Associates a list of `members` to a `role`. Optionally, may 1871 specify a `condition` that determines how and when the `bindings` are 1872 applied. Each of the `bindings` must contain at least one member. 1873 etag: `etag` is used for optimistic concurrency control as a way to help 1874 prevent simultaneous updates of a policy from overwriting each other. It 1875 is strongly suggested that systems make use of the `etag` in the read- 1876 modify-write cycle to perform policy updates in order to avoid race 1877 conditions: An `etag` is returned in the response to `getIamPolicy`, and 1878 systems are expected to put that etag in the request to `setIamPolicy` 1879 to ensure that their change will be applied to the same version of the 1880 policy. **Important:** If you use IAM Conditions, you must include the 1881 `etag` field whenever you call `setIamPolicy`. If you omit this field, 1882 then IAM allows you to overwrite a version `3` policy with a version `1` 1883 policy, and all of the conditions in the version `3` policy are lost. 1884 iamOwned: A boolean attribute. 1885 rules: If more than one rule is specified, the rules are applied in the 1886 following manner: - All matching LOG rules are always applied. - If any 1887 DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be 1888 applied if one or more matching rule requires logging. - Otherwise, if 1889 any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging 1890 will be applied if one or more matching rule requires logging. - 1891 Otherwise, if no rule applies, permission is denied. 1892 version: Specifies the format of the policy. Valid values are `0`, `1`, 1893 and `3`. Requests that specify an invalid value are rejected. Any 1894 operation that affects conditional role bindings must specify version 1895 `3`. This requirement applies to the following operations: * Getting a 1896 policy that includes a conditional role binding * Adding a conditional 1897 role binding to a policy * Changing a conditional role binding in a 1898 policy * Removing any role binding, with or without a condition, from a 1899 policy that includes conditions **Important:** If you use IAM 1900 Conditions, you must include the `etag` field whenever you call 1901 `setIamPolicy`. If you omit this field, then IAM allows you to overwrite 1902 a version `3` policy with a version `1` policy, and all of the 1903 conditions in the version `3` policy are lost. If a policy does not 1904 include any conditions, operations on that policy may specify any valid 1905 version or leave the field unset. To learn which resources support 1906 conditions in their IAM policies, see the [IAM 1907 documentation](https://cloud.google.com/iam/help/conditions/resource- 1908 policies). 1909 """ 1910 1911 auditConfigs = _messages.MessageField('AuditConfig', 1, repeated=True) 1912 bindings = _messages.MessageField('Binding', 2, repeated=True) 1913 etag = _messages.BytesField(3) 1914 iamOwned = _messages.BooleanField(4) 1915 rules = _messages.MessageField('Rule', 5, repeated=True) 1916 version = _messages.IntegerField(6, variant=_messages.Variant.INT32) 1917 1918 1919class PreviewCreateGameServerClusterResponse(_messages.Message): 1920 r"""Response message for 1921 GameServerClustersService.PreviewCreateGameServerCluster. 1922 1923 Fields: 1924 etag: The ETag of the game server cluster. 1925 targetState: The target state. 1926 """ 1927 1928 etag = _messages.StringField(1) 1929 targetState = _messages.MessageField('TargetState', 2) 1930 1931 1932class PreviewDeleteGameServerClusterResponse(_messages.Message): 1933 r"""Response message for 1934 GameServerClustersService.PreviewDeleteGameServerCluster. 1935 1936 Fields: 1937 etag: The ETag of the game server cluster. 1938 targetState: The target state. 1939 """ 1940 1941 etag = _messages.StringField(1) 1942 targetState = _messages.MessageField('TargetState', 2) 1943 1944 1945class PreviewGameServerDeploymentRolloutResponse(_messages.Message): 1946 r"""Response message for PreviewGameServerDeploymentRollout. This has 1947 details about the Agones fleet and autoscaler to be actuated. 1948 1949 Fields: 1950 etag: ETag of the game server deployment. 1951 targetState: The target state. 1952 unavailable: Locations that could not be reached on this request. 1953 """ 1954 1955 etag = _messages.StringField(1) 1956 targetState = _messages.MessageField('TargetState', 2) 1957 unavailable = _messages.StringField(3, repeated=True) 1958 1959 1960class PreviewRealmUpdateResponse(_messages.Message): 1961 r"""Response message for RealmsService.PreviewRealmUpdate. 1962 1963 Fields: 1964 etag: ETag of the realm. 1965 targetState: The target state. 1966 """ 1967 1968 etag = _messages.StringField(1) 1969 targetState = _messages.MessageField('TargetState', 2) 1970 1971 1972class PreviewUpdateGameServerClusterResponse(_messages.Message): 1973 r"""Response message for 1974 GameServerClustersService.PreviewUpdateGameServerCluster 1975 1976 Fields: 1977 etag: The ETag of the game server cluster. 1978 targetState: The target state. 1979 """ 1980 1981 etag = _messages.StringField(1) 1982 targetState = _messages.MessageField('TargetState', 2) 1983 1984 1985class Realm(_messages.Message): 1986 r"""A realm resource. 1987 1988 Messages: 1989 LabelsValue: The labels associated with this realm. Each label is a key- 1990 value pair. 1991 1992 Fields: 1993 createTime: Output only. The creation time. 1994 description: Human readable description of the realm. 1995 etag: ETag of the resource. 1996 labels: The labels associated with this realm. Each label is a key-value 1997 pair. 1998 name: The resource name of the realm. Uses the form: 1999 `projects/{project}/locations/{location}/realms/{realm}`. For example, 2000 `projects/my-project/locations/{location}/realms/my-realm`. 2001 timeZone: Required. Time zone where all policies targeting this realm are 2002 evaluated. The value of this field must be from the IANA time zone 2003 database: https://www.iana.org/time-zones. 2004 updateTime: Output only. The last-modified time. 2005 """ 2006 2007 @encoding.MapUnrecognizedFields('additionalProperties') 2008 class LabelsValue(_messages.Message): 2009 r"""The labels associated with this realm. Each label is a key-value pair. 2010 2011 Messages: 2012 AdditionalProperty: An additional property for a LabelsValue object. 2013 2014 Fields: 2015 additionalProperties: Additional properties of type LabelsValue 2016 """ 2017 2018 class AdditionalProperty(_messages.Message): 2019 r"""An additional property for a LabelsValue object. 2020 2021 Fields: 2022 key: Name of the additional property. 2023 value: A string attribute. 2024 """ 2025 2026 key = _messages.StringField(1) 2027 value = _messages.StringField(2) 2028 2029 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2030 2031 createTime = _messages.StringField(1) 2032 description = _messages.StringField(2) 2033 etag = _messages.StringField(3) 2034 labels = _messages.MessageField('LabelsValue', 4) 2035 name = _messages.StringField(5) 2036 timeZone = _messages.StringField(6) 2037 updateTime = _messages.StringField(7) 2038 2039 2040class RealmSelector(_messages.Message): 2041 r"""The realm selector, used to match realm resources. 2042 2043 Fields: 2044 realms: List of realms to match. 2045 """ 2046 2047 realms = _messages.StringField(1, repeated=True) 2048 2049 2050class Rule(_messages.Message): 2051 r"""A rule to be applied in a Policy. 2052 2053 Enums: 2054 ActionValueValuesEnum: Required 2055 2056 Fields: 2057 action: Required 2058 conditions: Additional restrictions that must be met. All conditions must 2059 pass for the rule to match. 2060 description: Human-readable description of the rule. 2061 in_: If one or more 'in' clauses are specified, the rule matches if the 2062 PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. 2063 logConfig: The config returned to callers of tech.iam.IAM.CheckPolicy for 2064 any entries that match the LOG action. 2065 notIn: If one or more 'not_in' clauses are specified, the rule matches if 2066 the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format 2067 for in and not_in entries can be found at in the Local IAM documentation 2068 (see go/local-iam#features). 2069 permissions: A permission is a string of form '..' (e.g., 2070 'storage.buckets.list'). A value of '*' matches all permissions, and a 2071 verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. 2072 """ 2073 2074 class ActionValueValuesEnum(_messages.Enum): 2075 r"""Required 2076 2077 Values: 2078 NO_ACTION: Default no action. 2079 ALLOW: Matching 'Entries' grant access. 2080 ALLOW_WITH_LOG: Matching 'Entries' grant access and the caller promises 2081 to log the request per the returned log_configs. 2082 DENY: Matching 'Entries' deny access. 2083 DENY_WITH_LOG: Matching 'Entries' deny access and the caller promises to 2084 log the request per the returned log_configs. 2085 LOG: Matching 'Entries' tell IAM.Check callers to generate logs. 2086 """ 2087 NO_ACTION = 0 2088 ALLOW = 1 2089 ALLOW_WITH_LOG = 2 2090 DENY = 3 2091 DENY_WITH_LOG = 4 2092 LOG = 5 2093 2094 action = _messages.EnumField('ActionValueValuesEnum', 1) 2095 conditions = _messages.MessageField('Condition', 2, repeated=True) 2096 description = _messages.StringField(3) 2097 in_ = _messages.StringField(4, repeated=True) 2098 logConfig = _messages.MessageField('LogConfig', 5, repeated=True) 2099 notIn = _messages.StringField(6, repeated=True) 2100 permissions = _messages.StringField(7, repeated=True) 2101 2102 2103class ScalingConfig(_messages.Message): 2104 r"""Autoscaling config for an Agones fleet. 2105 2106 Fields: 2107 fleetAutoscalerSpec: Required. Agones fleet autoscaler spec. Example spec: 2108 https://agones.dev/site/docs/reference/fleetautoscaler/ 2109 name: Required. The name of the Scaling Config 2110 schedules: The schedules to which this Scaling Config applies. 2111 selectors: Labels used to identify the game server clusters to which this 2112 Agones scaling config applies. A game server cluster is subject to this 2113 Agones scaling config if its labels match any of the selector entries. 2114 """ 2115 2116 fleetAutoscalerSpec = _messages.StringField(1) 2117 name = _messages.StringField(2) 2118 schedules = _messages.MessageField('Schedule', 3, repeated=True) 2119 selectors = _messages.MessageField('LabelSelector', 4, repeated=True) 2120 2121 2122class Schedule(_messages.Message): 2123 r"""The schedule of a recurring or one time event. The event's time span is 2124 specified by start_time and end_time. If the scheduled event's timespan is 2125 larger than the cron_spec + cron_job_duration, the event will be recurring. 2126 If only cron_spec + cron_job_duration are specified, the event is effective 2127 starting at the local time specified by cron_spec, and is recurring. 2128 start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time 2129 cron job: cron spec start time + duration 2130 2131 Fields: 2132 cronJobDuration: The duration for the cron job event. The duration of the 2133 event is effective after the cron job's start time. 2134 cronSpec: The cron definition of the scheduled event. See 2135 https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time 2136 as defined by the realm. 2137 endTime: The end time of the event. 2138 startTime: The start time of the event. 2139 """ 2140 2141 cronJobDuration = _messages.StringField(1) 2142 cronSpec = _messages.StringField(2) 2143 endTime = _messages.StringField(3) 2144 startTime = _messages.StringField(4) 2145 2146 2147class SetIamPolicyRequest(_messages.Message): 2148 r"""Request message for `SetIamPolicy` method. 2149 2150 Fields: 2151 policy: REQUIRED: The complete policy to be applied to the `resource`. The 2152 size of the policy is limited to a few 10s of KB. An empty policy is a 2153 valid policy but certain Cloud Platform services (such as Projects) 2154 might reject them. 2155 updateMask: OPTIONAL: A FieldMask specifying which fields of the policy to 2156 modify. Only the fields in the mask will be modified. If no mask is 2157 provided, the following default mask is used: `paths: "bindings, etag"` 2158 """ 2159 2160 policy = _messages.MessageField('Policy', 1) 2161 updateMask = _messages.StringField(2) 2162 2163 2164class SpecSource(_messages.Message): 2165 r"""Encapsulates Agones fleet spec and Agones autoscaler spec sources. 2166 2167 Fields: 2168 gameServerConfigName: The game server config resource. Uses the form: `pro 2169 jects/{project}/locations/{location}/gameServerDeployments/{deployment_i 2170 d}/configs/{config_id}`. 2171 name: The name of the Agones leet config or Agones scaling config used to 2172 derive the Agones fleet or Agones autoscaler spec. 2173 """ 2174 2175 gameServerConfigName = _messages.StringField(1) 2176 name = _messages.StringField(2) 2177 2178 2179class StandardQueryParameters(_messages.Message): 2180 r"""Query parameters accepted by all methods. 2181 2182 Enums: 2183 FXgafvValueValuesEnum: V1 error format. 2184 AltValueValuesEnum: Data format for response. 2185 2186 Fields: 2187 f__xgafv: V1 error format. 2188 access_token: OAuth access token. 2189 alt: Data format for response. 2190 callback: JSONP 2191 fields: Selector specifying which fields to include in a partial response. 2192 key: API key. Your API key identifies your project and provides you with 2193 API access, quota, and reports. Required unless you provide an OAuth 2.0 2194 token. 2195 oauth_token: OAuth 2.0 token for the current user. 2196 prettyPrint: Returns response with indentations and line breaks. 2197 quotaUser: Available to use for quota purposes for server-side 2198 applications. Can be any arbitrary string assigned to a user, but should 2199 not exceed 40 characters. 2200 trace: A tracing token of the form "token:<tokenid>" to include in api 2201 requests. 2202 uploadType: Legacy upload protocol for media (e.g. "media", "multipart"). 2203 upload_protocol: Upload protocol for media (e.g. "raw", "multipart"). 2204 """ 2205 2206 class AltValueValuesEnum(_messages.Enum): 2207 r"""Data format for response. 2208 2209 Values: 2210 json: Responses with Content-Type of application/json 2211 media: Media download with context-dependent Content-Type 2212 proto: Responses with Content-Type of application/x-protobuf 2213 """ 2214 json = 0 2215 media = 1 2216 proto = 2 2217 2218 class FXgafvValueValuesEnum(_messages.Enum): 2219 r"""V1 error format. 2220 2221 Values: 2222 _1: v1 error format 2223 _2: v2 error format 2224 """ 2225 _1 = 0 2226 _2 = 1 2227 2228 f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1) 2229 access_token = _messages.StringField(2) 2230 alt = _messages.EnumField('AltValueValuesEnum', 3, default='json') 2231 callback = _messages.StringField(4) 2232 fields = _messages.StringField(5) 2233 key = _messages.StringField(6) 2234 oauth_token = _messages.StringField(7) 2235 prettyPrint = _messages.BooleanField(8, default=True) 2236 quotaUser = _messages.StringField(9) 2237 trace = _messages.StringField(10) 2238 uploadType = _messages.StringField(11) 2239 upload_protocol = _messages.StringField(12) 2240 2241 2242class Status(_messages.Message): 2243 r"""The `Status` type defines a logical error model that is suitable for 2244 different programming environments, including REST APIs and RPC APIs. It is 2245 used by [gRPC](https://github.com/grpc). Each `Status` message contains 2246 three pieces of data: error code, error message, and error details. You can 2247 find out more about this error model and how to work with it in the [API 2248 Design Guide](https://cloud.google.com/apis/design/errors). 2249 2250 Messages: 2251 DetailsValueListEntry: A DetailsValueListEntry object. 2252 2253 Fields: 2254 code: The status code, which should be an enum value of google.rpc.Code. 2255 details: A list of messages that carry the error details. There is a 2256 common set of message types for APIs to use. 2257 message: A developer-facing error message, which should be in English. Any 2258 user-facing error message should be localized and sent in the 2259 google.rpc.Status.details field, or localized by the client. 2260 """ 2261 2262 @encoding.MapUnrecognizedFields('additionalProperties') 2263 class DetailsValueListEntry(_messages.Message): 2264 r"""A DetailsValueListEntry object. 2265 2266 Messages: 2267 AdditionalProperty: An additional property for a DetailsValueListEntry 2268 object. 2269 2270 Fields: 2271 additionalProperties: Properties of the object. Contains field @type 2272 with type URL. 2273 """ 2274 2275 class AdditionalProperty(_messages.Message): 2276 r"""An additional property for a DetailsValueListEntry object. 2277 2278 Fields: 2279 key: Name of the additional property. 2280 value: A extra_types.JsonValue attribute. 2281 """ 2282 2283 key = _messages.StringField(1) 2284 value = _messages.MessageField('extra_types.JsonValue', 2) 2285 2286 additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True) 2287 2288 code = _messages.IntegerField(1, variant=_messages.Variant.INT32) 2289 details = _messages.MessageField('DetailsValueListEntry', 2, repeated=True) 2290 message = _messages.StringField(3) 2291 2292 2293class TargetDetails(_messages.Message): 2294 r"""Details about the Agones resources. 2295 2296 Fields: 2297 fleetDetails: Agones fleet details for game server clusters and game 2298 server deployments. 2299 gameServerClusterName: The game server cluster name. Uses the form: `proje 2300 cts/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cl 2301 uster}`. 2302 gameServerDeploymentName: The game server deployment name. Uses the form: 2303 `projects/{project}/locations/{location}/gameServerDeployments/{deployme 2304 nt_id}`. 2305 """ 2306 2307 fleetDetails = _messages.MessageField('TargetFleetDetails', 1, repeated=True) 2308 gameServerClusterName = _messages.StringField(2) 2309 gameServerDeploymentName = _messages.StringField(3) 2310 2311 2312class TargetFleet(_messages.Message): 2313 r"""Target Agones fleet specification. 2314 2315 Fields: 2316 name: The name of the Agones fleet. 2317 specSource: Encapsulates the source of the Agones fleet spec. The Agones 2318 fleet spec source. 2319 """ 2320 2321 name = _messages.StringField(1) 2322 specSource = _messages.MessageField('SpecSource', 2) 2323 2324 2325class TargetFleetAutoscaler(_messages.Message): 2326 r"""Target Agones autoscaler policy reference. 2327 2328 Fields: 2329 name: The name of the Agones autoscaler. 2330 specSource: Encapsulates the source of the Agones fleet spec. Details 2331 about the Agones autoscaler spec. 2332 """ 2333 2334 name = _messages.StringField(1) 2335 specSource = _messages.MessageField('SpecSource', 2) 2336 2337 2338class TargetFleetDetails(_messages.Message): 2339 r"""Details of the target Agones fleet. 2340 2341 Fields: 2342 autoscaler: Reference to target Agones fleet autoscaling policy. 2343 fleet: Reference to target Agones fleet. 2344 """ 2345 2346 autoscaler = _messages.MessageField('TargetFleetAutoscaler', 1) 2347 fleet = _messages.MessageField('TargetFleet', 2) 2348 2349 2350class TargetState(_messages.Message): 2351 r"""Encapsulates the Target state. 2352 2353 Fields: 2354 details: Details about Agones fleets. 2355 """ 2356 2357 details = _messages.MessageField('TargetDetails', 1, repeated=True) 2358 2359 2360class TestIamPermissionsRequest(_messages.Message): 2361 r"""Request message for `TestIamPermissions` method. 2362 2363 Fields: 2364 permissions: The set of permissions to check for the `resource`. 2365 Permissions with wildcards (such as '*' or 'storage.*') are not allowed. 2366 For more information see [IAM 2367 Overview](https://cloud.google.com/iam/docs/overview#permissions). 2368 """ 2369 2370 permissions = _messages.StringField(1, repeated=True) 2371 2372 2373class TestIamPermissionsResponse(_messages.Message): 2374 r"""Response message for `TestIamPermissions` method. 2375 2376 Fields: 2377 permissions: A subset of `TestPermissionsRequest.permissions` that the 2378 caller is allowed. 2379 """ 2380 2381 permissions = _messages.StringField(1, repeated=True) 2382 2383 2384encoding.AddCustomJsonFieldMapping( 2385 Rule, 'in_', 'in') 2386encoding.AddCustomJsonFieldMapping( 2387 StandardQueryParameters, 'f__xgafv', '$.xgafv') 2388encoding.AddCustomJsonEnumMapping( 2389 StandardQueryParameters.FXgafvValueValuesEnum, '_1', '1') 2390encoding.AddCustomJsonEnumMapping( 2391 StandardQueryParameters.FXgafvValueValuesEnum, '_2', '2') 2392