google-cloud-gke_multi_cloud-v1 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -99
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +157 -12
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +28 -6
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/client.rb +1354 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/operations.rb +895 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest/service_stub.rb +595 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/rest.rb +55 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb +6 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +492 -10
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +28 -6
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/client.rb +2122 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/operations.rb +895 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/service_stub.rb +1010 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest.rb +54 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +6 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +356 -10
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +28 -6
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/client.rb +2430 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/operations.rb +895 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/service_stub.rb +1187 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest.rb +54 -0
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +6 -0
- data/lib/google/cloud/gke_multi_cloud/v1/rest.rb +39 -0
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1.rb +5 -0
- data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +4 -1
- data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +6 -2
- data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +2 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +10 -1
- data/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +8 -1
- data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +18 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +7 -1
- data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +7 -1
- data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +11 -0
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +48 -2
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +55 -2
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +181 -6
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +117 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +103 -6
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +80 -4
- data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +56 -0
- data/proto_docs/google/type/date.rb +53 -0
- metadata +19 -5
| @@ -73,6 +73,8 @@ module Google | |
| 73 73 | 
             
                    #      *   `annotations`.
         | 
| 74 74 | 
             
                    #      *   `control_plane.version`.
         | 
| 75 75 | 
             
                    #      *   `authorization.admin_users`.
         | 
| 76 | 
            +
                    #      *   `authorization.admin_groups`.
         | 
| 77 | 
            +
                    #      *   `binary_authorization.evaluation_mode`.
         | 
| 76 78 | 
             
                    #      *   `control_plane.aws_services_authentication.role_arn`.
         | 
| 77 79 | 
             
                    #      *   `control_plane.aws_services_authentication.role_session_name`.
         | 
| 78 80 | 
             
                    #      *   `control_plane.config_encryption.kms_key_arn`.
         | 
| @@ -84,6 +86,7 @@ module Google | |
| 84 86 | 
             
                    #      *   `control_plane.root_volume.size_gib`.
         | 
| 85 87 | 
             
                    #      *   `control_plane.root_volume.volume_type`.
         | 
| 86 88 | 
             
                    #      *   `control_plane.root_volume.iops`.
         | 
| 89 | 
            +
                    #      *   `control_plane.root_volume.throughput`.
         | 
| 87 90 | 
             
                    #      *   `control_plane.root_volume.kms_key_arn`.
         | 
| 88 91 | 
             
                    #      *   `control_plane.ssh_config`.
         | 
| 89 92 | 
             
                    #      *   `control_plane.ssh_config.ec2_key_pair`.
         | 
| @@ -92,6 +95,7 @@ module Google | |
| 92 95 | 
             
                    #      *   `logging_config.component_config.enable_components`.
         | 
| 93 96 | 
             
                    #      *   `control_plane.tags`.
         | 
| 94 97 | 
             
                    #      *   `monitoring_config.managed_prometheus_config.enabled`.
         | 
| 98 | 
            +
                    #      *   `networking.per_node_pool_sg_rules_disabled`.
         | 
| 95 99 | 
             
                    class UpdateAwsClusterRequest
         | 
| 96 100 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 97 101 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -179,6 +183,12 @@ module Google | |
| 179 183 | 
             
                    #     and a completed {::Google::Longrunning::Operation Operation} will be returned.
         | 
| 180 184 | 
             
                    #
         | 
| 181 185 | 
             
                    #     Useful for idempotent deletion.
         | 
| 186 | 
            +
                    # @!attribute [rw] ignore_errors
         | 
| 187 | 
            +
                    #   @return [::Boolean]
         | 
| 188 | 
            +
                    #     Optional. If set to true, the deletion of
         | 
| 189 | 
            +
                    #     {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource will
         | 
| 190 | 
            +
                    #     succeed even if errors occur during deleting in cluster resources. Using
         | 
| 191 | 
            +
                    #     this parameter may result in orphaned resources in the cluster.
         | 
| 182 192 | 
             
                    # @!attribute [rw] etag
         | 
| 183 193 | 
             
                    #   @return [::String]
         | 
| 184 194 | 
             
                    #     The current etag of the
         | 
| @@ -249,6 +259,7 @@ module Google | |
| 249 259 | 
             
                    #      *   `config.config_encryption.kms_key_arn`.
         | 
| 250 260 | 
             
                    #      *   `config.security_group_ids`.
         | 
| 251 261 | 
             
                    #      *   `config.root_volume.iops`.
         | 
| 262 | 
            +
                    #      *   `config.root_volume.throughput`.
         | 
| 252 263 | 
             
                    #      *   `config.root_volume.kms_key_arn`.
         | 
| 253 264 | 
             
                    #      *   `config.root_volume.volume_type`.
         | 
| 254 265 | 
             
                    #      *   `config.root_volume.size_gib`.
         | 
| @@ -264,11 +275,39 @@ module Google | |
| 264 275 | 
             
                    #      *   `config.autoscaling_metrics_collection`.
         | 
| 265 276 | 
             
                    #      *   `config.autoscaling_metrics_collection.granularity`.
         | 
| 266 277 | 
             
                    #      *   `config.autoscaling_metrics_collection.metrics`.
         | 
| 278 | 
            +
                    #      *   `config.instance_type`.
         | 
| 279 | 
            +
                    #      *   `management.auto_repair`.
         | 
