Autogenerated update (2018-04-20)

Update:
- cloudtasks_v2beta2
- dataflow_v1b3
- dlp_v2
- logging_v2
- logging_v2beta1
- ml_v1
- oslogin_v1alpha
- runtimeconfig_v1
- servicemanagement_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-04-20 00:36:56 +00:00
parent 7467f0cc08
commit 467c1c1a8c
24 changed files with 163 additions and 62 deletions

View File

@ -34095,6 +34095,7 @@
"/dataflow:v1b3/AutoscalingEvent/eventType": event_type "/dataflow:v1b3/AutoscalingEvent/eventType": event_type
"/dataflow:v1b3/AutoscalingEvent/targetNumWorkers": target_num_workers "/dataflow:v1b3/AutoscalingEvent/targetNumWorkers": target_num_workers
"/dataflow:v1b3/AutoscalingEvent/time": time "/dataflow:v1b3/AutoscalingEvent/time": time
"/dataflow:v1b3/AutoscalingEvent/workerPool": worker_pool
"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings "/dataflow:v1b3/AutoscalingSettings": autoscaling_settings
"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm "/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm
"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers "/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers
@ -47309,6 +47310,7 @@
"/dlp:v2/GooglePrivacyDlpV2BigQueryOptions": google_privacy_dlp_v2_big_query_options "/dlp:v2/GooglePrivacyDlpV2BigQueryOptions": google_privacy_dlp_v2_big_query_options
"/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/identifyingFields": identifying_fields "/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/identifyingFields": identifying_fields
"/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/identifyingFields/identifying_field": identifying_field "/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/identifyingFields/identifying_field": identifying_field
"/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/rowsLimit": rows_limit
"/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/tableReference": table_reference "/dlp:v2/GooglePrivacyDlpV2BigQueryOptions/tableReference": table_reference
"/dlp:v2/GooglePrivacyDlpV2BigQueryTable": google_privacy_dlp_v2_big_query_table "/dlp:v2/GooglePrivacyDlpV2BigQueryTable": google_privacy_dlp_v2_big_query_table
"/dlp:v2/GooglePrivacyDlpV2BigQueryTable/datasetId": dataset_id "/dlp:v2/GooglePrivacyDlpV2BigQueryTable/datasetId": dataset_id
@ -59056,6 +59058,7 @@
"/oslogin:v1alpha/PosixAccount/gecos": gecos "/oslogin:v1alpha/PosixAccount/gecos": gecos
"/oslogin:v1alpha/PosixAccount/gid": gid "/oslogin:v1alpha/PosixAccount/gid": gid
"/oslogin:v1alpha/PosixAccount/homeDirectory": home_directory "/oslogin:v1alpha/PosixAccount/homeDirectory": home_directory
"/oslogin:v1alpha/PosixAccount/operatingSystemType": operating_system_type
"/oslogin:v1alpha/PosixAccount/primary": primary "/oslogin:v1alpha/PosixAccount/primary": primary
"/oslogin:v1alpha/PosixAccount/shell": shell "/oslogin:v1alpha/PosixAccount/shell": shell
"/oslogin:v1alpha/PosixAccount/systemId": system_id "/oslogin:v1alpha/PosixAccount/systemId": system_id

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/cloud-tasks/ # @see https://cloud.google.com/cloud-tasks/
module CloudtasksV2beta2 module CloudtasksV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
REVISION = '20180406' REVISION = '20180417'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -810,11 +810,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -823,7 +823,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -832,6 +832,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
class Policy class Policy
@ -1332,11 +1343,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -1345,7 +1356,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -1354,6 +1365,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow # @see https://cloud.google.com/dataflow
module DataflowV1b3 module DataflowV1b3
VERSION = 'V1b3' VERSION = 'V1b3'
REVISION = '20180405' REVISION = '20180413'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -158,6 +158,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :time attr_accessor :time
# A short and friendly name for the worker pool this event refers to,
# populated from the value of PoolStageRelation::user_pool_name.
# Corresponds to the JSON property `workerPool`
# @return [String]
attr_accessor :worker_pool
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -169,6 +175,7 @@ module Google
@event_type = args[:event_type] if args.key?(:event_type) @event_type = args[:event_type] if args.key?(:event_type)
@target_num_workers = args[:target_num_workers] if args.key?(:target_num_workers) @target_num_workers = args[:target_num_workers] if args.key?(:target_num_workers)
@time = args[:time] if args.key?(:time) @time = args[:time] if args.key?(:time)
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
end end
end end

