Skip to content

Commit

Permalink
Autogenerated update (2018-06-15)
Browse files Browse the repository at this point in the history
Update:
- cloudbuild_v1
- cloudtasks_v2beta2
- dataproc_v1
- dialogflow_v2
- dialogflow_v2beta1
- iamcredentials_v1
- ml_v1
- serviceconsumermanagement_v1
- servicecontrol_v1
  • Loading branch information
googleapis-publisher committed Jun 15, 2018
1 parent f747593 commit da45074
Show file tree
Hide file tree
Showing 22 changed files with 742 additions and 122 deletions.
58 changes: 58 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36933,6 +36933,10 @@
"/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric
"/dataproc:v1/ClusterMetrics/yarnMetrics": yarn_metrics
"/dataproc:v1/ClusterMetrics/yarnMetrics/yarn_metric": yarn_metric
"/dataproc:v1/ClusterOperation": cluster_operation
"/dataproc:v1/ClusterOperation/done": done
"/dataproc:v1/ClusterOperation/error": error
"/dataproc:v1/ClusterOperation/operationId": operation_id
"/dataproc:v1/ClusterOperationMetadata": cluster_operation_metadata
"/dataproc:v1/ClusterOperationMetadata/clusterName": cluster_name
"/dataproc:v1/ClusterOperationMetadata/clusterUuid": cluster_uuid
Expand Down Expand Up @@ -36960,6 +36964,7 @@
"/dataproc:v1/DiagnoseClusterResults/outputUri": output_uri
"/dataproc:v1/DiskConfig": disk_config
"/dataproc:v1/DiskConfig/bootDiskSizeGb": boot_disk_size_gb
"/dataproc:v1/DiskConfig/bootDiskType": boot_disk_type
"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds
"/dataproc:v1/Empty": empty
"/dataproc:v1/GceClusterConfig": gce_cluster_config
Expand Down Expand Up @@ -37136,6 +37141,26 @@
"/dataproc:v1/SubmitJobRequest": submit_job_request
"/dataproc:v1/SubmitJobRequest/job": job
"/dataproc:v1/SubmitJobRequest/requestId": request_id
"/dataproc:v1/WorkflowGraph": workflow_graph
"/dataproc:v1/WorkflowGraph/nodes": nodes
"/dataproc:v1/WorkflowGraph/nodes/node": node
"/dataproc:v1/WorkflowMetadata": workflow_metadata
"/dataproc:v1/WorkflowMetadata/clusterName": cluster_name
"/dataproc:v1/WorkflowMetadata/createCluster": create_cluster
"/dataproc:v1/WorkflowMetadata/deleteCluster": delete_cluster
"/dataproc:v1/WorkflowMetadata/graph": graph
"/dataproc:v1/WorkflowMetadata/parameters": parameters
"/dataproc:v1/WorkflowMetadata/parameters/parameter": parameter
"/dataproc:v1/WorkflowMetadata/state": state
"/dataproc:v1/WorkflowMetadata/template": template
"/dataproc:v1/WorkflowMetadata/version": version
"/dataproc:v1/WorkflowNode": workflow_node
"/dataproc:v1/WorkflowNode/error": error
"/dataproc:v1/WorkflowNode/jobId": job_id
"/dataproc:v1/WorkflowNode/prerequisiteStepIds": prerequisite_step_ids
"/dataproc:v1/WorkflowNode/prerequisiteStepIds/prerequisite_step_id": prerequisite_step_id
"/dataproc:v1/WorkflowNode/state": state
"/dataproc:v1/WorkflowNode/stepId": step_id
"/dataproc:v1/YarnApplication": yarn_application
"/dataproc:v1/YarnApplication/name": name
"/dataproc:v1/YarnApplication/progress": progress
Expand Down Expand Up @@ -62797,6 +62822,7 @@
"/ml:v1/GoogleCloudMlV1__Version/labels": labels
"/ml:v1/GoogleCloudMlV1__Version/labels/label": label
"/ml:v1/GoogleCloudMlV1__Version/lastUseTime": last_use_time
"/ml:v1/GoogleCloudMlV1__Version/machineType": machine_type
"/ml:v1/GoogleCloudMlV1__Version/manualScaling": manual_scaling
"/ml:v1/GoogleCloudMlV1__Version/name": name
"/ml:v1/GoogleCloudMlV1__Version/pythonVersion": python_version
Expand Down Expand Up @@ -69962,6 +69988,15 @@
"/servicecontrol:v1/AuditLog/serviceData/service_datum": service_datum
"/servicecontrol:v1/AuditLog/serviceName": service_name
"/servicecontrol:v1/AuditLog/status": status
"/servicecontrol:v1/Auth": auth
"/servicecontrol:v1/Auth/accessLevels": access_levels
"/servicecontrol:v1/Auth/accessLevels/access_level": access_level
"/servicecontrol:v1/Auth/audiences": audiences
"/servicecontrol:v1/Auth/audiences/audience": audience
"/servicecontrol:v1/Auth/claims": claims
"/servicecontrol:v1/Auth/claims/claim": claim
"/servicecontrol:v1/Auth/presenter": presenter
"/servicecontrol:v1/Auth/principal": principal
"/servicecontrol:v1/AuthenticationInfo": authentication_info
"/servicecontrol:v1/AuthenticationInfo/authoritySelector": authority_selector
"/servicecontrol:v1/AuthenticationInfo/principalEmail": principal_email
Expand All @@ -69971,6 +70006,7 @@
"/servicecontrol:v1/AuthorizationInfo/granted": granted
"/servicecontrol:v1/AuthorizationInfo/permission": permission
"/servicecontrol:v1/AuthorizationInfo/resource": resource
"/servicecontrol:v1/AuthorizationInfo/resourceAttributes": resource_attributes
"/servicecontrol:v1/CheckError": check_error
"/servicecontrol:v1/CheckError/code": code
"/servicecontrol:v1/CheckError/detail": detail
Expand Down Expand Up @@ -70127,10 +70163,32 @@
"/servicecontrol:v1/ReportResponse/reportInfos": report_infos
"/servicecontrol:v1/ReportResponse/reportInfos/report_info": report_info
"/servicecontrol:v1/ReportResponse/serviceConfigId": service_config_id
"/servicecontrol:v1/Request": request
"/servicecontrol:v1/Request/auth": auth
"/servicecontrol:v1/Request/fragment": fragment
"/servicecontrol:v1/Request/headers": headers
"/servicecontrol:v1/Request/headers/header": header
"/servicecontrol:v1/Request/host": host
"/servicecontrol:v1/Request/id": id
"/servicecontrol:v1/Request/method": method_prop
"/servicecontrol:v1/Request/path": path
"/servicecontrol:v1/Request/protocol": protocol
"/servicecontrol:v1/Request/query": query
"/servicecontrol:v1/Request/reason": reason
"/servicecontrol:v1/Request/scheme": scheme
"/servicecontrol:v1/Request/size": size
"/servicecontrol:v1/Request/time": time
"/servicecontrol:v1/RequestMetadata": request_metadata
"/servicecontrol:v1/RequestMetadata/callerIp": caller_ip
"/servicecontrol:v1/RequestMetadata/callerNetwork": caller_network
"/servicecontrol:v1/RequestMetadata/callerSuppliedUserAgent": caller_supplied_user_agent
"/servicecontrol:v1/RequestMetadata/requestAttributes": request_attributes
"/servicecontrol:v1/Resource": resource
"/servicecontrol:v1/Resource/labels": labels
"/servicecontrol:v1/Resource/labels/label": label
"/servicecontrol:v1/Resource/name": name
"/servicecontrol:v1/Resource/service": service
"/servicecontrol:v1/Resource/type": type
"/servicecontrol:v1/ResourceInfo": resource_info
"/servicecontrol:v1/ResourceInfo/resourceContainer": resource_container
"/servicecontrol:v1/ResourceInfo/resourceName": resource_name
Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/cloudbuild_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