| 280 | 
            +
                    #      *   `management`.
         | 
| 281 | 
            +
                    #      *   `update_settings`.
         | 
| 282 | 
            +
                    #      *   `update_settings.surge_settings`.
         | 
| 283 | 
            +
                    #      *   `update_settings.surge_settings.max_surge`.
         | 
| 284 | 
            +
                    #      *   `update_settings.surge_settings.max_unavailable`.
         | 
| 267 285 | 
             
                    class UpdateAwsNodePoolRequest
         | 
| 268 286 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 269 287 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 270 288 | 
             
                    end
         | 
| 271 289 |  | 
| 290 | 
            +
                    # Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method.
         | 
| 291 | 
            +
                    # @!attribute [rw] name
         | 
| 292 | 
            +
                    #   @return [::String]
         | 
| 293 | 
            +
                    #     Required. The name of the
         | 
| 294 | 
            +
                    #     {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource to
         | 
| 295 | 
            +
                    #     rollback.
         | 
| 296 | 
            +
                    #
         | 
| 297 | 
            +
                    #     `AwsNodePool` names are formatted as
         | 
| 298 | 
            +
                    #     `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
         | 
| 299 | 
            +
                    #
         | 
| 300 | 
            +
                    #     See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         | 
| 301 | 
            +
                    #     for more details on Google Cloud resource names.
         | 
| 302 | 
            +
                    # @!attribute [rw] respect_pdb
         | 
| 303 | 
            +
                    #   @return [::Boolean]
         | 
| 304 | 
            +
                    #     Optional. Option for rollback to ignore the PodDisruptionBudget when
         | 
| 305 | 
            +
                    #     draining the node pool nodes. Default value is false.
         | 
| 306 | 
            +
                    class RollbackAwsNodePoolUpdateRequest
         | 
| 307 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 308 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 309 | 
            +
                    end
         | 
| 310 | 
            +
             | 
| 272 311 | 
             
                    # Request message for `AwsClusters.GetAwsNodePool` method.
         | 
| 273 312 | 
             
                    # @!attribute [rw] name
         | 
| 274 313 | 
             
                    #   @return [::String]
         | 
| @@ -353,6 +392,12 @@ module Google | |
| 353 392 | 
             
                    #     and a completed {::Google::Longrunning::Operation Operation} will be returned.
         | 
| 354 393 | 
             
                    #
         | 
| 355 394 | 
             
                    #     Useful for idempotent deletion.
         | 
| 395 | 
            +
                    # @!attribute [rw] ignore_errors
         | 
| 396 | 
            +
                    #   @return [::Boolean]
         | 
| 397 | 
            +
                    #     Optional. If set to true, the deletion of
         | 
| 398 | 
            +
                    #     {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource will
         | 
| 399 | 
            +
                    #     succeed even if errors occur during deleting in node pool resources. Using
         | 
| 400 | 
            +
                    #     this parameter may result in orphaned resources in the node pool.
         | 
| 356 401 | 
             
                    # @!attribute [rw] etag
         | 
| 357 402 | 
             
                    #   @return [::String]
         | 
| 358 403 | 
             
                    #     The current ETag of the
         | 
| @@ -367,6 +412,32 @@ module Google | |
| 367 412 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 368 413 | 
             
                    end
         | 
| 369 414 |  | 
| 415 | 
            +
                    # GetAwsOpenIdConfigRequest gets the OIDC discovery document for the
         | 
| 416 | 
            +
                    # cluster. See the OpenID Connect Discovery 1.0 specification for details.
         | 
| 417 | 
            +
                    # @!attribute [rw] aws_cluster
         | 
| 418 | 
            +
                    #   @return [::String]
         | 
| 419 | 
            +
                    #     Required. The AwsCluster, which owns the OIDC discovery document.
         | 
| 420 | 
            +
                    #     Format:
         | 
| 421 | 
            +
                    #     projects/\\{project}/locations/\\{location}/awsClusters/\\{cluster}
         | 
| 422 | 
            +
                    class GetAwsOpenIdConfigRequest
         | 
| 423 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 424 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 425 | 
            +
                    end
         | 
| 426 | 
            +
             | 
| 427 | 
            +
                    # GetAwsJsonWebKeysRequest gets the public component of the keys used by the
         | 
| 428 | 
            +
                    # cluster to sign token requests. This will be the jwks_uri for the discover
         | 
| 429 | 
            +
                    # document returned by getOpenIDConfig. See the OpenID Connect
         | 
| 430 | 
            +
                    # Discovery 1.0 specification for details.
         | 
| 431 | 
            +
                    # @!attribute [rw] aws_cluster
         | 
| 432 | 
            +
                    #   @return [::String]
         | 
| 433 | 
            +
                    #     Required. The AwsCluster, which owns the JsonWebKeys.
         | 
| 434 | 
            +
                    #     Format:
         | 
| 435 | 
            +
                    #     projects/\\{project}/locations/\\{location}/awsClusters/\\{cluster}
         | 
| 436 | 
            +
                    class GetAwsJsonWebKeysRequest
         | 
| 437 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 438 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 439 | 
            +
                    end
         | 
| 440 | 
            +
             | 
| 370 441 | 
             
                    # GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.
         | 
| 371 442 | 
             
                    # @!attribute [rw] name
         | 