View File

@ -825,6 +825,7 @@ module Google
property :event_type, as: 'eventType' property :event_type, as: 'eventType'
property :target_num_workers, :numeric_string => true, as: 'targetNumWorkers' property :target_num_workers, :numeric_string => true, as: 'targetNumWorkers'
property :time, as: 'time' property :time, as: 'time'
property :worker_pool, as: 'workerPool'
end end
end end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/ # @see https://cloud.google.com/dlp/docs/
module DlpV2 module DlpV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180411' REVISION = '20180417'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -192,6 +192,13 @@ module Google
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>] # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
attr_accessor :identifying_fields attr_accessor :identifying_fields
# Max number of rows to scan. If the table has more rows than this value, the
# rest of the rows are omitted. If not set, or if set to 0, all rows will be
# scanned. Cannot be used in conjunction with TimespanConfig.
# Corresponds to the JSON property `rowsLimit`
# @return [Fixnum]
attr_accessor :rows_limit
# Message defining the location of a BigQuery table. A table is uniquely # Message defining the location of a BigQuery table. A table is uniquely
# identified by its project_id, dataset_id, and table_name. Within a query # identified by its project_id, dataset_id, and table_name. Within a query
# a table is often referenced with a string in the format of: # a table is often referenced with a string in the format of:
@ -208,6 +215,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields) @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
@rows_limit = args[:rows_limit] if args.key?(:rows_limit)
@table_reference = args[:table_reference] if args.key?(:table_reference) @table_reference = args[:table_reference] if args.key?(:table_reference)
end end
end end

View File

