Autogenerated update (2019-08-02)

Update:
- dataproc_v1
- dataproc_v1beta2
- firebasehosting_v1beta1
- remotebuildexecution_v1alpha
This commit is contained in:
Google APIs committed 2019-08-02 00:37:27 +00:00
1 parent e40350236d
commit ca2e21c745
12 files changed
+147 -28

No files matched your search

+51 -4
View File
@@ -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<Google::Apis::DataprocV1::NodeInitializationAction>]
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<Google::Apis::DataprocV1::AcceleratorConfig>]
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]
@@ -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
+8 -8
View File
@@ -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/`