| 372 443 | 
             
                    #   @return [::String]
         | 
| @@ -412,6 +483,52 @@ module Google | |
| 412 483 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 413 484 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 414 485 | 
             
                    end
         | 
| 486 | 
            +
             | 
| 487 | 
            +
                    # @!attribute [rw] aws_cluster
         | 
| 488 | 
            +
                    #   @return [::String]
         | 
| 489 | 
            +
                    #     Required.
         | 
| 490 | 
            +
                    # @!attribute [rw] subject_token
         | 
| 491 | 
            +
                    #   @return [::String]
         | 
| 492 | 
            +
                    #     Required.
         | 
| 493 | 
            +
                    # @!attribute [rw] subject_token_type
         | 
| 494 | 
            +
                    #   @return [::String]
         | 
| 495 | 
            +
                    #     Required.
         | 
| 496 | 
            +
                    # @!attribute [rw] version
         | 
| 497 | 
            +
                    #   @return [::String]
         | 
| 498 | 
            +
                    #     Required.
         | 
| 499 | 
            +
                    # @!attribute [rw] node_pool_id
         | 
| 500 | 
            +
                    #   @return [::String]
         | 
| 501 | 
            +
                    #     Optional.
         | 
| 502 | 
            +
                    # @!attribute [rw] grant_type
         | 
| 503 | 
            +
                    #   @return [::String]
         | 
| 504 | 
            +
                    #     Optional.
         | 
| 505 | 
            +
                    # @!attribute [rw] audience
         | 
| 506 | 
            +
                    #   @return [::String]
         | 
| 507 | 
            +
                    #     Optional.
         | 
| 508 | 
            +
                    # @!attribute [rw] scope
         | 
| 509 | 
            +
                    #   @return [::String]
         | 
| 510 | 
            +
                    #     Optional.
         | 
| 511 | 
            +
                    # @!attribute [rw] requested_token_type
         | 
| 512 | 
            +
                    #   @return [::String]
         | 
| 513 | 
            +
                    #     Optional.
         | 
| 514 | 
            +
                    # @!attribute [rw] options
         | 
| 515 | 
            +
                    #   @return [::String]
         | 
| 516 | 
            +
                    #     Optional.
         | 
| 517 | 
            +
                    class GenerateAwsClusterAgentTokenRequest
         | 
| 518 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 519 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 520 | 
            +
                    end
         | 
| 521 | 
            +
             | 
| 522 | 
            +
                    # @!attribute [rw] access_token
         | 
| 523 | 
            +
                    #   @return [::String]
         | 
| 524 | 
            +
                    # @!attribute [rw] expires_in
         | 
| 525 | 
            +
                    #   @return [::Integer]
         | 
| 526 | 
            +
                    # @!attribute [rw] token_type
         | 
| 527 | 
            +
                    #   @return [::String]
         | 
| 528 | 
            +
                    class GenerateAwsClusterAgentTokenResponse
         | 
| 529 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 530 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 531 | 
            +
                    end
         | 
| 415 532 | 
             
                  end
         | 
| 416 533 | 
             
                end
         | 
| 417 534 | 
             
              end
         | 
| @@ -55,6 +55,8 @@ module Google | |
| 55 55 | 
             
                    #     authentication configuration for how the Anthos Multi-Cloud API connects to
         | 
| 56 56 | 
             
                    #     Azure APIs.
         | 
| 57 57 | 
             
                    #
         | 
| 58 | 
            +
                    #     Either azure_client or azure_services_authentication should be provided.
         | 
| 59 | 
            +
                    #
         | 
| 58 60 | 
             
                    #     The `AzureClient` resource must reside on the same Google Cloud Platform
         | 
| 59 61 | 
             
                    #     project and region as the `AzureCluster`.
         | 
| 60 62 | 
             
                    #
         | 
| @@ -75,6 +77,8 @@ module Google | |
| 75 77 | 
             
                    # @!attribute [rw] azure_services_authentication
         | 
| 76 78 | 
             
                    #   @return [::Google::Cloud::GkeMultiCloud::V1::AzureServicesAuthentication]
         | 
| 77 79 | 
             
                    #     Optional. Authentication configuration for management of Azure resources.
         | 
| 80 | 
            +
                    #
         | 
| 81 | 
            +
                    #     Either azure_client or azure_services_authentication should be provided.
         | 
| 78 82 | 
             
                    # @!attribute [r] state
         | 
| 79 83 | 
             
                    #   @return [::Google::Cloud::GkeMultiCloud::V1::AzureCluster::State]
         | 
| 80 84 | 
             
                    #     Output only. The current state of the cluster.
         | 
| @@ -465,12 +469,20 @@ module Google | |
| 465 469 | 
             
                    # Configuration related to the cluster RBAC settings.
         | 
| 466 470 | 
             
                    # @!attribute [rw] admin_users
         | 
| 467 471 | 
             
                    #   @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureClusterUser>]
         | 
| 468 | 
            -
                    #      | 
| 472 | 
            +
                    #     Optional. Users that can perform operations as a cluster admin. A managed
         | 
| 469 473 | 
             
                    #     ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
         | 
| 470 474 | 
             
                    #     to the users. Up to ten admin users can be provided.
         | 
| 471 475 | 
             
                    #
         | 
| 472 476 | 
             
                    #     For more info on RBAC, see
         | 
