Autogenerated update (2020-02-14)

Update:
- acceleratedmobilepageurl_v1
- androiddeviceprovisioning_v1
- cloudidentity_v1
- cloudidentity_v1beta1
- cloudprofiler_v2
- cloudshell_v1
- cloudshell_v1alpha1
- composer_v1
- composer_v1beta1
- driveactivity_v2
- firebase_v1beta1
- firebasedynamiclinks_v1
- iap_v1
- ml_v1
- monitoring_v1
- monitoring_v3
- people_v1
- script_v1
- toolresults_v1
- youtube_analytics_v1
- youtube_analytics_v2
- youtubereporting_v1
This commit is contained in:
Google APIs 2020-02-14 00:37:48 +00:00
parent 1e3a8eaaa4
commit dbe115ab76
36 changed files with 424 additions and 234 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/amp/cache/ # @see https://developers.google.com/amp/cache/
module AcceleratedmobilepageurlV1 module AcceleratedmobilepageurlV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200210' REVISION = '20200212'
end end
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/ # @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1 module AndroiddeviceprovisioningV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200209' REVISION = '20200212'
end end
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/ # @see https://cloud.google.com/identity/
module CloudidentityV1 module CloudidentityV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200210' REVISION = '20200211'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups' AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'

View File

@ -206,7 +206,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Resource representing a Device. # Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
# Corresponds to the JSON property `device` # Corresponds to the JSON property `device`
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device] # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device attr_accessor :device
@ -240,7 +241,8 @@ module Google
end end
end end
# Resource representing a Device. # Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
class GoogleAppsCloudidentityDevicesV1alpha1Device class GoogleAppsCloudidentityDevicesV1alpha1Device
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -577,7 +579,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Resource representing a Device. # Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
# Corresponds to the JSON property `device` # Corresponds to the JSON property `device`
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device] # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device attr_accessor :device

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/ # @see https://cloud.google.com/identity/
module CloudidentityV1beta1 module CloudidentityV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200210' REVISION = '20200211'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups' AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'

View File

@ -42,9 +42,9 @@ module Google
# The namespace in which the entity exists. # The namespace in which the entity exists.
# If not specified, the `EntityKey` represents a Google-managed entity such # If not specified, the `EntityKey` represents a Google-managed entity such
# as a Google user or a Google Group. # as a Google user or a Google Group.
# If specified, the `EntityKey` represents an external-identity-mapped group # If specified, the `EntityKey` represents an external-identity-mapped group.
# created through Admin Console. Must be of the form # The namespace must correspond to an identity source created in Admin
# `identitysources/`identity_source_id`. # Console. Must be of the form `identitysources/`identity_source_id`.
# Corresponds to the JSON property `namespace` # Corresponds to the JSON property `namespace`
# @return [String] # @return [String]
attr_accessor :namespace attr_accessor :namespace
@ -212,7 +212,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Resource representing a Device. # Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
# Corresponds to the JSON property `device` # Corresponds to the JSON property `device`
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device] # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device attr_accessor :device
@ -246,7 +247,8 @@ module Google
end end
end end
# Resource representing a Device. # Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
class GoogleAppsCloudidentityDevicesV1alpha1Device class GoogleAppsCloudidentityDevicesV1alpha1Device
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -583,7 +585,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Resource representing a Device. # Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
# Corresponds to the JSON property `device` # Corresponds to the JSON property `device`
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device] # @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device attr_accessor :device

View File

@ -146,7 +146,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists the `Group`s within a customer or namespace. # Lists the `Group`s under a customer or namespace.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of results to return. # The maximum number of results to return.
# Note that the number of results returned may be less than this value even # Note that the number of results returned may be less than this value even
@ -208,9 +208,9 @@ module Google
# The namespace in which the entity exists. # The namespace in which the entity exists.
# If not specified, the `EntityKey` represents a Google-managed entity such # If not specified, the `EntityKey` represents a Google-managed entity such
# as a Google user or a Google Group. # as a Google user or a Google Group.
# If specified, the `EntityKey` represents an external-identity-mapped group # If specified, the `EntityKey` represents an external-identity-mapped group.
# created through Admin Console. Must be of the form # The namespace must correspond to an identity source created in Admin
# `identitysources/`identity_source_id`. # Console. Must be of the form `identitysources/`identity_source_id`.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -502,9 +502,9 @@ module Google
# The namespace in which the entity exists. # The namespace in which the entity exists.
# If not specified, the `EntityKey` represents a Google-managed entity such # If not specified, the `EntityKey` represents a Google-managed entity such
# as a Google user or a Google Group. # as a Google user or a Google Group.
# If specified, the `EntityKey` represents an external-identity-mapped group # If specified, the `EntityKey` represents an external-identity-mapped group.
# created through Admin Console. Must be of the form # The namespace must correspond to an identity source created in Admin
# `identitysources/`identity_source_id`. # Console. Must be of the form `identitysources/`identity_source_id`.
# @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.
# @param [String] quota_user # @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/profiler/ # @see https://cloud.google.com/profiler/
module CloudprofilerV2 module CloudprofilerV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180730' REVISION = '20200210'
# 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

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/ # @see https://cloud.google.com/shell/docs/
module CloudshellV1 module CloudshellV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200210' REVISION = '20200213'
# 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

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/ # @see https://cloud.google.com/shell/docs/
module CloudshellV1alpha1 module CloudshellV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200210' REVISION = '20200213'
# 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

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/composer/ # @see https://cloud.google.com/composer/
module ComposerV1 module ComposerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190827' REVISION = '20200207'
# 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