module Google
module Apis
# Cloud Container Builder API
# Cloud Container Builder
#
# Builds container images in the cloud.
#
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20180603'
REVISION = '20180614'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudbuild_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
module Google
module Apis
module CloudbuildV1
# Cloud Container Builder API
# Cloud Container Builder
#
# Builds container images in the cloud.
#
Expand Down
5 changes: 2 additions & 3 deletions generated/google/apis/cloudtasks_v2beta2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ module Google
module Apis
# Cloud Tasks API
#
# Manages the execution of large numbers of distributed requests. Cloud Tasks is
# in Alpha.
# Manages the execution of large numbers of distributed requests.
#
# @see https://cloud.google.com/cloud-tasks/
module CloudtasksV2beta2
VERSION = 'V2beta2'
REVISION = '20180606'
REVISION = '20180613'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
6 changes: 4 additions & 2 deletions generated/google/apis/cloudtasks_v2beta2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,10 @@ class LeaseTasksRequest
# @return [String]
attr_accessor :lease_duration

# The maximum number of tasks to lease. The maximum that can be
# requested is 1000.
# The maximum number of tasks to lease.
# The system will make a best effort to return as close to as
# `max_tasks` as possible.
# The largest that `max_tasks` can be is 1000.
# Corresponds to the JSON property `maxTasks`
# @return [Fixnum]
attr_accessor :max_tasks
Expand Down
3 changes: 1 addition & 2 deletions generated/google/apis/cloudtasks_v2beta2/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ module Apis
module CloudtasksV2beta2
# Cloud Tasks API
#
# Manages the execution of large numbers of distributed requests. Cloud Tasks is
# in Alpha.
# Manages the execution of large numbers of distributed requests.
#
# @example
# require 'google/apis/cloudtasks_v2beta2'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dataproc_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/dataproc/
module DataprocV1
VERSION = 'V1'
REVISION = '20180601'
REVISION = '20180612'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
163 changes: 163 additions & 0 deletions generated/google/apis/dataproc_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,38 @@ def update!(**args)
end
end