| 473 477 | 
             
                    #     https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
         | 
| 478 | 
            +
                    # @!attribute [rw] admin_groups
         | 
| 479 | 
            +
                    #   @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureClusterGroup>]
         | 
| 480 | 
            +
                    #     Optional. Groups of users that can perform operations as a cluster admin. A
         | 
| 481 | 
            +
                    #     managed ClusterRoleBinding will be created to grant the `cluster-admin`
         | 
| 482 | 
            +
                    #     ClusterRole to the groups. Up to ten admin groups can be provided.
         | 
| 483 | 
            +
                    #
         | 
| 484 | 
            +
                    #     For more info on RBAC, see
         | 
| 485 | 
            +
                    #     https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
         | 
| 474 486 | 
             
                    class AzureAuthorization
         | 
| 475 487 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 476 488 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -497,6 +509,15 @@ module Google | |
| 497 509 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 498 510 | 
             
                    end
         | 
| 499 511 |  | 
| 512 | 
            +
                    # Identities of a group-type subject for Azure clusters.
         | 
| 513 | 
            +
                    # @!attribute [rw] group
         | 
| 514 | 
            +
                    #   @return [::String]
         | 
| 515 | 
            +
                    #     Required. The name of the group, e.g. `my-group@domain.com`.
         | 
| 516 | 
            +
                    class AzureClusterGroup
         | 
| 517 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 518 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 519 | 
            +
                    end
         | 
| 520 | 
            +
             | 
| 500 521 | 
             
                    # An Anthos node pool running on Azure.
         | 
| 501 522 | 
             
                    # @!attribute [rw] name
         | 
| 502 523 | 
             
                    #   @return [::String]
         | 
| @@ -567,6 +588,9 @@ module Google | |
| 567 588 | 
             
                    # @!attribute [r] errors
         | 
| 568 589 | 
             
                    #   @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureNodePoolError>]
         | 
| 569 590 | 
             
                    #     Output only. A set of errors found in the node pool.
         | 
| 591 | 
            +
                    # @!attribute [rw] management
         | 
| 592 | 
            +
                    #   @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodeManagement]
         | 
| 593 | 
            +
                    #     Optional. The Management configuration for this node pool.
         | 
| 570 594 | 
             
                    class AzureNodePool
         | 
| 571 595 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 572 596 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -608,6 +632,19 @@ module Google | |
| 608 632 | 
             
                      end
         | 
| 609 633 | 
             
                    end
         | 
| 610 634 |  | 
| 635 | 
            +
                    # AzureNodeManagement defines the set of node management features turned on for
         | 
| 636 | 
            +
                    # an Azure node pool.
         | 
| 637 | 
            +
                    # @!attribute [rw] auto_repair
         | 
| 638 | 
            +
                    #   @return [::Boolean]
         | 
| 639 | 
            +
                    #     Optional. Whether or not the nodes will be automatically repaired. When set
         | 
| 640 | 
            +
                    #     to true, the nodes in this node pool will be monitored and if they fail
         | 
| 641 | 
            +
                    #     health checks consistently over a period of time, an automatic repair
         | 
| 642 | 
            +
                    #     action will be triggered to replace them with new nodes.
         | 
| 643 | 
            +
                    class AzureNodeManagement
         | 
| 644 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 645 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 646 | 
            +
                    end
         | 
| 647 | 
            +
             | 
| 611 648 | 
             
                    # Parameters that describe the configuration of all node machines
         | 
| 612 649 | 
             
                    # on a given node pool.
         | 
| 613 650 | 
             
                    # @!attribute [rw] vm_size
         | 
| @@ -635,8 +672,7 @@ module Google | |
| 635 672 | 
             
                    # @!attribute [rw] image_type
         | 
| 636 673 | 
             
                    #   @return [::String]
         | 
| 637 674 | 
             
                    #     Optional. The OS image type to use on node pool instances.
         | 
| 638 | 
            -
                    #     Can have a value of `ubuntu | 
| 639 | 
            -
                    #     the Windows node pool preview feature.
         | 
| 675 | 
            +
                    #     Can be unspecified, or have a value of `ubuntu`.
         | 
| 640 676 | 
             
                    #
         | 
| 641 677 | 
             
                    #     When unspecified, it defaults to `ubuntu`.
         | 
| 642 678 | 
             
                    # @!attribute [rw] ssh_config
         | 
| @@ -696,6 +732,44 @@ module Google | |
| 696 732 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 697 733 | 
             
                    end
         | 
| 698 734 |  | 
| 735 | 
            +
                    # AzureOpenIdConfig is an OIDC discovery document for the cluster.
         | 
| 736 | 
            +
                    # See the OpenID Connect Discovery 1.0 specification for details.
         | 
| 737 | 
            +
                    # @!attribute [rw] issuer
         | 
| 738 | 
            +
                    #   @return [::String]
         | 
| 739 | 
            +
                    #     OIDC Issuer.
         | 
| 740 | 
            +
                    # @!attribute [rw] jwks_uri
         | 
| 741 | 
            +
                    #   @return [::String]
         | 
| 742 | 
            +
                    #     JSON Web Key uri.
         | 
| 743 | 
            +
                    # @!attribute [rw] response_types_supported
         | 
| 744 | 
            +
                    #   @return [::Array<::String>]
         | 
| 745 | 
            +
                    #     Supported response types.
         | 
