Autogenerated update (2018-04-27)

Update:
- cloudkms_v1
- firebasedynamiclinks_v1
- genomics_v1
- genomics_v2alpha1
- iam_v1
- script_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-04-27 00:35:55 +00:00
parent 3671bb2979
commit 18beef0ef7
15 changed files with 153 additions and 24 deletions

View File

@ -54855,6 +54855,9 @@
"/genomics:v1beta2/genomics.references.bases.list/start": start_position "/genomics:v1beta2/genomics.references.bases.list/start": start_position
"/genomics:v1beta2/genomics.referencesets.get": get_reference_set "/genomics:v1beta2/genomics.referencesets.get": get_reference_set
"/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads "/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads
"/genomics:v2alpha1/Accelerator": accelerator
"/genomics:v2alpha1/Accelerator/count": count
"/genomics:v2alpha1/Accelerator/type": type
"/genomics:v2alpha1/Action": action "/genomics:v2alpha1/Action": action
"/genomics:v2alpha1/Action/commands": commands "/genomics:v2alpha1/Action/commands": commands
"/genomics:v2alpha1/Action/commands/command": command "/genomics:v2alpha1/Action/commands/command": command
@ -54926,11 +54929,13 @@
"/genomics:v2alpha1/ListOperationsResponse/operations/operation": operation "/genomics:v2alpha1/ListOperationsResponse/operations/operation": operation
"/genomics:v2alpha1/Metadata": metadata "/genomics:v2alpha1/Metadata": metadata
"/genomics:v2alpha1/Metadata/createTime": create_time "/genomics:v2alpha1/Metadata/createTime": create_time
"/genomics:v2alpha1/Metadata/endTime": end_time
"/genomics:v2alpha1/Metadata/events": events "/genomics:v2alpha1/Metadata/events": events
"/genomics:v2alpha1/Metadata/events/event": event "/genomics:v2alpha1/Metadata/events/event": event
"/genomics:v2alpha1/Metadata/labels": labels "/genomics:v2alpha1/Metadata/labels": labels
"/genomics:v2alpha1/Metadata/labels/label": label "/genomics:v2alpha1/Metadata/labels/label": label
"/genomics:v2alpha1/Metadata/pipeline": pipeline "/genomics:v2alpha1/Metadata/pipeline": pipeline
"/genomics:v2alpha1/Metadata/startTime": start_time
"/genomics:v2alpha1/Mount": mount "/genomics:v2alpha1/Mount": mount
"/genomics:v2alpha1/Mount/disk": disk "/genomics:v2alpha1/Mount/disk": disk
"/genomics:v2alpha1/Mount/path": path "/genomics:v2alpha1/Mount/path": path
@ -55001,6 +55006,8 @@
"/genomics:v2alpha1/UnexpectedExitStatusEvent/actionId": action_id "/genomics:v2alpha1/UnexpectedExitStatusEvent/actionId": action_id
"/genomics:v2alpha1/UnexpectedExitStatusEvent/exitStatus": exit_status "/genomics:v2alpha1/UnexpectedExitStatusEvent/exitStatus": exit_status
"/genomics:v2alpha1/VirtualMachine": virtual_machine "/genomics:v2alpha1/VirtualMachine": virtual_machine
"/genomics:v2alpha1/VirtualMachine/accelerators": accelerators
"/genomics:v2alpha1/VirtualMachine/accelerators/accelerator": accelerator
"/genomics:v2alpha1/VirtualMachine/bootDiskSizeGb": boot_disk_size_gb "/genomics:v2alpha1/VirtualMachine/bootDiskSizeGb": boot_disk_size_gb
"/genomics:v2alpha1/VirtualMachine/bootImage": boot_image "/genomics:v2alpha1/VirtualMachine/bootImage": boot_image
"/genomics:v2alpha1/VirtualMachine/cpuPlatform": cpu_platform "/genomics:v2alpha1/VirtualMachine/cpuPlatform": cpu_platform
@ -55010,6 +55017,7 @@
"/genomics:v2alpha1/VirtualMachine/labels/label": label "/genomics:v2alpha1/VirtualMachine/labels/label": label
"/genomics:v2alpha1/VirtualMachine/machineType": machine_type "/genomics:v2alpha1/VirtualMachine/machineType": machine_type
"/genomics:v2alpha1/VirtualMachine/network": network "/genomics:v2alpha1/VirtualMachine/network": network
"/genomics:v2alpha1/VirtualMachine/nvidiaDriverVersion": nvidia_driver_version
"/genomics:v2alpha1/VirtualMachine/preemptible": preemptible "/genomics:v2alpha1/VirtualMachine/preemptible": preemptible
"/genomics:v2alpha1/VirtualMachine/serviceAccount": service_account "/genomics:v2alpha1/VirtualMachine/serviceAccount": service_account
"/genomics:v2alpha1/WorkerAssignedEvent": worker_assigned_event "/genomics:v2alpha1/WorkerAssignedEvent": worker_assigned_event

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/kms/ # @see https://cloud.google.com/kms/
module CloudkmsV1 module CloudkmsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180413' REVISION = '20180425'
# 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