# The cluster operation triggered by a workflow.
class ClusterOperation
include Google::Apis::Core::Hashable

# Output only. Indicates the operation is done.
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done

# Output only. Error, if operation failed.
# Corresponds to the JSON property `error`
# @return [String]
attr_accessor :error

# Output only. The id of the cluster operation.
# Corresponds to the JSON property `operationId`
# @return [String]
attr_accessor :operation_id

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@done = args[:done] if args.key?(:done)
@error = args[:error] if args.key?(:error)
@operation_id = args[:operation_id] if args.key?(:operation_id)
end
end

# Metadata describing the operation.
class ClusterOperationMetadata
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -417,6 +449,13 @@ class DiskConfig
# @return [Fixnum]
attr_accessor :boot_disk_size_gb

# Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-
# ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk
# Hard Disk Drive).
# Corresponds to the JSON property `bootDiskType`
# @return [String]
attr_accessor :boot_disk_type

# Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not
# attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.
# apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are
Expand All @@ -433,6 +472,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
@boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
@num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds)
end
end
Expand Down Expand Up @@ -1683,6 +1723,129 @@ def update!(**args)
end
end

# The workflow graph.
class WorkflowGraph
include Google::Apis::Core::Hashable

# Output only. The workflow nodes.
# Corresponds to the JSON property `nodes`
# @return [Array<Google::Apis::DataprocV1::WorkflowNode>]
attr_accessor :nodes

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@nodes = args[:nodes] if args.key?(:nodes)
end
end

# A Cloud Dataproc workflow template resource.
class WorkflowMetadata
include Google::Apis::Core::Hashable

# Output only. The name of the managed cluster.
# Corresponds to the JSON property `clusterName`
# @return [String]
attr_accessor :cluster_name

# The cluster operation triggered by a workflow.
# Corresponds to the JSON property `createCluster`
# @return [Google::Apis::DataprocV1::ClusterOperation]
attr_accessor :create_cluster

# The cluster operation triggered by a workflow.
# Corresponds to the JSON property `deleteCluster`
# @return [Google::Apis::DataprocV1::ClusterOperation]
attr_accessor :delete_cluster

# The workflow graph.
# Corresponds to the JSON property `graph`
# @return [Google::Apis::DataprocV1::WorkflowGraph]
attr_accessor :graph

# Map from parameter names to values that were used for those parameters.
# Corresponds to the JSON property `parameters`
# @return [Hash<String,String>]
attr_accessor :parameters

# Output only. The workflow state.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state

# Output only. The "resource name" of the template.
# Corresponds to the JSON property `template`
# @return [String]
attr_accessor :template

# Output only. The version of template at the time of workflow instantiation.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
@create_cluster = args[:create_cluster] if args.key?(:create_cluster)
@delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
@graph = args[:graph] if args.key?(:graph)
@parameters = args[:parameters] if args.key?(:parameters)
@state = args[:state] if args.key?(:state)
@template = args[:template] if args.key?(:template)
@version = args[:version] if args.key?(:version)
end
end

# The workflow node.
class WorkflowNode
include Google::Apis::Core::Hashable

# Output only. The error detail.
# Corresponds to the JSON property `error`
# @return [String]
attr_accessor :error

# Output only. The job id; populated after the node enters RUNNING state.
# Corresponds to the JSON property `jobId`
# @return [String]
attr_accessor :job_id

# Output only. Node's prerequisite nodes.
# Corresponds to the JSON property `prerequisiteStepIds`
# @return [Array<String>]
attr_accessor :prerequisite_step_ids

# Output only. The node state.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state

# Output only. The name of the node.
# Corresponds to the JSON property `stepId`
# @return [String]
attr_accessor :step_id

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@error = args[:error] if args.key?(:error)
@job_id = args[:job_id] if args.key?(:job_id)
@prerequisite_step_ids = args[:prerequisite_step_ids] if args.key?(:prerequisite_step_ids)
@state = args[:state] if args.key?(:state)
@step_id = args[:step_id] if args.key?(:step_id)
end
end

# A YARN application created by a job. Application information is a subset of <
# code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.
# Beta Feature: This report is available for testing purposes only. It may be
Expand Down
Loading

0 comments on commit da45074

Please sign in to comment.