| 746 | 
            +
                    # @!attribute [rw] subject_types_supported
         | 
| 747 | 
            +
                    #   @return [::Array<::String>]
         | 
| 748 | 
            +
                    #     Supported subject types.
         | 
| 749 | 
            +
                    # @!attribute [rw] id_token_signing_alg_values_supported
         | 
| 750 | 
            +
                    #   @return [::Array<::String>]
         | 
| 751 | 
            +
                    #     supported ID Token signing Algorithms.
         | 
| 752 | 
            +
                    # @!attribute [rw] claims_supported
         | 
| 753 | 
            +
                    #   @return [::Array<::String>]
         | 
| 754 | 
            +
                    #     Supported claims.
         | 
| 755 | 
            +
                    # @!attribute [rw] grant_types
         | 
| 756 | 
            +
                    #   @return [::Array<::String>]
         | 
| 757 | 
            +
                    #     Supported grant types.
         | 
| 758 | 
            +
                    class AzureOpenIdConfig
         | 
| 759 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 760 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 761 | 
            +
                    end
         | 
| 762 | 
            +
             | 
| 763 | 
            +
                    # AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
         | 
| 764 | 
            +
                    # @!attribute [rw] keys
         | 
| 765 | 
            +
                    #   @return [::Array<::Google::Cloud::GkeMultiCloud::V1::Jwk>]
         | 
| 766 | 
            +
                    #     The public component of the keys used by the cluster to sign token
         | 
| 767 | 
            +
                    #     requests.
         | 
| 768 | 
            +
                    class AzureJsonWebKeys
         | 
| 769 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 770 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 771 | 
            +
                    end
         | 
| 772 | 
            +
             | 
| 699 773 | 
             
                    # AzureServerConfig contains information about a Google Cloud location, such as
         | 
| 700 774 | 
             
                    # supported Azure regions and Kubernetes versions.
         | 
| 701 775 | 
             
                    # @!attribute [rw] name
         | 
| @@ -709,7 +783,10 @@ module Google | |
| 709 783 | 
             
                    #     for more details on Google Cloud Platform resource names.
         | 
| 710 784 | 
             
                    # @!attribute [rw] valid_versions
         | 
| 711 785 | 
             
                    #   @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureK8sVersionInfo>]
         | 
| 712 | 
            -
                    #     List of  | 
| 786 | 
            +
                    #     List of all released Kubernetes versions, including ones which are end of
         | 
| 787 | 
            +
                    #     life and can no longer be used.  Filter by the `enabled`
         | 
| 788 | 
            +
                    #     property to limit to currently available versions.
         | 
| 789 | 
            +
                    #     Valid versions supported for both create and update operations
         | 
| 713 790 | 
             
                    # @!attribute [rw] supported_azure_regions
         | 
| 714 791 | 
             
                    #   @return [::Array<::String>]
         | 
| 715 792 | 
             
                    #     The list of supported Azure regions.
         | 
| @@ -718,10 +795,30 @@ module Google | |
| 718 795 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 719 796 | 
             
                    end
         | 
| 720 797 |  | 
| 721 | 
            -
                    #  | 
| 798 | 
            +
                    # Kubernetes version information of GKE cluster on Azure.
         | 
| 722 799 | 
             
                    # @!attribute [rw] version
         | 
| 723 800 | 
             
                    #   @return [::String]
         | 
| 724 | 
            -
                    #      | 
| 801 | 
            +
                    #     Kubernetes version name (for example, `1.19.10-gke.1000`)
         | 
| 802 | 
            +
                    # @!attribute [rw] enabled
         | 
| 803 | 
            +
                    #   @return [::Boolean]
         | 
| 804 | 
            +
                    #     Optional. True if the version is available for cluster creation. If a
         | 
| 805 | 
            +
                    #     version is enabled for creation, it can be used to create new clusters.
         | 
| 806 | 
            +
                    #     Otherwise, cluster creation will fail. However, cluster upgrade operations
         | 
| 807 | 
            +
                    #     may succeed, even if the version is not enabled.
         | 
| 808 | 
            +
                    # @!attribute [rw] end_of_life
         | 
| 809 | 
            +
                    #   @return [::Boolean]
         | 
| 810 | 
            +
                    #     Optional. True if this cluster version belongs to a minor version that has
         | 
| 811 | 
            +
                    #     reached its end of life and is no longer in scope to receive security and
         | 
| 812 | 
            +
                    #     bug fixes.
         | 
| 813 | 
            +
                    # @!attribute [rw] end_of_life_date
         | 
| 814 | 
            +
                    #   @return [::Google::Type::Date]
         | 
| 815 | 
            +
                    #     Optional. The estimated date (in Pacific Time) when this cluster version
         | 
| 816 | 
            +
                    #     will reach its end of life. Or if this version is no longer supported (the
         | 
| 817 | 
            +
                    #     `end_of_life` field is true), this is the actual date (in Pacific time)
         | 
| 818 | 
            +
                    #     when the version reached its end of life.
         | 
| 819 | 
            +
                    # @!attribute [rw] release_date
         | 
| 820 | 
            +
                    #   @return [::Google::Type::Date]
         | 
| 821 | 
            +
                    #     Optional. The date (in Pacific Time) when the cluster version was released.
         | 
| 725 822 | 
             
                    class AzureK8sVersionInfo
         | 