@ -1236,6 +1236,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
property :rows_limit, :numeric_string => true, as: 'rowsLimit'
property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2 module LoggingV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180412' REVISION = '20180416'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -657,12 +657,12 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Log entry resourcesWrites log entries to Stackdriver Logging. This API method # Writes log entries to Stackdriver Logging. This API method is the only way to
# is the only way to send log entries to Stackdriver Logging. This method is # send log entries to Stackdriver Logging. This method is used, directly or
# used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and # indirectly, by the Stackdriver Logging agent (fluentd) and all logging
# all logging libraries configured to use Stackdriver Logging. A single request # libraries configured to use Stackdriver Logging. A single request may contain
# may contain log entries for a maximum of 1000 different resources (projects, # log entries for a maximum of 1000 different resources (projects, organizations,
# organizations, billing accounts or folders) # billing accounts or folders)
# @param [Google::Apis::LoggingV2::WriteLogEntriesRequest] write_log_entries_request_object # @param [Google::Apis::LoggingV2::WriteLogEntriesRequest] write_log_entries_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2beta1 module LoggingV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180412' REVISION = '20180416'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -163,12 +163,12 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Log entry resourcesWrites log entries to Stackdriver Logging. This API method # Writes log entries to Stackdriver Logging. This API method is the only way to
# is the only way to send log entries to Stackdriver Logging. This method is # send log entries to Stackdriver Logging. This method is used, directly or
# used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and # indirectly, by the Stackdriver Logging agent (fluentd) and all logging
# all logging libraries configured to use Stackdriver Logging. A single request # libraries configured to use Stackdriver Logging. A single request may contain
# may contain log entries for a maximum of 1000 different resources (projects, # log entries for a maximum of 1000 different resources (projects, organizations,
# organizations, billing accounts or folders) # billing accounts or folders)
# @param [Google::Apis::LoggingV2beta1::WriteLogEntriesRequest] write_log_entries_request_object # @param [Google::Apis::LoggingV2beta1::WriteLogEntriesRequest] write_log_entries_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/ # @see https://cloud.google.com/ml/
module MlV1 module MlV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180407' REVISION = '20180413'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -115,8 +115,8 @@ module Google
# nodes are always up, starting from the time the model is deployed, so the # nodes are always up, starting from the time the model is deployed, so the
# cost of operating this model will be at least # cost of operating this model will be at least
# `rate` * `min_nodes` * number of hours since last billing cycle, # `rate` * `min_nodes` * number of hours since last billing cycle,
# where `rate` is the cost per node-hour as documented in # where `rate` is the cost per node-hour as documented in the
# [pricing](https://cloud.google.com/ml-engine/pricing#prediction_pricing), # [pricing guide](/ml-engine/docs/pricing),
# even if no predictions are performed. There is additional cost for each # even if no predictions are performed. There is additional cost for each
# prediction performed. # prediction performed.
# Unlike manual scaling, if the load gets too heavy for the nodes # Unlike manual scaling, if the load gets too heavy for the nodes
@ -409,7 +409,8 @@ module Google
# the input parameters as command-line arguments and/or in a YAML configuration # the input parameters as command-line arguments and/or in a YAML configuration
# file referenced from the --config command-line argument. For # file referenced from the --config command-line argument. For
# details, see the guide to # details, see the guide to
# <a href="/ml-engine/docs/training-jobs">submitting a training job</a>. # <a href="/ml-engine/docs/tensorflow/training-jobs">submitting a training
# job</a>.
# Corresponds to the JSON property `trainingInput` # Corresponds to the JSON property `trainingInput`
# @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput] # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
attr_accessor :training_input attr_accessor :training_input
@ -627,8 +628,8 @@ module Google
# Optional. The list of regions where the model is going to be deployed. # Optional. The list of regions where the model is going to be deployed.
# Currently only one region per model is supported. # Currently only one region per model is supported.
# Defaults to 'us-central1' if nothing is set. # Defaults to 'us-central1' if nothing is set.
# See the <a href="/ml-engine/docs/regions">available regions</a> for # See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
# ML Engine services. # for ML Engine services.
# Note: # Note:
# * No matter where a model is deployed, it can always be accessed by # * No matter where a model is deployed, it can always be accessed by
# users from anywhere, both for online and batch prediction. # users from anywhere, both for online and batch prediction.
@ -864,7 +865,7 @@ module Google
# Use this field if you want to use the default version for the specified # Use this field if you want to use the default version for the specified
# model. The string must use the following format: # model. The string must use the following format:
# `"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>"` # `"projects/YOUR_PROJECT/models/YOUR_MODEL"`
# Corresponds to the JSON property `modelName` # Corresponds to the JSON property `modelName`
# @return [String] # @return [String]
attr_accessor :model_name attr_accessor :model_name
@ -875,8 +876,8 @@ module Google
attr_accessor :output_path attr_accessor :output_path
# Required. The Google Compute Engine region to run the prediction job in. # Required. The Google Compute Engine region to run the prediction job in.
# See the <a href="/ml-engine/docs/regions">available regions</a> for # See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
# ML Engine services. # for ML Engine services.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -911,8 +912,7 @@ module Google
# Use this field if you want to specify a version of the model to use. The # Use this field if you want to specify a version of the model to use. The
# string is formatted the same way as `model_version`, with the addition # string is formatted the same way as `model_version`, with the addition
# of the version information: # of the version information:
# `"projects/<var>[YOUR_PROJECT]</var>/models/<var>YOUR_MODEL/versions/<var>[ # `"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"`
# YOUR_VERSION]</var>"`
# Corresponds to the JSON property `versionName` # Corresponds to the JSON property `versionName`
# @return [String] # @return [String]
attr_accessor :version_name attr_accessor :version_name
@ -992,7 +992,8 @@ module Google
# the input parameters as command-line arguments and/or in a YAML configuration # the input parameters as command-line arguments and/or in a YAML configuration
# file referenced from the --config command-line argument. For # file referenced from the --config command-line argument. For
# details, see the guide to # details, see the guide to
# <a href="/ml-engine/docs/training-jobs">submitting a training job</a>. # <a href="/ml-engine/docs/tensorflow/training-jobs">submitting a training
# job</a>.
class GoogleCloudMlV1TrainingInput class GoogleCloudMlV1TrainingInput
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1049,8 +1050,8 @@ module Google
# <dd> # <dd>
# A machine equivalent to <code suppresswarning="true">standard</code> that # A machine equivalent to <code suppresswarning="true">standard</code> that
# also includes a single NVIDIA Tesla K80 GPU. See more about # also includes a single NVIDIA Tesla K80 GPU. See more about
# <a href="/ml-engine/docs/how-tos/using-gpus"> # <a href="/ml-engine/docs/tensorflow/using-gpus">using GPUs to
# using GPUs for training your model</a>. # train your model</a>.
# </dd> # </dd>
# <dt>complex_model_m_gpu</dt> # <dt>complex_model_m_gpu</dt>
# <dd> # <dd>
@ -1077,6 +1078,13 @@ module Google
# four NVIDIA Tesla P100 GPUs. The availability of these GPUs is in # four NVIDIA Tesla P100 GPUs. The availability of these GPUs is in
# the Beta launch stage. # the Beta launch stage.
# </dd> # </dd>
# <dt>standard_tpu</dt>
# <dd>
# A TPU VM including one Cloud TPU. The availability of Cloud TPU is in
# <i>Beta</i> launch stage. See more about
# <a href="/ml-engine/docs/tensorflow/using-tpus">using TPUs to train
# your model</a>.
# </dd>
# </dl> # </dl>
# You must set this value when `scaleTier` is set to `CUSTOM`. # You must set this value when `scaleTier` is set to `CUSTOM`.
# Corresponds to the JSON property `masterType` # Corresponds to the JSON property `masterType`
@ -1122,8 +1130,8 @@ module Google
attr_accessor :python_version attr_accessor :python_version
# Required. The Google Compute Engine region to run the training job in. # Required. The Google Compute Engine region to run the training job in.
# See the <a href="/ml-engine/docs/regions">available regions</a> for # See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
# ML Engine services. # for ML Engine services.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -1242,8 +1250,8 @@ module Google
# Required. The Google Cloud Storage location of the trained model used to # Required. The Google Cloud Storage location of the trained model used to
# create the version. See the # create the version. See the
# [overview of model # [guide to model
# deployment](/ml-engine/docs/concepts/deployment-overview) for more # deployment](/ml-engine/docs/tensorflow/deploying-models) for more
# information. # information.
# When passing Version to # When passing Version to
# [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models. # [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.
@ -1499,11 +1507,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -1512,7 +1520,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -1521,6 +1529,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
class GoogleIamV1Policy class GoogleIamV1Policy
@ -1575,11 +1594,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -1588,7 +1607,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -1597,6 +1616,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -48,7 +48,7 @@ module Google
end end
# Get the service account information associated with your project. You need # Get the service account information associated with your project. You need
# this information in order to grant the service account persmissions for # this information in order to grant the service account permissions for
# the Google Cloud Storage location where you put your model training code # the Google Cloud Storage location where you put your model training code
# for training the model with Google Cloud Machine Learning. # for training the model with Google Cloud Machine Learning.
# @param [String] name # @param [String] name
@ -260,7 +260,7 @@ module Google
# <p><code>gcloud ml-engine jobs list --filter='jobId:rnn* # <p><code>gcloud ml-engine jobs list --filter='jobId:rnn*
# AND state:FAILED'</code> # AND state:FAILED'</code>
# <p>For more examples, see the guide to # <p>For more examples, see the guide to
# <a href="/ml-engine/docs/monitor-training">monitoring jobs</a>. # <a href="/ml-engine/docs/tensorflow/monitor-training">monitoring jobs</a>.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Optional. The number of jobs to retrieve per "page" of results. If there # Optional. The number of jobs to retrieve per "page" of results. If there
# are more remaining results than this number, the response message will # are more remaining results than this number, the response message will

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/rest/ # @see https://cloud.google.com/compute/docs/oslogin/rest/
module OsloginV1alpha module OsloginV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20180306' REVISION = '20180413'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -41,7 +41,7 @@ module Google
end end
end end
# A response message for importing an SSH public key. # A response message from importing an SSH public key.
class ImportSshPublicKeyResponse class ImportSshPublicKeyResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -117,6 +117,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :home_directory attr_accessor :home_directory
# The operating system type where this account applies.
# Corresponds to the JSON property `operatingSystemType`
# @return [String]
attr_accessor :operating_system_type
# Only one POSIX account can be marked as primary. # Only one POSIX account can be marked as primary.
# Corresponds to the JSON property `primary` # Corresponds to the JSON property `primary`
# @return [Boolean] # @return [Boolean]
@ -154,6 +159,7 @@ module Google
@gecos = args[:gecos] if args.key?(:gecos) @gecos = args[:gecos] if args.key?(:gecos)
@gid = args[:gid] if args.key?(:gid) @gid = args[:gid] if args.key?(:gid)
@home_directory = args[:home_directory] if args.key?(:home_directory) @home_directory = args[:home_directory] if args.key?(:home_directory)
@operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type)
@primary = args[:primary] if args.key?(:primary) @primary = args[:primary] if args.key?(:primary)
@shell = args[:shell] if args.key?(:shell) @shell = args[:shell] if args.key?(:shell)
@system_id = args[:system_id] if args.key?(:system_id) @system_id = args[:system_id] if args.key?(:system_id)

