diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index 328d07513..e4e472ead 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20190627' + REVISION = '20190717' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index 41ae3ef0e..ce4247c70 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -74,7 +74,7 @@ module Google # allAuthenticatedUsers: A special identifier that represents anyone who is # authenticated with a Google account or a service account. # user:`emailid`: An email address that represents a specific Google account. - # For example, alice@gmail.com . + # For example, alice@example.com . # serviceAccount:`emailid`: An email address that represents a service account. # For example, my-other-app@appspot.gserviceaccount.com. # group:`emailid`: An email address that represents a Google group. For example, @@ -226,6 +226,11 @@ module Google # @return [Array] attr_accessor :initialization_actions + # Specifies the cluster auto-delete schedule configuration. + # Corresponds to the JSON property `lifecycleConfig` + # @return [Google::Apis::DataprocV1::LifecycleConfig] + attr_accessor :lifecycle_config + # Optional. The config settings for Compute Engine resources in an instance # group, such as a master or worker group. # Corresponds to the JSON property `masterConfig` @@ -264,6 +269,7 @@ module Google @encryption_config = args[:encryption_config] if args.key?(:encryption_config) @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) + @lifecycle_config = args[:lifecycle_config] if args.key?(:lifecycle_config) @master_config = args[:master_config] if args.key?(:master_config) @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) @security_config = args[:security_config] if args.key?(:security_config) @@ -936,8 +942,6 @@ module Google include Google::Apis::Core::Hashable # Optional. The Compute Engine accelerator configuration for these instances. - # Beta Feature: This feature is still under development. It may be changed - # before final release. # Corresponds to the JSON property `accelerators` # @return [Array] attr_accessor :accelerators @@ -1402,6 +1406,49 @@ module Google end end + # Specifies the cluster auto-delete schedule configuration. + class LifecycleConfig + include Google::Apis::Core::Hashable + + # Optional. The time when cluster will be auto-deleted. + # Corresponds to the JSON property `autoDeleteTime` + # @return [String] + attr_accessor :auto_delete_time + + # Optional. The lifetime duration of cluster. The cluster will be auto-deleted + # at the end of this period. Valid range: 10m, 14d.Example: "1d", to delete the + # cluster 1 day after its creation.. + # Corresponds to the JSON property `autoDeleteTtl` + # @return [String] + attr_accessor :auto_delete_ttl + + # Optional. The duration to keep the cluster alive while idling. Passing this + # threshold will cause the cluster to be deleted. Valid range: 10m, 14d.Example: + # "10m", the minimum value, to delete the cluster when it has had no jobs + # running for 10 minutes. + # Corresponds to the JSON property `idleDeleteTtl` + # @return [String] + attr_accessor :idle_delete_ttl + + # Output only. The time when cluster became idle (most recent job finished) and + # became eligible for deletion due to idleness. + # Corresponds to the JSON property `idleStartTime` + # @return [String] + attr_accessor :idle_start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_delete_time = args[:auto_delete_time] if args.key?(:auto_delete_time) + @auto_delete_ttl = args[:auto_delete_ttl] if args.key?(:auto_delete_ttl) + @idle_delete_ttl = args[:idle_delete_ttl] if args.key?(:idle_delete_ttl) + @idle_start_time = args[:idle_start_time] if args.key?(:idle_start_time) + end + end + # The list of all clusters in a project. class ListClustersResponse include Google::Apis::Core::Hashable @@ -1915,7 +1962,7 @@ module Google # in the response to getIamPolicy, and systems are expected to put that etag in # the request to setIamPolicy to ensure that their change will be applied to the # same version of the policy.If no etag is provided in the call to setIamPolicy, - # then the existing policy is overwritten blindly. + # then the existing policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index b67bb4edc..6f05a79b6 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -202,6 +202,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LifecycleConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListClustersResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -452,6 +458,8 @@ module Google collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation + property :lifecycle_config, as: 'lifecycleConfig', class: Google::Apis::DataprocV1::LifecycleConfig, decorator: Google::Apis::DataprocV1::LifecycleConfig::Representation + property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation @@ -741,6 +749,16 @@ module Google end end + class LifecycleConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_delete_time, as: 'autoDeleteTime' + property :auto_delete_ttl, as: 'autoDeleteTtl' + property :idle_delete_ttl, as: 'idleDeleteTtl' + property :idle_start_time, as: 'idleStartTime' + end + end + class ListClustersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index 1176a4d5a..15b8c6ff4 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -196,8 +196,8 @@ module Google # will complete when entire workflow is finished.The running workflow can be # aborted via operations.cancel. This will cause any inflight jobs to be # cancelled and workflow-owned clusters to be deleted.The Operation.metadata - # will be WorkflowMetadata.On successful completion, Operation.response will be - # Empty. + # will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful + # completion, Operation.response will be Empty. # @param [String] name # Required. The "resource name" of the workflow template, as described in https:/ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/ @@ -238,8 +238,8 @@ module Google # of workflow by polling operations.get. The Operation will complete when entire # workflow is finished.The running workflow can be aborted via operations.cancel. # This will cause any inflight jobs to be cancelled and workflow-owned clusters - # to be deleted.The Operation.metadata will be WorkflowMetadata.On successful - # completion, Operation.response will be Empty. + # to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using + # WorkflowMetadata.On successful completion, Operation.response will be Empty. # @param [String] parent # Required. The "resource name" of the workflow template region, as described in # https://cloud.google.com/apis/design/resource_names of the form projects/` @@ -1615,8 +1615,8 @@ module Google # will complete when entire workflow is finished.The running workflow can be # aborted via operations.cancel. This will cause any inflight jobs to be # cancelled and workflow-owned clusters to be deleted.The Operation.metadata - # will be WorkflowMetadata.On successful completion, Operation.response will be - # Empty. + # will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful + # completion, Operation.response will be Empty. # @param [String] name # Required. The "resource name" of the workflow template, as described in https:/ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/ @@ -1657,8 +1657,8 @@ module Google # of workflow by polling operations.get. The Operation will complete when entire # workflow is finished.The running workflow can be aborted via operations.cancel. # This will cause any inflight jobs to be cancelled and workflow-owned clusters - # to be deleted.The Operation.metadata will be WorkflowMetadata.On successful - # completion, Operation.response will be Empty. + # to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using + # WorkflowMetadata.On successful completion, Operation.response will be Empty. # @param [String] parent # Required. The "resource name" of the workflow template region, as described in # https://cloud.google.com/apis/design/resource_names of the form projects/` diff --git a/generated/google/apis/dataproc_v1beta2.rb b/generated/google/apis/dataproc_v1beta2.rb index 0bd88f14c..9b1a57561 100644 --- a/generated/google/apis/dataproc_v1beta2.rb +++ b/generated/google/apis/dataproc_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1beta2 VERSION = 'V1beta2' - REVISION = '20190627' + REVISION = '20190717' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1beta2/classes.rb b/generated/google/apis/dataproc_v1beta2/classes.rb index a9ec0bd7a..fe969309b 100644 --- a/generated/google/apis/dataproc_v1beta2/classes.rb +++ b/generated/google/apis/dataproc_v1beta2/classes.rb @@ -236,7 +236,7 @@ module Google # allAuthenticatedUsers: A special identifier that represents anyone who is # authenticated with a Google account or a service account. # user:`emailid`: An email address that represents a specific Google account. - # For example, alice@gmail.com . + # For example, alice@example.com . # serviceAccount:`emailid`: An email address that represents a service account. # For example, my-other-app@appspot.gserviceaccount.com. # group:`emailid`: An email address that represents a Google group. For example, @@ -1201,8 +1201,6 @@ module Google include Google::Apis::Core::Hashable # Optional. The Compute Engine accelerator configuration for these instances. - # Beta Feature: This feature is still under development. It may be changed - # before final release. # Corresponds to the JSON property `accelerators` # @return [Array] attr_accessor :accelerators @@ -1724,6 +1722,12 @@ module Google # @return [String] attr_accessor :idle_delete_ttl + # Output only. The time when cluster became idle (most recent job finished) and + # became eligible for deletion due to idleness. + # Corresponds to the JSON property `idleStartTime` + # @return [String] + attr_accessor :idle_start_time + def initialize(**args) update!(**args) end @@ -1733,6 +1737,7 @@ module Google @auto_delete_time = args[:auto_delete_time] if args.key?(:auto_delete_time) @auto_delete_ttl = args[:auto_delete_ttl] if args.key?(:auto_delete_ttl) @idle_delete_ttl = args[:idle_delete_ttl] if args.key?(:idle_delete_ttl) + @idle_start_time = args[:idle_start_time] if args.key?(:idle_start_time) end end @@ -2275,7 +2280,7 @@ module Google # in the response to getIamPolicy, and systems are expected to put that etag in # the request to setIamPolicy to ensure that their change will be applied to the # same version of the policy.If no etag is provided in the call to setIamPolicy, - # then the existing policy is overwritten blindly. + # then the existing policy is overwritten. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/dataproc_v1beta2/representations.rb b/generated/google/apis/dataproc_v1beta2/representations.rb index d1b8a6e7a..c65814c63 100644 --- a/generated/google/apis/dataproc_v1beta2/representations.rb +++ b/generated/google/apis/dataproc_v1beta2/representations.rb @@ -886,6 +886,7 @@ module Google property :auto_delete_time, as: 'autoDeleteTime' property :auto_delete_ttl, as: 'autoDeleteTtl' property :idle_delete_ttl, as: 'idleDeleteTtl' + property :idle_start_time, as: 'idleStartTime' end end diff --git a/generated/google/apis/dataproc_v1beta2/service.rb b/generated/google/apis/dataproc_v1beta2/service.rb index aac6def22..6aa8a02f4 100644 --- a/generated/google/apis/dataproc_v1beta2/service.rb +++ b/generated/google/apis/dataproc_v1beta2/service.rb @@ -484,8 +484,8 @@ module Google # will complete when entire workflow is finished.The running workflow can be # aborted via operations.cancel. This will cause any inflight jobs to be # cancelled and workflow-owned clusters to be deleted.The Operation.metadata - # will be WorkflowMetadata.On successful completion, Operation.response will be - # Empty. + # will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful + # completion, Operation.response will be Empty. # @param [String] name # Required. The "resource name" of the workflow template, as described in https:/ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/ @@ -526,8 +526,8 @@ module Google # of workflow by polling operations.get. The Operation will complete when entire # workflow is finished.The running workflow can be aborted via operations.cancel. # This will cause any inflight jobs to be cancelled and workflow-owned clusters - # to be deleted.The Operation.metadata will be WorkflowMetadata.On successful - # completion, Operation.response will be Empty. + # to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using + # WorkflowMetadata.On successful completion, Operation.response will be Empty. # @param [String] parent # Required. The "resource name" of the workflow template region, as described in # https://cloud.google.com/apis/design/resource_names of the form projects/` @@ -2226,8 +2226,8 @@ module Google # will complete when entire workflow is finished.The running workflow can be # aborted via operations.cancel. This will cause any inflight jobs to be # cancelled and workflow-owned clusters to be deleted.The Operation.metadata - # will be WorkflowMetadata.On successful completion, Operation.response will be - # Empty. + # will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful + # completion, Operation.response will be Empty. # @param [String] name # Required. The "resource name" of the workflow template, as described in https:/ # /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/ @@ -2268,8 +2268,8 @@ module Google # of workflow by polling operations.get. The Operation will complete when entire # workflow is finished.The running workflow can be aborted via operations.cancel. # This will cause any inflight jobs to be cancelled and workflow-owned clusters - # to be deleted.The Operation.metadata will be WorkflowMetadata.On successful - # completion, Operation.response will be Empty. + # to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using + # WorkflowMetadata.On successful completion, Operation.response will be Empty. # @param [String] parent # Required. The "resource name" of the workflow template region, as described in # https://cloud.google.com/apis/design/resource_names of the form projects/` diff --git a/generated/google/apis/firebasehosting_v1beta1.rb b/generated/google/apis/firebasehosting_v1beta1.rb index 8f5bb035a..665d066ae 100644 --- a/generated/google/apis/firebasehosting_v1beta1.rb +++ b/generated/google/apis/firebasehosting_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://firebase.google.com/docs/hosting/ module FirebasehostingV1beta1 VERSION = 'V1beta1' - REVISION = '20190418' + REVISION = '20190801' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 181e419a3..4bfe845a3 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20190723' + REVISION = '20190731' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb index 8e3385ea3..42ec62d8c 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb @@ -1573,6 +1573,32 @@ module Google end end + # AcceleratorConfig defines the accelerator cards to attach to the VM. + class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig + include Google::Apis::Core::Hashable + + # The number of the guest accelerator cards exposed to this VM. + # Corresponds to the JSON property `acceleratorCount` + # @return [Fixnum] + attr_accessor :accelerator_count + + # The type of accelerator to attach to this VM, e.g. "nvidia-tesla-k80" for + # nVidia Tesla K80. + # Corresponds to the JSON property `acceleratorType` + # @return [String] + attr_accessor :accelerator_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) + @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) + end + end + # The request used for `CreateInstance`. class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest include Google::Apis::Core::Hashable @@ -1920,6 +1946,11 @@ module Google class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig include Google::Apis::Core::Hashable + # AcceleratorConfig defines the accelerator cards to attach to the VM. + # Corresponds to the JSON property `accelerator` + # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig] + attr_accessor :accelerator + # Required. Size of the disk attached to the worker, in GB. # See https://cloud.google.com/compute/docs/disks/ # Corresponds to the JSON property `diskSizeGb` @@ -1973,6 +2004,7 @@ module Google # Update properties of this object def update!(**args) + @accelerator = args[:accelerator] if args.key?(:accelerator) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @disk_type = args[:disk_type] if args.key?(:disk_type) @labels = args[:labels] if args.key?(:labels) diff --git a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb index 0ddede6c8..f71d2e5e6 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb @@ -166,6 +166,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -694,6 +700,14 @@ module Google end end + class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accelerator_count, :numeric_string => true, as: 'acceleratorCount' + property :accelerator_type, as: 'acceleratorType' + end + end + class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -795,6 +809,8 @@ module Google class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :accelerator, as: 'accelerator', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::Representation + property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb' property :disk_type, as: 'diskType' hash :labels, as: 'labels'