| 726 823 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 727 824 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -75,6 +75,7 @@ module Google | |
| 75 75 | 
             
                    #      *   `control_plane.vm_size`.
         | 
| 76 76 | 
             
                    #      *   `annotations`.
         | 
| 77 77 | 
             
                    #      *   `authorization.admin_users`.
         | 
| 78 | 
            +
                    #      *   `authorization.admin_groups`.
         | 
| 78 79 | 
             
                    #      *   `control_plane.root_volume.size_gib`.
         | 
| 79 80 | 
             
                    #      *   `azure_services_authentication`.
         | 
| 80 81 | 
             
                    #      *   `azure_services_authentication.tenant_id`.
         | 
| @@ -150,7 +151,7 @@ module Google | |
| 150 151 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 151 152 | 
             
                    end
         | 
| 152 153 |  | 
| 153 | 
            -
                    # Request message for ` | 
| 154 | 
            +
                    # Request message for `AzureClusters.DeleteAzureCluster` method.
         | 
| 154 155 | 
             
                    # @!attribute [rw] name
         | 
| 155 156 | 
             
                    #   @return [::String]
         | 
| 156 157 | 
             
                    #     Required. The resource name the
         | 
| @@ -192,7 +193,8 @@ module Google | |
| 192 193 | 
             
                    #     Required. The {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
         | 
| 193 194 | 
             
                    #     resource where this node pool will be created.
         | 
| 194 195 | 
             
                    #
         | 
| 195 | 
            -
                    #      | 
| 196 | 
            +
                    #     `AzureCluster` names are formatted as
         | 
| 197 | 
            +
                    #     `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
         | 
| 196 198 | 
             
                    #
         | 
| 197 199 | 
             
                    #     See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         | 
| 198 200 | 
             
                    #     for more details on Google Cloud resource names.
         | 
| @@ -239,6 +241,8 @@ module Google | |
| 239 241 | 
             
                    #      *   `autoscaling.min_node_count`.
         | 
| 240 242 | 
             
                    #      *   `autoscaling.max_node_count`.
         | 
| 241 243 | 
             
                    #      *   `config.ssh_config.authorized_key`.
         | 
| 244 | 
            +
                    #      *   `management.auto_repair`.
         | 
| 245 | 
            +
                    #      *   `management`.
         | 
| 242 246 | 
             
                    class UpdateAzureNodePoolRequest
         | 
| 243 247 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 244 248 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -305,7 +309,7 @@ module Google | |
| 305 309 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 306 310 | 
             
                    end
         | 
| 307 311 |  | 
| 308 | 
            -
                    #  | 
| 312 | 
            +
                    # Request message for `AzureClusters.DeleteAzureNodePool` method.
         | 
| 309 313 | 
             
                    # @!attribute [rw] name
         | 
| 310 314 | 
             
                    #   @return [::String]
         | 
| 311 315 | 
             
                    #     Required. The resource name the
         | 
| @@ -343,6 +347,32 @@ module Google | |
| 343 347 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 344 348 | 
             
                    end
         | 
| 345 349 |  | 
| 350 | 
            +
                    # GetAzureOpenIdConfigRequest gets the OIDC discovery document for the
         | 
| 351 | 
            +
                    # cluster. See the OpenID Connect Discovery 1.0 specification for details.
         | 
| 352 | 
            +
                    # @!attribute [rw] azure_cluster
         | 
| 353 | 
            +
                    #   @return [::String]
         | 
| 354 | 
            +
                    #     Required. The AzureCluster, which owns the OIDC discovery document.
         | 
| 355 | 
            +
                    #     Format:
         | 
| 356 | 
            +
                    #     projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
         | 
| 357 | 
            +
                    class GetAzureOpenIdConfigRequest
         | 
| 358 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 359 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 360 | 
            +
                    end
         | 
| 361 | 
            +
             | 
| 362 | 
            +
                    # GetAzureJsonWebKeysRequest gets the public component of the keys used by the
         | 
| 363 | 
            +
                    # cluster to sign token requests. This will be the jwks_uri for the discover
         | 
| 364 | 
            +
                    # document returned by getOpenIDConfig. See the OpenID Connect
         | 
| 365 | 
            +
                    # Discovery 1.0 specification for details.
         | 
| 366 | 
            +
                    # @!attribute [rw] azure_cluster
         | 
| 367 | 
            +
                    #   @return [::String]
         | 
| 368 | 
            +
                    #     Required. The AzureCluster, which owns the JsonWebKeys.
         | 
| 369 | 
            +
                    #     Format:
         | 
| 370 | 
            +
                    #     projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
         | 
| 371 | 
            +
                    class GetAzureJsonWebKeysRequest
         | 
| 372 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 373 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 374 | 
            +
                    end
         | 
| 375 | 
            +
             | 
| 346 376 | 
             
                    # GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
         | 
| 347 377 | 
             
                    # @!attribute [rw] name
         | 
| 348 378 | 
             
                    #   @return [::String]
         | 
| @@ -491,7 +521,7 @@ module Google | |
| 491 521 | 
             
                    #     authenticate to.
         | 
| 492 522 | 
             
                    #
         | 
| 493 523 | 
             
                    #     `AzureCluster` names are formatted as
         | 
| 494 | 
            -
                    #     `projects/<project-id>/locations/<region>/ | 