View File

@ -84,6 +84,7 @@ module Google
property :gecos, as: 'gecos' property :gecos, as: 'gecos'
property :gid, :numeric_string => true, as: 'gid' property :gid, :numeric_string => true, as: 'gid'
property :home_directory, as: 'homeDirectory' property :home_directory, as: 'homeDirectory'
property :operating_system_type, as: 'operatingSystemType'
property :primary, as: 'primary' property :primary, as: 'primary'
property :shell, as: 'shell' property :shell, as: 'shell'
property :system_id, as: 'systemId' property :system_id, as: 'systemId'

View File

@ -18,7 +18,7 @@ require 'google/apis/runtimeconfig_v1/representations.rb'
module Google module Google
module Apis module Apis
# Google Cloud Runtime Configuration API # Cloud Runtime Configuration API
# #
# The Runtime Configurator allows you to dynamically configure and expose # The Runtime Configurator allows you to dynamically configure and expose
# variables through Google Cloud Platform. In addition, you can also set # variables through Google Cloud Platform. In addition, you can also set
@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/ # @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1 module RuntimeconfigV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170829' REVISION = '20180416'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google module Google
module Apis module Apis
module RuntimeconfigV1 module RuntimeconfigV1
# Google Cloud Runtime Configuration API # Cloud Runtime Configuration API
# #
# The Runtime Configurator allows you to dynamically configure and expose # The Runtime Configurator allows you to dynamically configure and expose
# variables through Google Cloud Platform. In addition, you can also set # variables through Google Cloud Platform. In addition, you can also set

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServicemanagementV1 module ServicemanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180406' REVISION = '20180416'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3051,11 +3051,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -3064,7 +3064,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -3073,6 +3073,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
class Policy class Policy
@ -3846,11 +3857,11 @@ module Google
# Defines an Identity and Access Management (IAM) policy. It is used to # Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources. # specify access control policies for Cloud Platform resources.
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
# `members` to a `role`, where the members can be user accounts, Google groups, # `members` to a `role`, where the members can be user accounts, Google groups,
# Google domains, and service accounts. A `role` is a named list of permissions # Google domains, and service accounts. A `role` is a named list of permissions
# defined by IAM. # defined by IAM.
# **Example** # **JSON Example**
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -3859,7 +3870,7 @@ module Google
# "user:mike@example.com", # "user:mike@example.com",
# "group:admins@example.com", # "group:admins@example.com",
# "domain:google.com", # "domain:google.com",
# "serviceAccount:my-other-app@appspot.gserviceaccount.com", # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
# ] # ]
# `, # `,
# ` # `
@ -3868,6 +3879,17 @@ module Google
# ` # `
# ] # ]
# ` # `
# **YAML Example**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
# role: roles/owner
# - members:
# - user:sean@example.com
# role: roles/viewer
# For a description of IAM and its features, see the # For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs). # [IAM developer's guide](https://cloud.google.com/iam/docs).
# Corresponds to the JSON property `policy` # Corresponds to the JSON property `policy`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180409' REVISION = '20180416'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'