@ -68,6 +68,8 @@ module Google
# The resource name of the environment, in the form: # The resource name of the environment, in the form:
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`" # "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
# EnvironmentId must start with a lowercase letter followed by up to 63
# lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/composer/ # @see https://cloud.google.com/composer/
module ComposerV1beta1 module ComposerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190827' REVISION = '20200207'
# 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,38 @@ module Google
module Apis module Apis
module ComposerV1beta1 module ComposerV1beta1
# Allowed IP range with user-provided description.
class AllowedIpRange
include Google::Apis::Core::Hashable
# Optional. User-provided description.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# IP address or range, defined using CIDR notation, of requests that this
# rule applies to. You can use the wildcard character "*" to match all IPs
# equivalent to "0/0" and "::/0" together.
# Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32`
# or `2001:0db8:0000:0042:0000:8a2e:0370:7334`.
# <p>IP range prefixes should be properly truncated. For example,
# `1.2.3.4/24` should be truncated to `1.2.3.0/24`. Similarly, for IPv6,
# `2001:db8::1/32` should be truncated to `2001:db8::/32`.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@value = args[:value] if args.key?(:value)
end
end
# A generic empty message that you can re-use to avoid defining duplicated # A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request # empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance: # or the response type of an API method. For instance:
@ -68,6 +100,8 @@ module Google
# The resource name of the environment, in the form: # The resource name of the environment, in the form:
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`" # "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
# EnvironmentId must start with a lowercase letter followed by up to 63
# lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -154,6 +188,11 @@ module Google
# @return [Google::Apis::ComposerV1beta1::SoftwareConfig] # @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
attr_accessor :software_config attr_accessor :software_config
# Network-level access control policy for the Airflow web server.
# Corresponds to the JSON property `webServerNetworkAccessControl`
# @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
attr_accessor :web_server_network_access_control
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -167,6 +206,7 @@ module Google
@node_count = args[:node_count] if args.key?(:node_count) @node_count = args[:node_count] if args.key?(:node_count)
@private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config) @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
@software_config = args[:software_config] if args.key?(:software_config) @software_config = args[:software_config] if args.key?(:software_config)
@web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
end end
end end
@ -792,6 +832,25 @@ module Google
@message = args[:message] if args.key?(:message) @message = args[:message] if args.key?(:message)
end end
end end
# Network-level access control policy for the Airflow web server.
class WebServerNetworkAccessControl
include Google::Apis::Core::Hashable
# A collection of allowed IP ranges with descriptions.
# Corresponds to the JSON property `allowedIpRanges`
# @return [Array<Google::Apis::ComposerV1beta1::AllowedIpRange>]
attr_accessor :allowed_ip_ranges
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allowed_ip_ranges = args[:allowed_ip_ranges] if args.key?(:allowed_ip_ranges)
end
end
end end
end end
end end

View File

@ -22,6 +22,12 @@ module Google
module Apis module Apis
module ComposerV1beta1 module ComposerV1beta1
class AllowedIpRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -112,6 +118,20 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class WebServerNetworkAccessControl
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AllowedIpRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :value, as: 'value'
end
end
class Empty class Empty
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -145,6 +165,8 @@ module Google
property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1beta1::SoftwareConfig, decorator: Google::Apis::ComposerV1beta1::SoftwareConfig::Representation property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1beta1::SoftwareConfig, decorator: Google::Apis::ComposerV1beta1::SoftwareConfig::Representation
property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl::Representation
end end
end end
@ -271,6 +293,14 @@ module Google
property :message, as: 'message' property :message, as: 'message'
end end
end end
class WebServerNetworkAccessControl
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :allowed_ip_ranges, as: 'allowedIpRanges', class: Google::Apis::ComposerV1beta1::AllowedIpRange, decorator: Google::Apis::ComposerV1beta1::AllowedIpRange::Representation
end
end
end end
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/drive/activity/ # @see https://developers.google.com/drive/activity/
module DriveactivityV2 module DriveactivityV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20200210' REVISION = '20200212'
# View and add to the activity record of files in your Google Drive # View and add to the activity record of files in your Google Drive
AUTH_DRIVE_ACTIVITY = 'https://www.googleapis.com/auth/drive.activity' AUTH_DRIVE_ACTIVITY = 'https://www.googleapis.com/auth/drive.activity'

View File

@ -26,7 +26,7 @@ module Google
# @see https://firebase.google.com # @see https://firebase.google.com
module FirebaseV1beta1 module FirebaseV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200210' REVISION = '20200212'
# 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

@ -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 = '20200210' REVISION = '20200212'
# 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

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap # @see https://cloud.google.com/iap
module IapV1 module IapV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200117' REVISION = '20200207'
# 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

@ -37,7 +37,8 @@ module Google
# @return [Google::Apis::IapV1::GcipSettings] # @return [Google::Apis::IapV1::GcipSettings]
attr_accessor :gcip_settings attr_accessor :gcip_settings
# Configuration for OAuth login&consent flow behavior. # Configuration for OAuth login&consent flow behavior as well as for OAuth
# Credentials.
# Corresponds to the JSON property `oauthSettings` # Corresponds to the JSON property `oauthSettings`
# @return [Google::Apis::IapV1::OAuthSettings] # @return [Google::Apis::IapV1::OAuthSettings]
attr_accessor :oauth_settings attr_accessor :oauth_settings
@ -510,10 +511,23 @@ module Google
end end
end end
# Configuration for OAuth login&consent flow behavior. # Configuration for OAuth login&consent flow behavior as well as for OAuth
# Credentials.
class OAuthSettings class OAuthSettings
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# OAuth 2.0 client ID used in the OAuth flow to generate an access token. If
# this field is set, you can skip obtaining the OAuth credentials in this
# step:
# https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
# oauth-2.0-credentials-from-the-google-api-console.
# However, this could allow for client sharing. The risks of client sharing
# are outlined here:
# https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
# Corresponds to the JSON property `clientId`
# @return [String]
attr_accessor :client_id
# Domain hint to send as hd=? parameter in OAuth request flow. Enables # Domain hint to send as hd=? parameter in OAuth request flow. Enables
# redirect to primary IDP by skipping Google's login screen. # redirect to primary IDP by skipping Google's login screen.
# https://developers.google.com/identity/protocols/OpenIDConnect#hd-param # https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
@ -529,6 +543,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@client_id = args[:client_id] if args.key?(:client_id)
@login_hint = args[:login_hint] if args.key?(:login_hint) @login_hint = args[:login_hint] if args.key?(:login_hint)
end end
end end

View File

@ -281,6 +281,7 @@ module Google
class OAuthSettings class OAuthSettings
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :client_id, as: 'clientId'
property :login_hint, as: 'loginHint' property :login_hint, as: 'loginHint'
end end
end end

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 = '20200205' REVISION = '20200207'
# 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

@ -1407,12 +1407,13 @@ module Google
end end
end end
# All parameters related to queuing and scheduling of training jobs. # All parameters related to scheduling of training jobs.
class GoogleCloudMlV1Scheduling class GoogleCloudMlV1Scheduling
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The maximum job running time, expressed in seconds. By default # Optional. The maximum job running time, expressed in seconds. The field can
# there is no limit. # contain up to nine fractional digits, terminated by `s`. By default there
# is no limit to the running time.
# If the training job is still running after this duration, AI Platform # If the training job is still running after this duration, AI Platform
# Training cancels it. # Training cancels it.
# For example, if you want to ensure your job runs for no more than 2 hours, # For example, if you want to ensure your job runs for no more than 2 hours,
@ -1420,7 +1421,8 @@ module Google
# minute). # minute).
# If you submit your training job using the `gcloud` tool, you can [provide # If you submit your training job using the `gcloud` tool, you can [provide
# this field in a `config.yaml` # this field in a `config.yaml`
# file](/ml-engine/docs/training-jobs#formatting_your_configuration_parameters). # file](/ai-platform/training/docs/training-jobs#
# formatting_your_configuration_parameters).
# For example: # For example:
# ```yaml # ```yaml
# trainingInput: # trainingInput:
@ -1622,7 +1624,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :scale_tier attr_accessor :scale_tier
# All parameters related to queuing and scheduling of training jobs. # All parameters related to scheduling of training jobs.
# Corresponds to the JSON property `scheduling` # Corresponds to the JSON property `scheduling`
# @return [Google::Apis::MlV1::GoogleCloudMlV1Scheduling] # @return [Google::Apis::MlV1::GoogleCloudMlV1Scheduling]
attr_accessor :scheduling attr_accessor :scheduling

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV1 module MonitoringV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200126' REVISION = '20200210'
# 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