| 524 | 
            +
                    #     `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
         | 
| 495 525 | 
             
                    #
         | 
| 496 526 | 
             
                    #     See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         | 
| 497 527 | 
             
                    #     for more details on Google Cloud resource names.
         | 
| @@ -511,6 +541,52 @@ module Google | |
| 511 541 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 512 542 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 513 543 | 
             
                    end
         | 
| 544 | 
            +
             | 
| 545 | 
            +
                    # @!attribute [rw] azure_cluster
         | 
| 546 | 
            +
                    #   @return [::String]
         | 
| 547 | 
            +
                    #     Required.
         | 
| 548 | 
            +
                    # @!attribute [rw] subject_token
         | 
| 549 | 
            +
                    #   @return [::String]
         | 
| 550 | 
            +
                    #     Required.
         | 
| 551 | 
            +
                    # @!attribute [rw] subject_token_type
         | 
| 552 | 
            +
                    #   @return [::String]
         | 
| 553 | 
            +
                    #     Required.
         | 
| 554 | 
            +
                    # @!attribute [rw] version
         | 
| 555 | 
            +
                    #   @return [::String]
         | 
| 556 | 
            +
                    #     Required.
         | 
| 557 | 
            +
                    # @!attribute [rw] node_pool_id
         | 
| 558 | 
            +
                    #   @return [::String]
         | 
| 559 | 
            +
                    #     Optional.
         | 
| 560 | 
            +
                    # @!attribute [rw] grant_type
         | 
| 561 | 
            +
                    #   @return [::String]
         | 
| 562 | 
            +
                    #     Optional.
         | 
| 563 | 
            +
                    # @!attribute [rw] audience
         | 
| 564 | 
            +
                    #   @return [::String]
         | 
| 565 | 
            +
                    #     Optional.
         | 
| 566 | 
            +
                    # @!attribute [rw] scope
         | 
| 567 | 
            +
                    #   @return [::String]
         | 
| 568 | 
            +
                    #     Optional.
         | 
| 569 | 
            +
                    # @!attribute [rw] requested_token_type
         | 
| 570 | 
            +
                    #   @return [::String]
         | 
| 571 | 
            +
                    #     Optional.
         | 
| 572 | 
            +
                    # @!attribute [rw] options
         | 
| 573 | 
            +
                    #   @return [::String]
         | 
| 574 | 
            +
                    #     Optional.
         | 
| 575 | 
            +
                    class GenerateAzureClusterAgentTokenRequest
         | 
| 576 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 577 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 578 | 
            +
                    end
         | 
| 579 | 
            +
             | 
| 580 | 
            +
                    # @!attribute [rw] access_token
         | 
| 581 | 
            +
                    #   @return [::String]
         | 
| 582 | 
            +
                    # @!attribute [rw] expires_in
         | 
| 583 | 
            +
                    #   @return [::Integer]
         | 
| 584 | 
            +
                    # @!attribute [rw] token_type
         | 
| 585 | 
            +
                    #   @return [::String]
         | 
| 586 | 
            +
                    class GenerateAzureClusterAgentTokenResponse
         | 
| 587 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 588 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 589 | 
            +
                    end
         | 
| 514 590 | 
             
                  end
         | 
| 515 591 | 
             
                end
         | 
| 516 592 | 
             
              end
         | 
| @@ -21,6 +21,39 @@ module Google | |
| 21 21 | 
             
              module Cloud
         | 
| 22 22 | 
             
                module GkeMultiCloud
         | 
| 23 23 | 
             
                  module V1
         | 
| 24 | 
            +
                    # Jwk is a JSON Web Key as specified in RFC 7517.
         | 
| 25 | 
            +
                    # @!attribute [rw] kty
         | 
| 26 | 
            +
                    #   @return [::String]
         | 
| 27 | 
            +
                    #     Key Type.
         | 
| 28 | 
            +
                    # @!attribute [rw] alg
         | 
| 29 | 
            +
                    #   @return [::String]
         | 
| 30 | 
            +
                    #     Algorithm.
         | 
| 31 | 
            +
                    # @!attribute [rw] use
         | 
| 32 | 
            +
                    #   @return [::String]
         | 
| 33 | 
            +
                    #     Permitted uses for the public keys.
         | 
| 34 | 
            +
                    # @!attribute [rw] kid
         | 
| 35 | 
            +
                    #   @return [::String]
         | 
| 36 | 
            +
                    #     Key ID.
         | 
| 37 | 
            +
                    # @!attribute [rw] n
         | 
| 38 | 
            +
                    #   @return [::String]
         | 
| 39 | 
            +
                    #     Used for RSA keys.
         | 
| 40 | 
            +
                    # @!attribute [rw] e
         | 
| 41 | 
            +
                    #   @return [::String]
         | 
| 42 | 
            +
                    #     Used for RSA keys.
         | 
| 43 | 
            +
                    # @!attribute [rw] x
         | 
| 44 | 
            +
                    #   @return [::String]
         | 
| 45 | 
            +
                    #     Used for ECDSA keys.
         | 
| 46 | 
            +
                    # @!attribute [rw] y
         | 
| 47 | 
            +
                    #   @return [::String]
         | 
| 48 | 
            +
                    #     Used for ECDSA keys.
         | 
| 49 | 
            +
                    # @!attribute [rw] crv
         | 