@ -149,7 +149,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone # * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account. # who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google # * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` or `joe@example.com`. # account. For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service # * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/ # @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1 module FirebasedynamiclinksV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180403' REVISION = '20180425'
# View and administer all your Firebase data and settings # View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

@ -43,7 +43,7 @@ module Google
attr_accessor :quota_user attr_accessor :quota_user
def initialize def initialize
super('https://firebasedynamiclinks-ipv6.googleapis.com/', '') super('https://firebasedynamiclinks.googleapis.com/', '')
@batch_path = 'batch' @batch_path = 'batch'
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics # @see https://cloud.google.com/genomics
module GenomicsV1 module GenomicsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180404' REVISION = '20180426'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -245,7 +245,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone # * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account. # who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google # * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` or `joe@example.com`. # account. For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service # * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.
@ -1536,11 +1536,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": [
# ` # `
@ -1549,7 +1549,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"
# ] # ]
# `, # `,
# ` # `
@ -1558,6 +1558,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
@ -3051,11 +3062,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 +3075,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 +3084,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/genomics # @see https://cloud.google.com/genomics
module GenomicsV2alpha1 module GenomicsV2alpha1
VERSION = 'V2alpha1' VERSION = 'V2alpha1'
REVISION = '20180307' REVISION = '20180426'
# 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

@ -22,6 +22,37 @@ module Google
module Apis module Apis
module GenomicsV2alpha1 module GenomicsV2alpha1
# Carries information about an accelerator that can be attached to a VM.
class Accelerator
include Google::Apis::Core::Hashable
# How many accelerators of this type to attach.
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# The accelerator type string (eg nvidia-tesla-k80).
# Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
# attached, the required runtime libraries will be made available to all
# containers under `/usr/local/nvidia`. The driver version to install must
# be specified using the NVIDIA driver version parameter on the virtual
# machine specification. Note that attaching a GPU increases the worker VM
# startup time by a few minutes.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@count = args[:count] if args.key?(:count)
@type = args[:type] if args.key?(:type)
end
end
# Action specifies a single action that runs a docker container. # Action specifies a single action that runs a docker container.
class Action class Action
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -577,6 +608,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
# The time at which execution was completed and resources were cleaned up.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The list of events that have happened so far during the execution of this # The list of events that have happened so far during the execution of this
# operation. # operation.
# Corresponds to the JSON property `events` # Corresponds to the JSON property `events`
@ -594,6 +630,11 @@ module Google
# @return [Google::Apis::GenomicsV2alpha1::Pipeline] # @return [Google::Apis::GenomicsV2alpha1::Pipeline]
attr_accessor :pipeline attr_accessor :pipeline
# The first time at which resources were allocated to execute the pipeline.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -601,9 +642,11 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time) @create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@events = args[:events] if args.key?(:events) @events = args[:events] if args.key?(:events)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@pipeline = args[:pipeline] if args.key?(:pipeline) @pipeline = args[:pipeline] if args.key?(:pipeline)
@start_time = args[:start_time] if args.key?(:start_time)
end end
end end
@ -1163,6 +1206,11 @@ module Google
class VirtualMachine class VirtualMachine
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The list of accelerators to attach to the VM.
# Corresponds to the JSON property `accelerators`
# @return [Array<Google::Apis::GenomicsV2alpha1::Accelerator>]
attr_accessor :accelerators
# The size of the boot disk, in gigabytes. The boot disk must be large # The size of the boot disk, in gigabytes. The boot disk must be large
# enough to accommodate all of the docker images from each action in the # enough to accommodate all of the docker images from each action in the
# pipeline at the same time. If not specified, a small but reasonable # pipeline at the same time. If not specified, a small but reasonable
@ -1221,6 +1269,14 @@ module Google
# @return [Google::Apis::GenomicsV2alpha1::Network] # @return [Google::Apis::GenomicsV2alpha1::Network]
attr_accessor :network attr_accessor :network
# The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
# The version specified here must be compatible with the GPU libraries
# contained in the container being executed, and must be one of the drivers
# hosted in the 'nvidia-drivers-us-public' bucket on Google Cloud Storage.
# Corresponds to the JSON property `nvidiaDriverVersion`
# @return [String]
attr_accessor :nvidia_driver_version
# If true, allocate a preemptible VM. # If true, allocate a preemptible VM.
# Corresponds to the JSON property `preemptible` # Corresponds to the JSON property `preemptible`
# @return [Boolean] # @return [Boolean]
@ -1238,6 +1294,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@accelerators = args[:accelerators] if args.key?(:accelerators)
@boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
@boot_image = args[:boot_image] if args.key?(:boot_image) @boot_image = args[:boot_image] if args.key?(:boot_image)
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform) @cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
@ -1245,6 +1302,7 @@ module Google
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@machine_type = args[:machine_type] if args.key?(:machine_type) @machine_type = args[:machine_type] if args.key?(:machine_type)
@network = args[:network] if args.key?(:network) @network = args[:network] if args.key?(:network)
@nvidia_driver_version = args[:nvidia_driver_version] if args.key?(:nvidia_driver_version)
@preemptible = args[:preemptible] if args.key?(:preemptible) @preemptible = args[:preemptible] if args.key?(:preemptible)
@service_account = args[:service_account] if args.key?(:service_account) @service_account = args[:service_account] if args.key?(:service_account)
end end