@ -498,8 +498,8 @@ module Google
attr_accessor :dashboards attr_accessor :dashboards
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -756,16 +756,16 @@ module Google
end end
end end
# The context of a span, attached to google.api.Distribution.Exemplars in google. # The context of a span, attached to Exemplars in Distribution values during
# api.Distribution values during aggregation.It contains the name of a span with # aggregation.It contains the name of a span with format:
# format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
class SpanContext class SpanContext
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource name of the span in the following format: # The resource name of the span. The format is:
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
# TRACE_ID is a unique identifier for a trace within a project; it is a 32- # [TRACE_ID] is a unique identifier for a trace within a project; it is a 32-
# character hexadecimal encoding of a 16-byte array.SPAN_ID is a unique # character hexadecimal encoding of a 16-byte array.[SPAN_ID] is a unique
# identifier for a span within a trace; it is a 16-character hexadecimal # identifier for a span within a trace; it is a 16-character hexadecimal
# encoding of an 8-byte array. # encoding of an 8-byte array.
# Corresponds to the JSON property `spanName` # Corresponds to the JSON property `spanName`

View File

@ -56,9 +56,9 @@ module Google
# create permission on the specified project. For more information, see Google # create permission on the specified project. For more information, see Google
# Cloud IAM (https://cloud.google.com/iam). # Cloud IAM (https://cloud.google.com/iam).
# @param [String] parent # @param [String] parent
# Required. The project on which to execute the request. The format is "projects/ # Required. The project on which to execute the request. The format is:
# `project_id_or_number`". The `project_id_or_number` must match the dashboard # projects/[PROJECT_ID_OR_NUMBER]
# resource name. # The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name.
# @param [Google::Apis::MonitoringV1::Dashboard] dashboard_object # @param [Google::Apis::MonitoringV1::Dashboard] dashboard_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.
@ -93,8 +93,8 @@ module Google
# dashboards.delete permission on the specified dashboard. For more information, # dashboards.delete permission on the specified dashboard. For more information,
# see Google Cloud IAM (https://cloud.google.com/iam). # see Google Cloud IAM (https://cloud.google.com/iam).
# @param [String] name # @param [String] name
# Required. The resource name of the Dashboard. The format is "projects/` # Required. The resource name of the Dashboard. The format is:
# project_id_or_number`/dashboards/`dashboard_id`". # projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -126,9 +126,10 @@ module Google
# get permission on the specified dashboard. For more information, see Google # get permission on the specified dashboard. For more information, see Google
# Cloud IAM (https://cloud.google.com/iam). # Cloud IAM (https://cloud.google.com/iam).
# @param [String] name # @param [String] name
# Required. The resource name of the Dashboard. The format is one of "dashboards/ # Required. The resource name of the Dashboard. The format is one of:
# `dashboard_id`" (for system dashboards) or "projects/`project_id_or_number`/ # dashboards/[DASHBOARD_ID] (for system dashboards)
# dashboards/`dashboard_id`" (for custom dashboards). # projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom
# dashboards).
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -160,8 +161,8 @@ module Google
# list permission on the specified project. For more information, see Google # list permission on the specified project. For more information, see Google
# Cloud IAM (https://cloud.google.com/iam). # Cloud IAM (https://cloud.google.com/iam).
# @param [String] parent # @param [String] parent
# Required. The scope of the dashboards to list. A project scope must be # Required. The scope of the dashboards to list. The format is:
# specified in the form of "projects/`project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [Fixnum] page_size # @param [Fixnum] page_size
# A positive number that is the maximum number of results to return. If # A positive number that is the maximum number of results to return. If
# unspecified, a default of 1000 is used. # unspecified, a default of 1000 is used.

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200204' REVISION = '20200210'
# 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