| 50 | 
            +
                    #   @return [::String]
         | 
| 51 | 
            +
                    #     Used for ECDSA keys.
         | 
| 52 | 
            +
                    class Jwk
         | 
| 53 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 54 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 55 | 
            +
                    end
         | 
| 56 | 
            +
             | 
| 24 57 | 
             
                    # Workload Identity settings.
         | 
| 25 58 | 
             
                    # @!attribute [rw] issuer_uri
         | 
| 26 59 | 
             
                    #   @return [::String]
         | 
| @@ -191,6 +224,29 @@ module Google | |
| 191 224 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 192 225 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 193 226 | 
             
                    end
         | 
| 227 | 
            +
             | 
| 228 | 
            +
                    # Configuration for Binary Authorization.
         | 
| 229 | 
            +
                    # @!attribute [rw] evaluation_mode
         | 
| 230 | 
            +
                    #   @return [::Google::Cloud::GkeMultiCloud::V1::BinaryAuthorization::EvaluationMode]
         | 
| 231 | 
            +
                    #     Mode of operation for binauthz policy evaluation. If unspecified, defaults
         | 
| 232 | 
            +
                    #     to DISABLED.
         | 
| 233 | 
            +
                    class BinaryAuthorization
         | 
| 234 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 235 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 236 | 
            +
             | 
| 237 | 
            +
                      # Binary Authorization mode of operation.
         | 
| 238 | 
            +
                      module EvaluationMode
         | 
| 239 | 
            +
                        # Default value
         | 
| 240 | 
            +
                        EVALUATION_MODE_UNSPECIFIED = 0
         | 
| 241 | 
            +
             | 
| 242 | 
            +
                        # Disable BinaryAuthorization
         | 
| 243 | 
            +
                        DISABLED = 1
         | 
| 244 | 
            +
             | 
| 245 | 
            +
                        # Enforce Kubernetes admission requests with BinaryAuthorization using the
         | 
| 246 | 
            +
                        # project's singleton policy.
         | 
| 247 | 
            +
                        PROJECT_SINGLETON_POLICY_ENFORCE = 2
         | 
| 248 | 
            +
                      end
         | 
| 249 | 
            +
                    end
         | 
| 194 250 | 
             
                  end
         | 
| 195 251 | 
             
                end
         | 
| 196 252 | 
             
              end
         | 
| @@ -0,0 +1,53 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Copyright 2023 Google LLC
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         | 
| 6 | 
            +
            # you may not use this file except in compliance with the License.
         | 
| 7 | 
            +
            # You may obtain a copy of the License at
         | 
| 8 | 
            +
            #
         | 
| 9 | 
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         | 
| 10 | 
            +
            #
         | 
| 11 | 
            +
            # Unless required by applicable law or agreed to in writing, software
         | 
| 12 | 
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         | 
| 13 | 
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         | 
| 14 | 
            +
            # See the License for the specific language governing permissions and
         | 
| 15 | 
            +
            # limitations under the License.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         | 
| 18 | 
            +
             | 
| 19 | 
            +
             | 
| 20 | 
            +
            module Google
         | 
| 21 | 
            +
              module Type
         | 
| 22 | 
            +
                # Represents a whole or partial calendar date, such as a birthday. The time of
         | 
| 23 | 
            +
                # day and time zone are either specified elsewhere or are insignificant. The
         | 
| 24 | 
            +
                # date is relative to the Gregorian Calendar. This can represent one of the
         | 
| 25 | 
            +
                # following:
         | 
| 26 | 
            +
                #
         | 
| 27 | 
            +
                # * A full date, with non-zero year, month, and day values
         | 
| 28 | 
            +
                # * A month and day value, with a zero year, such as an anniversary
         | 
| 29 | 
            +
                # * A year on its own, with zero month and day values
         | 
| 30 | 
            +
                # * A year and month value, with a zero day, such as a credit card expiration
         | 
| 31 | 
            +
                # date
         | 
| 32 | 
            +
                #
         | 
| 33 | 
            +
                # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
         | 
| 34 | 
            +
                # `google.protobuf.Timestamp`.
         | 
| 35 | 
            +
                # @!attribute [rw] year
         | 
| 36 | 
            +
                #   @return [::Integer]
         | 
| 37 | 
            +
                #     Year of the date. Must be from 1 to 9999, or 0 to specify a date without
         | 
| 38 | 
            +
                #     a year.
         | 
| 39 | 
            +
                # @!attribute [rw] month
         | 
| 40 | 
            +
                #   @return [::Integer]
         | 
| 41 | 
            +
                #     Month of a year. Must be from 1 to 12, or 0 to specify a year without a
         | 
| 42 | 
            +
                #     month and day.
         | 
| 43 | 
            +
                # @!attribute [rw] day
         | 
| 44 | 
            +
                #   @return [::Integer]
         | 
| 45 | 
            +
                #     Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
         | 
| 46 | 
            +
                #     to specify a year by itself or a year and month where the day isn't
         | 
| 47 | 
            +
                #     significant.
         | 
| 48 | 
            +
                class Date
         | 
| 49 | 
            +
                  include ::Google::Protobuf::MessageExts
         | 
| 50 | 
            +
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 51 | 
            +
                end
         | 
| 52 | 
            +
              end
         | 
| 53 | 
            +
            end
         |