View File

@ -22,6 +22,12 @@ module Google
module Apis module Apis
module GenomicsV2alpha1 module GenomicsV2alpha1
class Accelerator
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Action class Action
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -220,6 +226,14 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Accelerator
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, :numeric_string => true, as: 'count'
property :type, as: 'type'
end
end
class Action class Action
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -357,11 +371,13 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime' property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::Event, decorator: Google::Apis::GenomicsV2alpha1::Event::Representation collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::Event, decorator: Google::Apis::GenomicsV2alpha1::Event::Representation
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation
property :start_time, as: 'startTime'
end end
end end
@ -500,6 +516,8 @@ module Google
class VirtualMachine class VirtualMachine
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :accelerators, as: 'accelerators', class: Google::Apis::GenomicsV2alpha1::Accelerator, decorator: Google::Apis::GenomicsV2alpha1::Accelerator::Representation
property :boot_disk_size_gb, as: 'bootDiskSizeGb' property :boot_disk_size_gb, as: 'bootDiskSizeGb'
property :boot_image, as: 'bootImage' property :boot_image, as: 'bootImage'
property :cpu_platform, as: 'cpuPlatform' property :cpu_platform, as: 'cpuPlatform'
@ -509,6 +527,7 @@ module Google
property :machine_type, as: 'machineType' property :machine_type, as: 'machineType'
property :network, as: 'network', class: Google::Apis::GenomicsV2alpha1::Network, decorator: Google::Apis::GenomicsV2alpha1::Network::Representation property :network, as: 'network', class: Google::Apis::GenomicsV2alpha1::Network, decorator: Google::Apis::GenomicsV2alpha1::Network::Representation
property :nvidia_driver_version, as: 'nvidiaDriverVersion'
property :preemptible, as: 'preemptible' property :preemptible, as: 'preemptible'
property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/iam/ # @see https://cloud.google.com/iam/
module IamV1 module IamV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180406' REVISION = '20180420'
# 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

@ -190,7 +190,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone # * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account. # who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google # * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` or `joe@example.com`. # account. For example, `alice@gmail.com` .
# * `serviceAccount:`emailid``: An email address that represents a service # * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`. # account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group. # * `group:`emailid``: An email address that represents a Google group.
@ -500,11 +500,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": [
# ` # `
@ -513,7 +513,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"
# ] # ]
# `, # `,
# ` # `
@ -522,6 +522,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
@ -985,11 +996,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": [
# ` # `
@ -998,7 +1009,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"
# ] # ]
# `, # `,
# ` # `
@ -1007,6 +1018,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/apps-script/api/ # @see https://developers.google.com/apps-script/api/
module ScriptV1 module ScriptV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180420' REVISION = '20180425'
# Read, send, delete, and manage your email # Read, send, delete, and manage your email
AUTH_SCOPE = 'https://mail.google.com/' AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -66,7 +66,7 @@ module Google
# a script function with the given function name. # a script function with the given function name.
# @param [String] user_process_filter_project_name # @param [String] user_process_filter_project_name
# Optional field used to limit returned processes to those originating from # Optional field used to limit returned processes to those originating from
# projects with a specific project name. # projects with project names containing a specific string.
# @param [String] user_process_filter_script_id # @param [String] user_process_filter_script_id
# Optional field used to limit returned processes to those originating from # Optional field used to limit returned processes to those originating from
# projects with a specific script ID. # projects with a specific script ID.

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 = '20180416' REVISION = '20180423'
# 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'