@ -129,9 +129,8 @@ module Google
# A list of conditions for the policy. The conditions are combined by AND or OR # A list of conditions for the policy. The conditions are combined by AND or OR
# according to the combiner field. If the combined conditions evaluate to true, # according to the combiner field. If the combined conditions evaluate to true,
# then an incident is created. A policy can have from one to six conditions. If | # then an incident is created. A policy can have from one to six conditions. If
# condition_time_series_uery_language| is present, it must be the only | # condition_time_series_query_language is present, it must be the only condition.
# condition|.
# Corresponds to the JSON property `conditions` # Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::MonitoringV3::Condition>] # @return [Array<Google::Apis::MonitoringV3::Condition>]
attr_accessor :conditions attr_accessor :conditions
@ -169,9 +168,9 @@ module Google
# @return [Google::Apis::MonitoringV3::MutationRecord] # @return [Google::Apis::MonitoringV3::MutationRecord]
attr_accessor :mutation_record attr_accessor :mutation_record
# Required if the policy exists. The resource name for this policy. The syntax # Required if the policy exists. The resource name for this policy. The format
# is: # is:
# projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is # [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is
# created. When calling the alertPolicies.create method, do not include the name # created. When calling the alertPolicies.create method, do not include the name
# field in the alerting policy passed as part of the request. # field in the alerting policy passed as part of the request.
@ -183,8 +182,8 @@ module Google
# when incidents are opened or closed or when new violations occur on an already # when incidents are opened or closed or when new violations occur on an already
# opened incident. Each element of this array corresponds to the name field in # opened incident. Each element of this array corresponds to the name field in
# each of the NotificationChannel objects that are returned from the # each of the NotificationChannel objects that are returned from the
# ListNotificationChannels method. The syntax of the entries in this field is: # ListNotificationChannels method. The format of the entries in this field is:
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# Corresponds to the JSON property `notificationChannels` # Corresponds to the JSON property `notificationChannels`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :notification_channels attr_accessor :notification_channels
@ -425,7 +424,8 @@ module Google
end end
end end
# Istio service. Learn more at http://istio.io. # Istio service scoped to a single Kubernetes cluster. Learn more at http://
# istio.io.
class ClusterIstio class ClusterIstio
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -657,8 +657,9 @@ module Google
attr_accessor :display_name attr_accessor :display_name
# Required if the condition exists. The unique resource name for this condition. # Required if the condition exists. The unique resource name for this condition.
# Its syntax is: # Its format is:
# projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID] # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[
# CONDITION_ID]
# [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is # [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is
# created as part of a new or updated alerting policy.When calling the # created as part of a new or updated alerting policy.When calling the
# alertPolicies.create method, do not include the name field in the conditions # alertPolicies.create method, do not include the name field in the conditions
@ -1391,17 +1392,18 @@ module Google
attr_accessor :is_cluster attr_accessor :is_cluster
alias_method :is_cluster?, :is_cluster alias_method :is_cluster?, :is_cluster
# Output only. The name of this group. The format is "projects/` # Output only. The name of this group. The format is:
# project_id_or_number`/groups/`group_id`". When creating a group, this field is # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# ignored and a new name is created consisting of the project specified in the # When creating a group, this field is ignored and a new name is created
# call to CreateGroup and a unique `group_id` that is generated automatically. # consisting of the project specified in the call to CreateGroup and a unique [
# GROUP_ID] that is generated automatically.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The name of the group's parent, if it has one. The format is "projects/` # The name of the group's parent, if it has one. The format is:
# project_id_or_number`/groups/`group_id`". For groups with no parent, # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# parentName is the empty string, "". # For groups with no parent, parent_name is the empty string, "".
# Corresponds to the JSON property `parentName` # Corresponds to the JSON property `parentName`
# @return [String] # @return [String]
attr_accessor :parent_name attr_accessor :parent_name
@ -1516,10 +1518,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :gcp_zone attr_accessor :gcp_zone
# A unique resource name for this InternalChecker. The format is:projects/[ # A unique resource name for this InternalChecker. The format is:
# PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].[PROJECT_ID] is the # projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
# Stackdriver Workspace project for the Uptime check config associated with the # [PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime
# internal checker. # check config associated with the internal checker.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -1657,8 +1659,8 @@ module Google
attr_accessor :alert_policies attr_accessor :alert_policies
# If there might be more results than were returned, then this field is set to a # If there might be more results than were returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1684,8 +1686,8 @@ module Google
attr_accessor :members attr_accessor :members
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1717,8 +1719,8 @@ module Google
attr_accessor :group attr_accessor :group
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1745,8 +1747,8 @@ module Google
attr_accessor :metric_descriptors attr_accessor :metric_descriptors
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1767,8 +1769,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1850,8 +1852,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1877,8 +1879,8 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1910,8 +1912,8 @@ module Google
attr_accessor :execution_errors attr_accessor :execution_errors
# If there are more results than have been returned, then this field is set to a # If there are more results than have been returned, then this field is set to a
# non-empty value. To see the additional results, use that value as pageToken in # non-empty value. To see the additional results, use that value as page_token
# the next call to this method. # in the next call to this method.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1999,6 +2001,40 @@ module Google
end end
end end
# Istio service scoped to an Istio mesh
class MeshIstio
include Google::Apis::Core::Hashable
# Identifier for the mesh in which this Istio service is defined. Corresponds to
# the mesh_uid metric label in Istio metrics.
# Corresponds to the JSON property `meshUid`
# @return [String]
attr_accessor :mesh_uid
# The name of the Istio service underlying this service. Corresponds to the
# destination_service_name metric label in Istio metrics.
# Corresponds to the JSON property `serviceName`
# @return [String]
attr_accessor :service_name
# The namespace of the Istio service underlying this service. Corresponds to the
# destination_service_namespace metric label in Istio metrics.
# Corresponds to the JSON property `serviceNamespace`
# @return [String]
attr_accessor :service_namespace
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@mesh_uid = args[:mesh_uid] if args.key?(:mesh_uid)
@service_name = args[:service_name] if args.key?(:service_name)
@service_namespace = args[:service_namespace] if args.key?(:service_namespace)
end
end
# A specific metric, identified by specifying values for all of the labels of a # A specific metric, identified by specifying values for all of the labels of a
# MetricDescriptor. # MetricDescriptor.
class Metric class Metric
@ -2624,8 +2660,8 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# The full REST resource name for this channel. The syntax is: # The full REST resource name for this channel. The format is:
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# The [CHANNEL_ID] is automatically assigned by the server on creation. # The [CHANNEL_ID] is automatically assigned by the server on creation.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -2711,8 +2747,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :launch_stage attr_accessor :launch_stage
# The full REST resource name for this descriptor. The syntax is: # The full REST resource name for this descriptor. The format is:
# projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE] # projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
# In the above, [TYPE] is the value of the type field. # In the above, [TYPE] is the value of the type field.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -2914,7 +2950,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The group of resources being monitored. Should be only the [GROUP_ID], and not # The group of resources being monitored. Should be only the [GROUP_ID], and not
# the full-path projects/[PROJECT_ID]/groups/[GROUP_ID]. # the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
# Corresponds to the JSON property `groupId` # Corresponds to the JSON property `groupId`
# @return [String] # @return [String]
attr_accessor :group_id attr_accessor :group_id
@ -2965,7 +3001,8 @@ module Google
# @return [Google::Apis::MonitoringV3::CloudEndpoints] # @return [Google::Apis::MonitoringV3::CloudEndpoints]
attr_accessor :cloud_endpoints attr_accessor :cloud_endpoints
# Istio service. Learn more at http://istio.io. # Istio service scoped to a single Kubernetes cluster. Learn more at http://
# istio.io.
# Corresponds to the JSON property `clusterIstio` # Corresponds to the JSON property `clusterIstio`
# @return [Google::Apis::MonitoringV3::ClusterIstio] # @return [Google::Apis::MonitoringV3::ClusterIstio]
attr_accessor :cluster_istio attr_accessor :cluster_istio
@ -2981,8 +3018,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# Resource name for this Service. Of the form projects/`project_id`/services/` # Istio service scoped to an Istio mesh
# service_id`. # Corresponds to the JSON property `meshIstio`
# @return [Google::Apis::MonitoringV3::MeshIstio]
attr_accessor :mesh_istio
# Resource name for this Service. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID`
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -3003,6 +3045,7 @@ module Google
@cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio) @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
@custom = args[:custom] if args.key?(:custom) @custom = args[:custom] if args.key?(:custom)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@telemetry = args[:telemetry] if args.key?(:telemetry) @telemetry = args[:telemetry] if args.key?(:telemetry)
end end
@ -3085,8 +3128,9 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :goal attr_accessor :goal
# Resource name for this ServiceLevelObjective. Of the form projects/`project_id` # Resource name for this ServiceLevelObjective. The format is:
# /services/`service_id`/serviceLevelObjectives/`slo_name`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -3150,16 +3194,16 @@ module Google
end end
end end
# The context of a span, attached to google.api.Distribution.Exemplars in google. # The context of a span, attached to Exemplars in Distribution values during
# api.Distribution values during aggregation.It contains the name of a span with # aggregation.It contains the name of a span with format:
# format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
class SpanContext class SpanContext
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource name of the span in the following format: # The resource name of the span. The format is:
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] # projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
# TRACE_ID is a unique identifier for a trace within a project; it is a 32- # [TRACE_ID] is a unique identifier for a trace within a project; it is a 32-
# character hexadecimal encoding of a 16-byte array.SPAN_ID is a unique # character hexadecimal encoding of a 16-byte array.[SPAN_ID] is a unique
# identifier for a span within a trace; it is a 16-character hexadecimal # identifier for a span within a trace; it is a 16-character hexadecimal
# encoding of an 8-byte array. # encoding of an 8-byte array.
# Corresponds to the JSON property `spanName` # Corresponds to the JSON property `spanName`
@ -3619,9 +3663,10 @@ module Google
attr_accessor :monitored_resource attr_accessor :monitored_resource
# A unique resource name for this Uptime check configuration. The format is: # A unique resource name for this Uptime check configuration. The format is:
# projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should # projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# be omitted when creating the Uptime check configuration; on create, the # This field should be omitted when creating the Uptime check configuration; on
# resource name is assigned by the server and included in the response. # create, the resource name is assigned by the server and included in the
# response.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name

