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/
module AcceleratedmobilepageurlV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200212'
end
end
end

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1
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
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'

View File

@ -206,7 +206,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
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`
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device
@ -240,7 +241,8 @@ module Google
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
include Google::Apis::Core::Hashable
@ -577,7 +579,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
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`
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1beta1
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
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.
# If not specified, the `EntityKey` represents a Google-managed entity such
# as a Google user or a Google Group.
# If specified, the `EntityKey` represents an external-identity-mapped group
# created through Admin Console. Must be of the form
# `identitysources/`identity_source_id`.
# If specified, the `EntityKey` represents an external-identity-mapped group.
# The namespace must correspond to an identity source created in Admin
# Console. Must be of the form `identitysources/`identity_source_id`.
# Corresponds to the JSON property `namespace`
# @return [String]
attr_accessor :namespace
@ -212,7 +212,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
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`
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device
@ -246,7 +247,8 @@ module Google
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
include Google::Apis::Core::Hashable
@ -583,7 +585,8 @@ module Google
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
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`
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device]
attr_accessor :device

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/profiler/
module CloudprofilerV2
VERSION = 'V2'
REVISION = '20180730'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
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/
module CloudshellV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200213'
# View and manage your data across Google Cloud Platform services
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/
module CloudshellV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200210'
REVISION = '20200213'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/composer/
module ComposerV1
VERSION = 'V1'
REVISION = '20190827'
REVISION = '20200207'
# View and manage your data across Google Cloud Platform services
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:
# "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`
# @return [String]
attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/composer/
module ComposerV1beta1
VERSION = 'V1beta1'
REVISION = '20190827'
REVISION = '20200207'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,6 +22,38 @@ module Google
module Apis
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
# 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:
@ -68,6 +100,8 @@ module Google
# The resource name of the environment, in the form:
# "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`
# @return [String]
attr_accessor :name
@ -154,6 +188,11 @@ module Google
# @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
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)
update!(**args)
end
@ -167,6 +206,7 @@ module Google
@node_count = args[:node_count] if args.key?(:node_count)
@private_environment_config = args[:private_environment_config] if args.key?(:private_environment_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
@ -792,6 +832,25 @@ module Google
@message = args[:message] if args.key?(:message)
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

View File

@ -22,6 +22,12 @@ module Google
module Apis
module ComposerV1beta1
class AllowedIpRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -112,6 +118,20 @@ module Google
include Google::Apis::Core::JsonObjectSupport
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
# @private
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 :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl::Representation
end
end
@ -271,6 +293,14 @@ module Google
property :message, as: 'message'
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

View File

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

View File

@ -26,7 +26,7 @@ module Google
# @see https://firebase.google.com
module FirebaseV1beta1
VERSION = 'V1beta1'
REVISION = '20200210'
REVISION = '20200212'
# View and manage your data across Google Cloud Platform services
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/
module FirebasedynamiclinksV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200212'
# View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

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

View File

@ -37,7 +37,8 @@ module Google
# @return [Google::Apis::IapV1::GcipSettings]
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`
# @return [Google::Apis::IapV1::OAuthSettings]
attr_accessor :oauth_settings
@ -510,10 +511,23 @@ module Google
end
end
# Configuration for OAuth login&consent flow behavior.
# Configuration for OAuth login&consent flow behavior as well as for OAuth
# Credentials.
class OAuthSettings
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
# redirect to primary IDP by skipping Google's login screen.
# https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
@ -529,6 +543,7 @@ module Google
# Update properties of this object
def update!(**args)
@client_id = args[:client_id] if args.key?(:client_id)
@login_hint = args[:login_hint] if args.key?(:login_hint)
end
end

View File

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

View File

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

View File

@ -1407,12 +1407,13 @@ module Google
end
end
# All parameters related to queuing and scheduling of training jobs.
# All parameters related to scheduling of training jobs.
class GoogleCloudMlV1Scheduling
include Google::Apis::Core::Hashable
# Optional. The maximum job running time, expressed in seconds. By default
# there is no limit.
# Optional. The maximum job running time, expressed in seconds. The field can
# 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
# Training cancels it.
# For example, if you want to ensure your job runs for no more than 2 hours,
@ -1420,7 +1421,8 @@ module Google
# minute).
# If you submit your training job using the `gcloud` tool, you can [provide
# 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:
# ```yaml
# trainingInput:
@ -1622,7 +1624,7 @@ module Google
# @return [String]
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`
# @return [Google::Apis::MlV1::GoogleCloudMlV1Scheduling]
attr_accessor :scheduling

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV1
VERSION = 'V1'
REVISION = '20200126'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -498,8 +498,8 @@ module Google
attr_accessor :dashboards
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -756,16 +756,16 @@ module Google
end
end
# The context of a span, attached to google.api.Distribution.Exemplars in google.
# api.Distribution values during aggregation.It contains the name of a span with
# format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID
# The context of a span, attached to Exemplars in Distribution values during
# aggregation.It contains the name of a span with format:
# projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
class SpanContext
include Google::Apis::Core::Hashable
# The resource name of the span in the following format:
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
# 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
# The resource name of the span. The format is:
# 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-
# 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
# encoding of an 8-byte array.
# 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
# Cloud IAM (https://cloud.google.com/iam).
# @param [String] parent
# Required. The project on which to execute the request. The format is "projects/
# `project_id_or_number`". The `project_id_or_number` must match the dashboard
# resource name.
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name.
# @param [Google::Apis::MonitoringV1::Dashboard] dashboard_object
# @param [String] fields
# 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,
# see Google Cloud IAM (https://cloud.google.com/iam).
# @param [String] name
# Required. The resource name of the Dashboard. The format is "projects/`
# project_id_or_number`/dashboards/`dashboard_id`".
# Required. The resource name of the Dashboard. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -126,9 +126,10 @@ module Google
# get permission on the specified dashboard. For more information, see Google
# Cloud IAM (https://cloud.google.com/iam).
# @param [String] name
# Required. The resource name of the Dashboard. The format is one of "dashboards/
# `dashboard_id`" (for system dashboards) or "projects/`project_id_or_number`/
# dashboards/`dashboard_id`" (for custom dashboards).
# Required. The resource name of the Dashboard. The format is one of:
# dashboards/[DASHBOARD_ID] (for system dashboards)
# projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom
# dashboards).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -160,8 +161,8 @@ module Google
# list permission on the specified project. For more information, see Google
# Cloud IAM (https://cloud.google.com/iam).
# @param [String] parent
# Required. The scope of the dashboards to list. A project scope must be
# specified in the form of "projects/`project_id_or_number`".
# Required. The scope of the dashboards to list. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Fixnum] page_size
# A positive number that is the maximum number of results to return. If
# unspecified, a default of 1000 is used.

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20200204'
REVISION = '20200210'
# View and manage your data across Google Cloud Platform services
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
# 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 |
# condition_time_series_uery_language| is present, it must be the only |
# condition|.
# then an incident is created. A policy can have from one to six conditions. If
# condition_time_series_query_language is present, it must be the only condition.
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::MonitoringV3::Condition>]
attr_accessor :conditions
@ -169,9 +168,9 @@ module Google
# @return [Google::Apis::MonitoringV3::MutationRecord]
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:
# 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
# created. When calling the alertPolicies.create method, do not include the name
# 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
# opened incident. Each element of this array corresponds to the name field in
# each of the NotificationChannel objects that are returned from the
# ListNotificationChannels method. The syntax of the entries in this field is:
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
# ListNotificationChannels method. The format of the entries in this field is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# Corresponds to the JSON property `notificationChannels`
# @return [Array<String>]
attr_accessor :notification_channels
@ -425,7 +424,8 @@ module Google
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
include Google::Apis::Core::Hashable
@ -657,8 +657,9 @@ module Google
attr_accessor :display_name
# Required if the condition exists. The unique resource name for this condition.
# Its syntax is:
# projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
# Its format is:
# projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[
# CONDITION_ID]
# [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is
# 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
@ -1391,17 +1392,18 @@ module Google
attr_accessor :is_cluster
alias_method :is_cluster?, :is_cluster
# Output only. The name of this group. The format is "projects/`
# project_id_or_number`/groups/`group_id`". When creating a group, this field is
# ignored and a new name is created consisting of the project specified in the
# call to CreateGroup and a unique `group_id` that is generated automatically.
# Output only. The name of this group. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# When creating a group, this field is ignored and a new name is created
# 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`
# @return [String]
attr_accessor :name
# The name of the group's parent, if it has one. The format is "projects/`
# project_id_or_number`/groups/`group_id`". For groups with no parent,
# parentName is the empty string, "".
# The name of the group's parent, if it has one. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# For groups with no parent, parent_name is the empty string, "".
# Corresponds to the JSON property `parentName`
# @return [String]
attr_accessor :parent_name
@ -1516,10 +1518,10 @@ module Google
# @return [String]
attr_accessor :gcp_zone
# A unique resource name for this InternalChecker. The format is:projects/[
# PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].[PROJECT_ID] is the
# Stackdriver Workspace project for the Uptime check config associated with the
# internal checker.
# A unique resource name for this InternalChecker. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
# [PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime
# check config associated with the internal checker.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -1657,8 +1659,8 @@ module Google
attr_accessor :alert_policies
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1684,8 +1686,8 @@ module Google
attr_accessor :members
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1717,8 +1719,8 @@ module Google
attr_accessor :group
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1745,8 +1747,8 @@ module Google
attr_accessor :metric_descriptors
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1767,8 +1769,8 @@ module Google
include Google::Apis::Core::Hashable
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1850,8 +1852,8 @@ module Google
include Google::Apis::Core::Hashable
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1877,8 +1879,8 @@ module Google
include Google::Apis::Core::Hashable
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1910,8 +1912,8 @@ module Google
attr_accessor :execution_errors
# 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
# the next call to this method.
# non-empty value. To see the additional results, use that value as page_token
# in the next call to this method.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -1999,6 +2001,40 @@ module Google
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
# MetricDescriptor.
class Metric
@ -2624,8 +2660,8 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The full REST resource name for this channel. The syntax is:
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
# The full REST resource name for this channel. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# The [CHANNEL_ID] is automatically assigned by the server on creation.
# Corresponds to the JSON property `name`
# @return [String]
@ -2711,8 +2747,8 @@ module Google
# @return [String]
attr_accessor :launch_stage
# The full REST resource name for this descriptor. The syntax is:
# projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE]
# The full REST resource name for this descriptor. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
# In the above, [TYPE] is the value of the type field.
# Corresponds to the JSON property `name`
# @return [String]
@ -2914,7 +2950,7 @@ module Google
include Google::Apis::Core::Hashable
# 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`
# @return [String]
attr_accessor :group_id
@ -2965,7 +3001,8 @@ module Google
# @return [Google::Apis::MonitoringV3::CloudEndpoints]
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`
# @return [Google::Apis::MonitoringV3::ClusterIstio]
attr_accessor :cluster_istio
@ -2981,8 +3018,13 @@ module Google
# @return [String]
attr_accessor :display_name
# Resource name for this Service. Of the form projects/`project_id`/services/`
# service_id`.
# Istio service scoped to an Istio mesh
# 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`
# @return [String]
attr_accessor :name
@ -3003,6 +3045,7 @@ module Google
@cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
@custom = args[:custom] if args.key?(:custom)
@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)
@telemetry = args[:telemetry] if args.key?(:telemetry)
end
@ -3085,8 +3128,9 @@ module Google
# @return [Float]
attr_accessor :goal
# Resource name for this ServiceLevelObjective. Of the form projects/`project_id`
# /services/`service_id`/serviceLevelObjectives/`slo_name`.
# Resource name for this ServiceLevelObjective. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -3150,16 +3194,16 @@ module Google
end
end
# The context of a span, attached to google.api.Distribution.Exemplars in google.
# api.Distribution values during aggregation.It contains the name of a span with
# format: projects/PROJECT_ID/traces/TRACE_ID/spans/SPAN_ID
# The context of a span, attached to Exemplars in Distribution values during
# aggregation.It contains the name of a span with format:
# projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
class SpanContext
include Google::Apis::Core::Hashable
# The resource name of the span in the following format:
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
# 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
# The resource name of the span. The format is:
# 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-
# 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
# encoding of an 8-byte array.
# Corresponds to the JSON property `spanName`
@ -3619,9 +3663,10 @@ module Google
attr_accessor :monitored_resource
# A unique resource name for this Uptime check configuration. The format is:
# projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
# be omitted when creating the Uptime check configuration; on create, the
# resource name is assigned by the server and included in the response.
# projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# This field should be omitted when creating the Uptime check configuration; on
# create, the resource name is assigned by the server and included in the
# response.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -328,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MeshIstio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1050,6 +1056,15 @@ module Google
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
# @private
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 :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 :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.
# @param [String] name
# 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
# the alerting policy will be written, not the name of the created policy. The
# alerting policy that is returned will have a name that contains a normalized
# representation of this name as a prefix but adds a suffix of the form /
# alertPolicies/[POLICY_ID], identifying the policy in the container.
# Required. The project in which to create the alerting policy. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# Note that this field names the parent container in which the alerting policy
# will be written, not the name of the created policy. The alerting policy that
# is returned will have a name that contains a normalized representation of this
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -93,7 +94,7 @@ module Google
# Deletes an alerting policy.
# @param [String] name
# 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.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -124,8 +125,8 @@ module Google
# Gets a single alerting policy.
# @param [String] name
# Required. The alerting policy to retrieve. The format is
# projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
# Required. The alerting policy to retrieve. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -155,8 +156,8 @@ module Google
# Lists the existing alerting policies for the project.
# @param [String] name
# Required. The project whose alert policies are to be listed. The format is
# projects/[PROJECT_ID]
# Required. The project whose alert policies are to be listed. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# 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
# GetAlertPolicy operation, instead.
@ -211,9 +212,9 @@ module Google
# specifying the fields to be updated via updateMask. Returns the updated
# alerting policy.
# @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:
# 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
# created. When calling the alertPolicies.create method, do not include the name
# 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
# projects.timeSeries.create instead.</aside>
# @param [String] name
# The project in which to create the time series. The format is "projects/
# PROJECT_ID_OR_NUMBER".
# The project in which to create the time series. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -303,8 +304,8 @@ module Google
# Creates a new group.
# @param [String] name
# Required. The project in which to create the group. The format is "projects/`
# project_id_or_number`".
# Required. The project in which to create the group. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::Group] group_object
# @param [Boolean] validate_only
# If true, validate this request but do not create the group.
@ -340,8 +341,8 @@ module Google
# Deletes an existing group.
# @param [String] name
# Required. The group to delete. The format is "projects/`project_id_or_number`/
# groups/`group_id`".
# Required. The group to delete. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# @param [Boolean] recursive
# 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
@ -376,8 +377,8 @@ module Google
# Gets a single group.
# @param [String] name
# Required. The group to retrieve. The format is "projects/`project_id_or_number`
# /groups/`group_id`".
# Required. The group to retrieve. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -407,26 +408,30 @@ module Google
# Lists the existing groups.
# @param [String] name
# Required. The project whose groups are to be listed. The format is "projects/`
# project_id_or_number`".
# Required. The project whose groups are to be listed. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [String] ancestors_of_group
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
# groups that are ancestors of the specified group. The groups are returned in
# order, starting with the immediate parent and ending with the most distant
# ancestor. If the specified group has no immediate parent, the results are
# empty.
# A group name. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# Returns groups that are ancestors of the specified group. The groups are
# returned in order, starting with the immediate parent and ending with the most
# distant ancestor. If the specified group has no immediate parent, the results
# are empty.
# @param [String] children_of_group
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
# groups whose parentName field contains the group name. If no groups have this
# parent, the results are empty.
# A group name. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# 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
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the
# descendants of the specified group. This is a superset of the results returned
# by the childrenOfGroup filter, and includes children-of-children, and so forth.
# A group name. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# 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
# A positive number that is the maximum number of results to return.
# @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
# to return additional results from the previous method call.
# @param [String] fields
@ -463,10 +468,11 @@ module Google
# Updates an existing group. You can change any group attributes except name.
# @param [String] name
# Output only. The name of this group. The format is "projects/`
# project_id_or_number`/groups/`group_id`". When creating a group, this field is
# ignored and a new name is created consisting of the project specified in the
# call to CreateGroup and a unique `group_id` that is generated automatically.
# Output only. The name of this group. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# When creating a group, this field is ignored and a new name is created
# 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 [Boolean] validate_only
# 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.
# @param [String] name
# Required. The group whose members are listed. The format is "projects/`
# project_id_or_number`/groups/`group_id`".
# Required. The group whose members are listed. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
# @param [String] filter
# An optional list filter describing the members to be returned. The filter may
# reference the type, labels, and metadata of monitored resources that comprise
# the group. For example, to return only resources representing Compute Engine
# VM instances, use this filter:
# resource.type = "gce_instance"
# `resource.type = "gce_instance"`
# @param [String] interval_end_time
# Required. The end of the time interval.
# @param [String] interval_start_time
@ -518,7 +524,7 @@ module Google
# @param [Fixnum] page_size
# A positive number that is the maximum number of results to return.
# @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
# to return additional results from the previous method call.
# @param [String] fields
@ -556,8 +562,8 @@ module Google
# Creates a new metric descriptor. User-created metric descriptors define custom
# metrics.
# @param [String] name
# Required. The project on which to execute the request. The format is "projects/
# `project_id_or_number`".
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
# @param [String] fields
# 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.
# @param [String] name
# Required. The metric descriptor on which to execute the request. The format is
# "projects/`project_id_or_number`/metricDescriptors/`metric_id`". An example of
# `metric_id` is: "custom.googleapis.com/my_test_metric".
# Required. The metric descriptor on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
# An example of [METRIC_ID] is: "custom.googleapis.com/my_test_metric".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -623,10 +629,10 @@ module Google
# Gets a single metric descriptor. This method does not require a Stackdriver
# account.
# @param [String] name
# Required. The metric descriptor on which to execute the request. The format is
# "projects/`project_id_or_number`/metricDescriptors/`metric_id`". An example
# value of `metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count"
# .
# Required. The metric descriptor on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
# An example value of [METRIC_ID] is "compute.googleapis.com/instance/disk/
# read_bytes_count".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -657,8 +663,8 @@ module Google
# Lists metric descriptors that match a filter. This method does not require a
# Stackdriver account.
# @param [String] name
# Required. The project on which to execute the request. The format is "projects/
# `project_id_or_number`".
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [String] filter
# If this field is empty, all custom and system-defined metric descriptors are
# 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
# Stackdriver account.
# @param [String] name
# Required. The monitored resource descriptor to get. The format is "projects/`
# project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
# resource_type` is a predefined type, such as cloudsql_database.
# Required. The monitored resource descriptor to get. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
# The [RESOURCE_TYPE] is a predefined type, such as cloudsql_database.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -736,8 +742,8 @@ module Google
# Lists monitored resource descriptors that match a filter. This method does not
# require a Stackdriver account.
# @param [String] name
# Required. The project on which to execute the request. The format is "projects/
# `project_id_or_number`".
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [String] filter
# An optional filter describing the descriptors to be returned. The filter can
# 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
# expected / permitted for a notification channel of the given type.
# @param [String] name
# Required. The channel type for which to execute the request. The format is
# projects/[PROJECT_ID]/notificationChannelDescriptors/`channel_type`.
# Required. The channel type for which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -816,7 +822,7 @@ module Google
# @param [String] name
# Required. The REST resource name of the parent from which to retrieve the
# 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;
# to retrieve a single descriptor by name, use the
# GetNotificationChannelDescriptor operation, instead.
@ -859,10 +865,10 @@ module Google
# endpoint such as an email address, SMS number, or PagerDuty service.
# @param [String] name
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID]
# Note that this names the container into which the channel will be written.
# This does not name the newly created channel. The resulting channel's name
# will have a normalized version of this field as a prefix, but will add /
# projects/[PROJECT_ID_OR_NUMBER]
# This names the container into which the channel will be written, this does not
# name the newly created channel. The resulting channel's name will have a
# normalized version of this field as a prefix, but will add /
# notificationChannels/[CHANNEL_ID] to identify the channel.
# @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object
# @param [String] fields
@ -896,8 +902,8 @@ module Google
# Deletes a notification channel.
# @param [String] name
# Required. The channel for which to execute the request. The format is projects/
# [PROJECT_ID]/notificationChannels/[CHANNEL_ID].
# Required. The channel for which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# @param [Boolean] force
# 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,
@ -937,8 +943,8 @@ module Google
# and thus the response may not be 100% identical to the information that was
# supplied in the call to the create method.
# @param [String] name
# Required. The channel for which to execute the request. The format is projects/
# [PROJECT_ID]/notificationChannels/[CHANNEL_ID].
# Required. The channel for which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1020,11 +1026,11 @@ module Google
# Lists the notification channels that have been created for the project.
# @param [String] name
# Required. The project on which to execute the request. The format is projects/[
# PROJECT_ID]. That is, this names the container in which to look for the
# notification channels; it does not name a specific channel. To query a
# specific channel by REST resource name, use the GetNotificationChannel
# operation.
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# This names the container in which to look for the notification channels; it
# does not name a specific channel. To query a specific channel by REST resource
# name, use the GetNotificationChannel operation.
# @param [String] filter
# If provided, this field specifies the criteria that must be met by
# 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
# unchanged.
# @param [String] name
# The full REST resource name for this channel. The syntax is:
# projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
# The full REST resource name for this channel. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
# The [CHANNEL_ID] is automatically assigned by the server on creation.
# @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object
# @param [String] update_mask
@ -1182,8 +1188,8 @@ module Google
# 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.
# @param [String] name
# Required. The project on which to execute the request. The format is "projects/
# `project_id_or_number`".
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
# @param [String] fields
# 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
# Stackdriver account.
# @param [String] name
# Required. The project on which to execute the request. The format is "projects/
# `project_id_or_number`".
# Required. The project on which to execute the request. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [String] aggregation_alignment_period
# 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
@ -1329,8 +1335,8 @@ module Google
# Creates a new Uptime check configuration.
# @param [String] parent
# Required. The project in which to create the Uptime check. The format is
# projects/[PROJECT_ID].
# Required. The project in which to create the Uptime check. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
# @param [String] fields
# 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
# configs that would be rendered invalid by the deletion.
# @param [String] name
# Required. The Uptime check configuration to delete. The format is projects/[
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
# Required. The Uptime check configuration to delete. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1396,8 +1402,8 @@ module Google
# Gets a single Uptime check configuration.
# @param [String] name
# Required. The Uptime check configuration to retrieve. The format is projects/[
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
# Required. The Uptime check configuration to retrieve. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1429,7 +1435,8 @@ module Google
# out any invalid configurations).
# @param [String] parent
# 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
# 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
@ -1474,9 +1481,10 @@ module Google
# the updated configuration.
# @param [String] name
# A unique resource name for this Uptime check configuration. The format is:
# projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
# be omitted when creating the Uptime check configuration; on create, the
# resource name is assigned by the server and included in the response.
# projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
# This field should be omitted when creating the Uptime check configuration; on
# create, the resource name is assigned by the server and included in the
# response.
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
# @param [String] update_mask
# Optional. If present, only the listed fields in the current Uptime check
@ -1515,12 +1523,12 @@ module Google
# Create a Service.
# @param [String] parent
# Required. Resource name of the parent workspace. Of the form projects/`
# project_id`.
# Required. Resource name of the parent workspace. The format is:
# projects/[PROJECT_ID_OR_NUMBER]
# @param [Google::Apis::MonitoringV3::Service] service_object
# @param [String] service_id
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1553,8 +1561,8 @@ module Google
# Soft delete this Service.
# @param [String] name
# Required. Resource name of the Service to delete. Of the form projects/`
# project_id`/services/`service_id`.
# Required. Resource name of the Service to delete. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1584,8 +1592,8 @@ module Google
# Get the named Service.
# @param [String] name
# Required. Resource name of the Service. Of the form projects/`project_id`/
# services/`service_id`.
# Required. Resource name of the Service. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1616,8 +1624,9 @@ module Google
# List Services for this workspace.
# @param [String] parent
# Required. Resource name of the parent containing the listed services, either a
# project or Stackdriver Account (workspace).One of the forms: "projects/`
# project_id`" "workspaces/`host_project_id`"
# project or Stackdriver Account (workspace). The formats are:
# projects/[PROJECT_ID_OR_NUMBER]
# workspaces/[HOST_PROJECT_ID]
# @param [String] filter
# A filter specifying what Services to return. The filter currently supports the
# following fields:
@ -1671,8 +1680,8 @@ module Google
# Update this Service.
# @param [String] name
# Resource name for this Service. Of the form projects/`project_id`/services/`
# service_id`.
# Resource name for this Service. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID`
# @param [Google::Apis::MonitoringV3::Service] service_object
# @param [String] update_mask
# 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.
# @param [String] parent
# Required. Resource name of the parent Service. Of the form projects/`
# project_id`/services/`service_id`.
# Required. Resource name of the parent Service. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @param [Google::Apis::MonitoringV3::ServiceLevelObjective] service_level_objective_object
# @param [String] service_level_objective_id
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1746,8 +1755,9 @@ module Google
# Delete the given ServiceLevelObjective.
# @param [String] name
# Required. Resource name of the ServiceLevelObjective to delete. Of the form
# projects/`project_id`/services/`service_id`/serviceLevelObjectives/`slo_name`.
# Required. Resource name of the ServiceLevelObjective to delete. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1777,8 +1787,9 @@ module Google
# Get a ServiceLevelObjective by name.
# @param [String] name
# Required. Resource name of the ServiceLevelObjective to get. Of the form
# projects/`project_id`/services/`service_id`/serviceLevelObjectives/`slo_name`.
# Required. Resource name of the ServiceLevelObjective to get. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# @param [String] view
# View of the ServiceLevelObjective to return. If DEFAULT, return the
# ServiceLevelObjective as originally defined. If EXPLICIT and the
@ -1814,8 +1825,8 @@ module Google
# List the ServiceLevelObjectives for the given Service.
# @param [String] parent
# Required. Resource name of the parent Service. Of the form projects/`
# project_id`/services/`service_id`.
# Required. Resource name of the parent Service. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
# @param [String] filter
# A filter specifying what ServiceLevelObjectives to return.
# @param [Fixnum] page_size
@ -1863,8 +1874,9 @@ module Google
# Update the given ServiceLevelObjective.
# @param [String] name
# Resource name for this ServiceLevelObjective. Of the form projects/`project_id`
# /services/`service_id`/serviceLevelObjectives/`slo_name`.
# Resource name for this ServiceLevelObjective. The format is:
# projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[
# SLO_NAME]
# @param [Google::Apis::MonitoringV3::ServiceLevelObjective] service_level_objective_object
# @param [String] update_mask
# 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/
module PeopleV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200212'
# See, edit, download, and permanently delete your 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/
module ScriptV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200211'
# Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/'

View File

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

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/analytics
module YoutubeAnalyticsV2
VERSION = 'V2'
REVISION = '20200209'
REVISION = '20200212'
# Manage your YouTube account
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/
module YoutubereportingV1
VERSION = 'V1'
REVISION = '20200209'
REVISION = '20200212'
# 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'