View File

@ -328,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MeshIstio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metric class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1050,6 +1056,15 @@ module Google
end end
end end
class MeshIstio
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :mesh_uid, as: 'meshUid'
property :service_name, as: 'serviceName'
property :service_namespace, as: 'serviceNamespace'
end
end
class Metric class Metric
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1261,6 +1276,8 @@ module Google
property :custom, as: 'custom', class: Google::Apis::MonitoringV3::Custom, decorator: Google::Apis::MonitoringV3::Custom::Representation property :custom, as: 'custom', class: Google::Apis::MonitoringV3::Custom, decorator: Google::Apis::MonitoringV3::Custom::Representation
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :mesh_istio, as: 'meshIstio', class: Google::Apis::MonitoringV3::MeshIstio, decorator: Google::Apis::MonitoringV3::MeshIstio::Representation
property :name, as: 'name' property :name, as: 'name'
property :telemetry, as: 'telemetry', class: Google::Apis::MonitoringV3::Telemetry, decorator: Google::Apis::MonitoringV3::Telemetry::Representation property :telemetry, as: 'telemetry', class: Google::Apis::MonitoringV3::Telemetry, decorator: Google::Apis::MonitoringV3::Telemetry::Representation

View File

@ -54,12 +54,13 @@ module Google
# Creates a new alerting policy. # Creates a new alerting policy.
# @param [String] name # @param [String] name
# Required. The project in which to create the alerting policy. The format is # Required. The project in which to create the alerting policy. The format is:
# projects/[PROJECT_ID].Note that this field names the parent container in which # projects/[PROJECT_ID_OR_NUMBER]
# the alerting policy will be written, not the name of the created policy. The # Note that this field names the parent container in which the alerting policy
# alerting policy that is returned will have a name that contains a normalized # will be written, not the name of the created policy. The alerting policy that
# representation of this name as a prefix but adds a suffix of the form / # is returned will have a name that contains a normalized representation of this
# alertPolicies/[POLICY_ID], identifying the policy in the container. # name as a prefix but adds a suffix of the form /alertPolicies/[ALERT_POLICY_ID]
# , identifying the policy in the container.
# @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_object # @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_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.
@ -93,7 +94,7 @@ module Google
# Deletes an alerting policy. # Deletes an alerting policy.
# @param [String] name # @param [String] name
# Required. The alerting policy to delete. The format is: # Required. The alerting policy to delete. The format is:
# projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# For more information, see AlertPolicy. # For more information, see AlertPolicy.
# @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.
@ -124,8 +125,8 @@ module Google
# Gets a single alerting policy. # Gets a single alerting policy.
# @param [String] name # @param [String] name
# Required. The alerting policy to retrieve. The format is # Required. The alerting policy to retrieve. The format is:
# projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -155,8 +156,8 @@ module Google
# Lists the existing alerting policies for the project. # Lists the existing alerting policies for the project.
# @param [String] name # @param [String] name
# Required. The project whose alert policies are to be listed. The format is # Required. The project whose alert policies are to be listed. The format is:
# projects/[PROJECT_ID] # projects/[PROJECT_ID_OR_NUMBER]
# Note that this field names the parent container in which the alerting policies # Note that this field names the parent container in which the alerting policies
# to be listed are stored. To retrieve a single alerting policy by name, use the # to be listed are stored. To retrieve a single alerting policy by name, use the
# GetAlertPolicy operation, instead. # GetAlertPolicy operation, instead.
@ -211,9 +212,9 @@ module Google
# specifying the fields to be updated via updateMask. Returns the updated # specifying the fields to be updated via updateMask. Returns the updated
# alerting policy. # alerting policy.
# @param [String] name # @param [String] name
# Required if the policy exists. The resource name for this policy. The syntax # Required if the policy exists. The resource name for this policy. The format
# is: # is:
# projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is # [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is
# created. When calling the alertPolicies.create method, do not include the name # created. When calling the alertPolicies.create method, do not include the name
# field in the alerting policy passed as part of the request. # field in the alerting policy passed as part of the request.
@ -269,8 +270,8 @@ module Google
# caution">This method is only for use by the Stackdriver Monitoring Agent. Use # caution">This method is only for use by the Stackdriver Monitoring Agent. Use
# projects.timeSeries.create instead.</aside> # projects.timeSeries.create instead.</aside>
# @param [String] name # @param [String] name
# The project in which to create the time series. The format is "projects/ # The project in which to create the time series. The format is:
# PROJECT_ID_OR_NUMBER". # projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_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.
@ -303,8 +304,8 @@ module Google
# Creates a new group. # Creates a new group.
# @param [String] name # @param [String] name
# Required. The project in which to create the group. The format is "projects/` # Required. The project in which to create the group. The format is:
# project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::Group] group_object # @param [Google::Apis::MonitoringV3::Group] group_object
# @param [Boolean] validate_only # @param [Boolean] validate_only
# If true, validate this request but do not create the group. # If true, validate this request but do not create the group.
@ -340,8 +341,8 @@ module Google
# Deletes an existing group. # Deletes an existing group.
# @param [String] name # @param [String] name
# Required. The group to delete. The format is "projects/`project_id_or_number`/ # Required. The group to delete. The format is:
# groups/`group_id`". # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# @param [Boolean] recursive # @param [Boolean] recursive
# If this field is true, then the request means to delete a group with all its # If this field is true, then the request means to delete a group with all its
# descendants. Otherwise, the request means to delete a group only when it has # descendants. Otherwise, the request means to delete a group only when it has
@ -376,8 +377,8 @@ module Google
# Gets a single group. # Gets a single group.
# @param [String] name # @param [String] name
# Required. The group to retrieve. The format is "projects/`project_id_or_number` # Required. The group to retrieve. The format is:
# /groups/`group_id`". # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -407,26 +408,30 @@ module Google
# Lists the existing groups. # Lists the existing groups.
# @param [String] name # @param [String] name
# Required. The project whose groups are to be listed. The format is "projects/` # Required. The project whose groups are to be listed. The format is:
# project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [String] ancestors_of_group # @param [String] ancestors_of_group
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns # A group name. The format is:
# groups that are ancestors of the specified group. The groups are returned in # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# order, starting with the immediate parent and ending with the most distant # Returns groups that are ancestors of the specified group. The groups are
# ancestor. If the specified group has no immediate parent, the results are # returned in order, starting with the immediate parent and ending with the most
# empty. # distant ancestor. If the specified group has no immediate parent, the results
# are empty.
# @param [String] children_of_group # @param [String] children_of_group
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns # A group name. The format is:
# groups whose parentName field contains the group name. If no groups have this # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# parent, the results are empty. # Returns groups whose parent_name field contains the group name. If no groups
# have this parent, the results are empty.
# @param [String] descendants_of_group # @param [String] descendants_of_group
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the # A group name. The format is:
# descendants of the specified group. This is a superset of the results returned # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# by the childrenOfGroup filter, and includes children-of-children, and so forth. # Returns the descendants of the specified group. This is a superset of the
# results returned by the children_of_group filter, and includes children-of-
# children, and so forth.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# A positive number that is the maximum number of results to return. # A positive number that is the maximum number of results to return.
# @param [String] page_token # @param [String] page_token
# If this field is not empty then it must contain the nextPageToken value # If this field is not empty then it must contain the next_page_token value
# returned by a previous call to this method. Using this field causes the method # returned by a previous call to this method. Using this field causes the method
# to return additional results from the previous method call. # to return additional results from the previous method call.
# @param [String] fields # @param [String] fields
@ -463,10 +468,11 @@ module Google
# Updates an existing group. You can change any group attributes except name. # Updates an existing group. You can change any group attributes except name.
# @param [String] name # @param [String] name
# Output only. The name of this group. The format is "projects/` # Output only. The name of this group. The format is:
# project_id_or_number`/groups/`group_id`". When creating a group, this field is # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# ignored and a new name is created consisting of the project specified in the # When creating a group, this field is ignored and a new name is created
# call to CreateGroup and a unique `group_id` that is generated automatically. # consisting of the project specified in the call to CreateGroup and a unique [
# GROUP_ID] that is generated automatically.
# @param [Google::Apis::MonitoringV3::Group] group_object # @param [Google::Apis::MonitoringV3::Group] group_object
# @param [Boolean] validate_only # @param [Boolean] validate_only
# If true, validate this request but do not update the existing group. # If true, validate this request but do not update the existing group.
@ -502,14 +508,14 @@ module Google
# Lists the monitored resources that are members of a group. # Lists the monitored resources that are members of a group.
# @param [String] name # @param [String] name
# Required. The group whose members are listed. The format is "projects/` # Required. The group whose members are listed. The format is:
# project_id_or_number`/groups/`group_id`". # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# @param [String] filter # @param [String] filter
# An optional list filter describing the members to be returned. The filter may # An optional list filter describing the members to be returned. The filter may
# reference the type, labels, and metadata of monitored resources that comprise # reference the type, labels, and metadata of monitored resources that comprise
# the group. For example, to return only resources representing Compute Engine # the group. For example, to return only resources representing Compute Engine
# VM instances, use this filter: # VM instances, use this filter:
# resource.type = "gce_instance" # `resource.type = "gce_instance"`
# @param [String] interval_end_time # @param [String] interval_end_time
# Required. The end of the time interval. # Required. The end of the time interval.
# @param [String] interval_start_time # @param [String] interval_start_time
@ -518,7 +524,7 @@ module Google
# @param [Fixnum] page_size # @param [Fixnum] page_size
# A positive number that is the maximum number of results to return. # A positive number that is the maximum number of results to return.
# @param [String] page_token # @param [String] page_token
# If this field is not empty then it must contain the nextPageToken value # If this field is not empty then it must contain the next_page_token value
# returned by a previous call to this method. Using this field causes the method # returned by a previous call to this method. Using this field causes the method
# to return additional results from the previous method call. # to return additional results from the previous method call.
# @param [String] fields # @param [String] fields
@ -556,8 +562,8 @@ module Google
# Creates a new metric descriptor. User-created metric descriptors define custom # Creates a new metric descriptor. User-created metric descriptors define custom
# metrics. # metrics.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is "projects/ # Required. The project on which to execute the request. The format is:
# `project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_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.
@ -590,9 +596,9 @@ module Google
# Deletes a metric descriptor. Only user-created custom metrics can be deleted. # Deletes a metric descriptor. Only user-created custom metrics can be deleted.
# @param [String] name # @param [String] name
# Required. The metric descriptor on which to execute the request. The format is # Required. The metric descriptor on which to execute the request. The format is:
# "projects/`project_id_or_number`/metricDescriptors/`metric_id`". An example of # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
# `metric_id` is: "custom.googleapis.com/my_test_metric". # An example of [METRIC_ID] is: "custom.googleapis.com/my_test_metric".
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -623,10 +629,10 @@ module Google
# Gets a single metric descriptor. This method does not require a Stackdriver # Gets a single metric descriptor. This method does not require a Stackdriver
# account. # account.
# @param [String] name # @param [String] name
# Required. The metric descriptor on which to execute the request. The format is # Required. The metric descriptor on which to execute the request. The format is:
# "projects/`project_id_or_number`/metricDescriptors/`metric_id`". An example # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
# value of `metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count" # An example value of [METRIC_ID] is "compute.googleapis.com/instance/disk/
# . # read_bytes_count".
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -657,8 +663,8 @@ module Google
# Lists metric descriptors that match a filter. This method does not require a # Lists metric descriptors that match a filter. This method does not require a
# Stackdriver account. # Stackdriver account.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is "projects/ # Required. The project on which to execute the request. The format is:
# `project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [String] filter # @param [String] filter
# If this field is empty, all custom and system-defined metric descriptors are # If this field is empty, all custom and system-defined metric descriptors are
# returned. Otherwise, the filter specifies which metric descriptors are to be # returned. Otherwise, the filter specifies which metric descriptors are to be
@ -703,9 +709,9 @@ module Google
# Gets a single monitored resource descriptor. This method does not require a # Gets a single monitored resource descriptor. This method does not require a
# Stackdriver account. # Stackdriver account.
# @param [String] name # @param [String] name
# Required. The monitored resource descriptor to get. The format is "projects/` # Required. The monitored resource descriptor to get. The format is:
# project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The ` # projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
# resource_type` is a predefined type, such as cloudsql_database. # The [RESOURCE_TYPE] is a predefined type, such as cloudsql_database.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -736,8 +742,8 @@ module Google
# Lists monitored resource descriptors that match a filter. This method does not # Lists monitored resource descriptors that match a filter. This method does not
# require a Stackdriver account. # require a Stackdriver account.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is "projects/ # Required. The project on which to execute the request. The format is:
# `project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [String] filter # @param [String] filter
# An optional filter describing the descriptors to be returned. The filter can # An optional filter describing the descriptors to be returned. The filter can
# reference the descriptor's type and labels. For example, the following filter # reference the descriptor's type and labels. For example, the following filter
@ -782,8 +788,8 @@ module Google
# Gets a single channel descriptor. The descriptor indicates which fields are # Gets a single channel descriptor. The descriptor indicates which fields are
# expected / permitted for a notification channel of the given type. # expected / permitted for a notification channel of the given type.
# @param [String] name # @param [String] name
# Required. The channel type for which to execute the request. The format is # Required. The channel type for which to execute the request. The format is:
# projects/[PROJECT_ID]/notificationChannelDescriptors/`channel_type`. # projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -816,7 +822,7 @@ module Google
# @param [String] name # @param [String] name
# Required. The REST resource name of the parent from which to retrieve the # Required. The REST resource name of the parent from which to retrieve the
# notification channel descriptors. The expected syntax is: # notification channel descriptors. The expected syntax is:
# projects/[PROJECT_ID] # projects/[PROJECT_ID_OR_NUMBER]
# Note that this names the parent container in which to look for the descriptors; # Note that this names the parent container in which to look for the descriptors;
# to retrieve a single descriptor by name, use the # to retrieve a single descriptor by name, use the
# GetNotificationChannelDescriptor operation, instead. # GetNotificationChannelDescriptor operation, instead.
@ -859,10 +865,10 @@ module Google
# endpoint such as an email address, SMS number, or PagerDuty service. # endpoint such as an email address, SMS number, or PagerDuty service.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is: # Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID] # projects/[PROJECT_ID_OR_NUMBER]
# Note that this names the container into which the channel will be written. # This names the container into which the channel will be written, this does not
# This does not name the newly created channel. The resulting channel's name # name the newly created channel. The resulting channel's name will have a
# will have a normalized version of this field as a prefix, but will add / # normalized version of this field as a prefix, but will add /
# notificationChannels/[CHANNEL_ID] to identify the channel. # notificationChannels/[CHANNEL_ID] to identify the channel.
# @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object # @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object
# @param [String] fields # @param [String] fields
@ -896,8 +902,8 @@ module Google
# Deletes a notification channel. # Deletes a notification channel.
# @param [String] name # @param [String] name
# Required. The channel for which to execute the request. The format is projects/ # Required. The channel for which to execute the request. The format is:
# [PROJECT_ID]/notificationChannels/[CHANNEL_ID]. # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# @param [Boolean] force # @param [Boolean] force
# If true, the notification channel will be deleted regardless of its use in # If true, the notification channel will be deleted regardless of its use in
# alert policies (the policies will be updated to remove the channel). If false, # alert policies (the policies will be updated to remove the channel). If false,
@ -937,8 +943,8 @@ module Google
# and thus the response may not be 100% identical to the information that was # and thus the response may not be 100% identical to the information that was
# supplied in the call to the create method. # supplied in the call to the create method.
# @param [String] name # @param [String] name
# Required. The channel for which to execute the request. The format is projects/ # Required. The channel for which to execute the request. The format is:
# [PROJECT_ID]/notificationChannels/[CHANNEL_ID]. # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1020,11 +1026,11 @@ module Google
# Lists the notification channels that have been created for the project. # Lists the notification channels that have been created for the project.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is projects/[ # Required. The project on which to execute the request. The format is:
# PROJECT_ID]. That is, this names the container in which to look for the # projects/[PROJECT_ID_OR_NUMBER]
# notification channels; it does not name a specific channel. To query a # This names the container in which to look for the notification channels; it
# specific channel by REST resource name, use the GetNotificationChannel # does not name a specific channel. To query a specific channel by REST resource
# operation. # name, use the GetNotificationChannel operation.
# @param [String] filter # @param [String] filter
# If provided, this field specifies the criteria that must be met by # If provided, this field specifies the criteria that must be met by
# notification channels to be included in the response.For more details, see # notification channels to be included in the response.For more details, see
@ -1074,8 +1080,8 @@ module Google
# Updates a notification channel. Fields not specified in the field mask remain # Updates a notification channel. Fields not specified in the field mask remain
# unchanged. # unchanged.
# @param [String] name # @param [String] name
# The full REST resource name for this channel. The syntax is: # The full REST resource name for this channel. The format is:
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# The [CHANNEL_ID] is automatically assigned by the server on creation. # The [CHANNEL_ID] is automatically assigned by the server on creation.
# @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object # @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object
# @param [String] update_mask # @param [String] update_mask
@ -1182,8 +1188,8 @@ module Google
# time series in the request were written. If any time series could not be # time series in the request were written. If any time series could not be
# written, a corresponding failure message is included in the error response. # written, a corresponding failure message is included in the error response.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is "projects/ # Required. The project on which to execute the request. The format is:
# `project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_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.
@ -1217,8 +1223,8 @@ module Google
# Lists time series that match a filter. This method does not require a # Lists time series that match a filter. This method does not require a
# Stackdriver account. # Stackdriver account.
# @param [String] name # @param [String] name
# Required. The project on which to execute the request. The format is "projects/ # Required. The project on which to execute the request. The format is:
# `project_id_or_number`". # projects/[PROJECT_ID_OR_NUMBER]
# @param [String] aggregation_alignment_period # @param [String] aggregation_alignment_period
# The alignment_period specifies a time interval, in seconds, that is used to # The alignment_period specifies a time interval, in seconds, that is used to
# divide the data in all the time series into consistent blocks of time. This # divide the data in all the time series into consistent blocks of time. This
@ -1329,8 +1335,8 @@ module Google
# Creates a new Uptime check configuration. # Creates a new Uptime check configuration.
# @param [String] parent # @param [String] parent
# Required. The project in which to create the Uptime check. The format is # Required. The project in which to create the Uptime check. The format is:
# projects/[PROJECT_ID]. # projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_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.
@ -1365,8 +1371,8 @@ module Google
# Uptime check configuration is referenced by an alert policy or other dependent # Uptime check configuration is referenced by an alert policy or other dependent
# configs that would be rendered invalid by the deletion. # configs that would be rendered invalid by the deletion.
# @param [String] name # @param [String] name
# Required. The Uptime check configuration to delete. The format is projects/[ # Required. The Uptime check configuration to delete. The format is:
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]. # projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1396,8 +1402,8 @@ module Google
# Gets a single Uptime check configuration. # Gets a single Uptime check configuration.
# @param [String] name # @param [String] name
# Required. The Uptime check configuration to retrieve. The format is projects/[ # Required. The Uptime check configuration to retrieve. The format is:
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]. # projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1429,7 +1435,8 @@ module Google
# out any invalid configurations). # out any invalid configurations).
# @param [String] parent # @param [String] parent
# Required. The project whose Uptime check configurations are listed. The format # Required. The project whose Uptime check configurations are listed. The format
# is projects/[PROJECT_ID]. # is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of results to return in a single response. The server may # The maximum number of results to return in a single response. The server may
# further constrain the maximum number of results returned in a single page. If # further constrain the maximum number of results returned in a single page. If
@ -1474,9 +1481,10 @@ module Google
# the updated configuration. # the updated configuration.
# @param [String] name # @param [String] name
# A unique resource name for this Uptime check configuration. The format is: # A unique resource name for this Uptime check configuration. The format is:
# projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should # projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# be omitted when creating the Uptime check configuration; on create, the # This field should be omitted when creating the Uptime check configuration; on
# resource name is assigned by the server and included in the response. # create, the resource name is assigned by the server and included in the
# response.
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
# @param [String] update_mask # @param [String] update_mask
# Optional. If present, only the listed fields in the current Uptime check # Optional. If present, only the listed fields in the current Uptime check
@ -1515,12 +1523,12 @@ module Google
# Create a Service. # Create a Service.
# @param [String] parent # @param [String] parent
# Required. Resource name of the parent workspace. Of the form projects/` # Required. Resource name of the parent workspace. The format is:
# project_id`. # projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::Service] service_object # @param [Google::Apis::MonitoringV3::Service] service_object
# @param [String] service_id # @param [String] service_id
# Optional. The Service id to use for this Service. If omitted, an id will be # Optional. The Service id to use for this Service. If omitted, an id will be
# generated instead. Must match the pattern a-z0-9-+ # generated instead. Must match the pattern [a-z0-9\-]+
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1553,8 +1561,8 @@ module Google
# Soft delete this Service. # Soft delete this Service.
# @param [String] name # @param [String] name
# Required. Resource name of the Service to delete. Of the form projects/` # Required. Resource name of the Service to delete. The format is:
# project_id`/services/`service_id`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1584,8 +1592,8 @@ module Google
# Get the named Service. # Get the named Service.
# @param [String] name # @param [String] name
# Required. Resource name of the Service. Of the form projects/`project_id`/ # Required. Resource name of the Service. The format is:
# services/`service_id`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1616,8 +1624,9 @@ module Google
# List Services for this workspace. # List Services for this workspace.
# @param [String] parent # @param [String] parent
# Required. Resource name of the parent containing the listed services, either a # Required. Resource name of the parent containing the listed services, either a
# project or Stackdriver Account (workspace).One of the forms: "projects/` # project or Stackdriver Account (workspace). The formats are:
# project_id`" "workspaces/`host_project_id`" # projects/[PROJECT_ID_OR_NUMBER]
# workspaces/[HOST_PROJECT_ID]
# @param [String] filter # @param [String] filter
# A filter specifying what Services to return. The filter currently supports the # A filter specifying what Services to return. The filter currently supports the
# following fields: # following fields:
@ -1671,8 +1680,8 @@ module Google
# Update this Service. # Update this Service.
# @param [String] name # @param [String] name
# Resource name for this Service. Of the form projects/`project_id`/services/` # Resource name for this Service. The format is:
# service_id`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID`
# @param [Google::Apis::MonitoringV3::Service] service_object # @param [Google::Apis::MonitoringV3::Service] service_object
# @param [String] update_mask # @param [String] update_mask
# A set of field paths defining which fields to use for the update. # A set of field paths defining which fields to use for the update.
@ -1708,12 +1717,12 @@ module Google
# Create a ServiceLevelObjective for the given Service. # Create a ServiceLevelObjective for the given Service.
# @param [String] parent # @param [String] parent
# Required. Resource name of the parent Service. Of the form projects/` # Required. Resource name of the parent Service. The format is:
# project_id`/services/`service_id`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @param [Google::Apis::MonitoringV3::ServiceLevelObjective] service_level_objective_object # @param [Google::Apis::MonitoringV3::ServiceLevelObjective] service_level_objective_object
# @param [String] service_level_objective_id # @param [String] service_level_objective_id
# Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. # Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective.
# If omitted, an id will be generated instead. Must match the pattern a-z0-9-+ # If omitted, an id will be generated instead. Must match the pattern [a-z0-9\-]+
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1746,8 +1755,9 @@ module Google
# Delete the given ServiceLevelObjective. # Delete the given ServiceLevelObjective.
# @param [String] name # @param [String] name
# Required. Resource name of the ServiceLevelObjective to delete. Of the form # Required. Resource name of the ServiceLevelObjective to delete. The format is:
# projects/`project_id`/services/`service_id`/serviceLevelObjectives/`slo_name`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -1777,8 +1787,9 @@ module Google
# Get a ServiceLevelObjective by name. # Get a ServiceLevelObjective by name.
# @param [String] name # @param [String] name
# Required. Resource name of the ServiceLevelObjective to get. Of the form # Required. Resource name of the ServiceLevelObjective to get. The format is:
# projects/`project_id`/services/`service_id`/serviceLevelObjectives/`slo_name`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# @param [String] view # @param [String] view
# View of the ServiceLevelObjective to return. If DEFAULT, return the # View of the ServiceLevelObjective to return. If DEFAULT, return the
# ServiceLevelObjective as originally defined. If EXPLICIT and the # ServiceLevelObjective as originally defined. If EXPLICIT and the
@ -1814,8 +1825,8 @@ module Google
# List the ServiceLevelObjectives for the given Service. # List the ServiceLevelObjectives for the given Service.
# @param [String] parent # @param [String] parent
# Required. Resource name of the parent Service. Of the form projects/` # Required. Resource name of the parent Service. The format is:
# project_id`/services/`service_id`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @param [String] filter # @param [String] filter
# A filter specifying what ServiceLevelObjectives to return. # A filter specifying what ServiceLevelObjectives to return.
# @param [Fixnum] page_size # @param [Fixnum] page_size
@ -1863,8 +1874,9 @@ module Google
# Update the given ServiceLevelObjective. # Update the given ServiceLevelObjective.
# @param [String] name # @param [String] name
# Resource name for this ServiceLevelObjective. Of the form projects/`project_id` # Resource name for this ServiceLevelObjective. The format is:
# /services/`service_id`/serviceLevelObjectives/`slo_name`. # projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# @param [Google::Apis::MonitoringV3::ServiceLevelObjective] service_level_objective_object # @param [Google::Apis::MonitoringV3::ServiceLevelObjective] service_level_objective_object
# @param [String] update_mask # @param [String] update_mask
# A set of field paths defining which fields to use for the update. # A set of field paths defining which fields to use for the update.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200210' REVISION = '20200212'
# See, edit, download, and permanently delete your contacts # See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

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 = '20200210' REVISION = '20200211'
# Read, compose, send, and permanently delete all your email from Gmail # Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/' AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/ # @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1 module ToolresultsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200210' REVISION = '20200212'
end end
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/analytics # @see https://developers.google.com/youtube/analytics
module YoutubeAnalyticsV1 module YoutubeAnalyticsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200209' REVISION = '20200212'
end end
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/analytics # @see https://developers.google.com/youtube/analytics
module YoutubeAnalyticsV2 module YoutubeAnalyticsV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20200209' REVISION = '20200212'
# Manage your YouTube account # Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/reporting/v1/reports/ # @see https://developers.google.com/youtube/reporting/v1/reports/
module YoutubereportingV1 module YoutubereportingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200209' REVISION = '20200212'
# View monetary and non-monetary YouTube Analytics reports for your YouTube content # View monetary and non-monetary YouTube Analytics reports for your YouTube content
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly' AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'