Autogenerated update (2019-05-01)

Update:
- cloudkms_v1
- file_v1
- file_v1beta1
- oslogin_v1
- oslogin_v1alpha
- oslogin_v1beta
- youtube_partner_v1
This commit is contained in:
Google APIs 2019-05-01 00:37:41 +00:00
parent a8f44c4336
commit f982223923
15 changed files with 177 additions and 37 deletions

View File

@ -75375,6 +75375,10 @@
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/nodeId": node_id
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": google_cloud_saasaccelerator_management_providers_v1_notification_metadata
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/rescheduled": rescheduled
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/scheduledEndTime": scheduled_end_time
@ -75395,6 +75399,8 @@
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes": nodes
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes/node": node
"/file:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier
"/file:v1/Instance": instance
"/file:v1/Instance/createTime": create_time
@ -75543,6 +75549,10 @@
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/nodeId": node_id
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": google_cloud_saasaccelerator_management_providers_v1_notification_metadata
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/rescheduled": rescheduled
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata/scheduledEndTime": scheduled_end_time
@ -75563,6 +75573,8 @@
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes": nodes
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes/node": node
"/file:v1beta1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier
"/file:v1beta1/Instance": instance
"/file:v1beta1/Instance/createTime": create_time

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/kms/
module CloudkmsV1
VERSION = 'V1'
REVISION = '20190321'
REVISION = '20190426'
# 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/filestore/
module FileV1
VERSION = 'V1'
REVISION = '20190416'
REVISION = '20190430'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -98,7 +98,9 @@ module Google
# "foo": "bar"
# `,
# "state": READY,
# "software_version": "cloud-sql-09-28-2018",
# "software_versions": `
# "software_update": "cloud-sql-09-28-2018",
# `,
# "maintenance_policy_names": `
# "UpdatePolicy":
# "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
@ -111,7 +113,7 @@ module Google
# "rollout":
# "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-
# canary",
# `
# `,
# "projects/cloud-sql/locations/global/rolloutTypes/instance_restart": `
# "release":
# "projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair",
@ -154,8 +156,7 @@ module Google
# The key must be of the type name of the oneof policy name defined in
# MaintenancePolicy, and the referenced policy must define the same policy
# type. For complete details of MaintenancePolicy, please refer to
# //depot/google3/google/cloud/saasaccelerator/maintenancepolicy/api/v1/
# maintenance_policy_resources.proto
# go/cloud-saas-mw-ug.
# Corresponds to the JSON property `maintenancePolicyNames`
# @return [Hash<String,String>]
attr_accessor :maintenance_policy_names
@ -239,6 +240,39 @@ module Google
end
end
# Node information for custom per-node SLO implementations.
# SSA does not support per-node SLO, but producers can populate per-node
# information in SloMetadata for custom precomputations.
# SSA Eligibility Exporter will emit per-node metric based on this information.
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
include Google::Apis::Core::Hashable
# By default node is eligible if instance is eligible.
# But individual node might be excluded from SLO by adding entry here.
# For semantic see SloMetadata.exclusions.
# If both instance and node level exclusions are present for time period,
# the node level's reason will be reported by Eligibility Exporter.
# Corresponds to the JSON property `exclusions`
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions
# The id of the node.
# This should be equal to SaasInstanceNode.node_id.
# Corresponds to the JSON property `nodeId`
# @return [String]
attr_accessor :node_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@node_id = args[:node_id] if args.key?(:node_id)
end
end
# NotificationMetadata is the notification state for an instance.
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
include Google::Apis::Core::Hashable
@ -409,6 +443,15 @@ module Google
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions
# Optional: list of nodes.
# Some producers need to use per-node metadata to calculate SLO.
# This field allows such producers to publish per-node SLO meta data,
# which will be consumed by SSA Eligibility Exporter and published in the
# form of per node metric to Monarch.
# Corresponds to the JSON property `nodes`
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
attr_accessor :nodes
# Name of the SLO tier the Instance belongs to. This name will be expected to
# match the tiers specified in the service SLO configuration.
# Field is mandatory and must not be empty.
@ -423,6 +466,7 @@ module Google
# Update properties of this object
def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@nodes = args[:nodes] if args.key?(:nodes)
@tier = args[:tier] if args.key?(:tier)
end
end
@ -648,8 +692,8 @@ module Google
# Output only.
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block 7`:`block 8`
# .
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block
# 7`:`block 8`.
# Corresponds to the JSON property `ipAddresses`
# @return [Array<String>]
attr_accessor :ip_addresses
@ -668,12 +712,12 @@ module Google
attr_accessor :network
# A /29 CIDR block in one of the
# [internal IP address ranges](https://www.arin.net/knowledge/address_filters.
# html)
# that identifies the range of IP addresses reserved for this
# instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify
# can't overlap with either existing subnets or assigned IP address ranges
# for other Cloud Filestore instances in the selected VPC network.
# [internal IP address
# ranges](https://www.arin.net/knowledge/address_filters.html) that
# identifies the range of IP addresses reserved for this instance. For
# example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap
# with either existing subnets or assigned IP address ranges for other Cloud
# Filestore instances in the selected VPC network.
# Corresponds to the JSON property `reservedIpRange`
# @return [String]
attr_accessor :reserved_ip_range

View File

@ -46,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -171,6 +177,15 @@ module Google
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
property :node_id, as: 'nodeId'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -214,6 +229,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
collection :nodes, as: 'nodes', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
property :tier, as: 'tier'
end
end

View File

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

View File

@ -98,7 +98,9 @@ module Google
# "foo": "bar"
# `,
# "state": READY,
# "software_version": "cloud-sql-09-28-2018",
# "software_versions": `
# "software_update": "cloud-sql-09-28-2018",
# `,
# "maintenance_policy_names": `
# "UpdatePolicy":
# "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
@ -111,7 +113,7 @@ module Google
# "rollout":
# "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-
# canary",
# `
# `,
# "projects/cloud-sql/locations/global/rolloutTypes/instance_restart": `
# "release":
# "projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair",
@ -154,8 +156,7 @@ module Google
# The key must be of the type name of the oneof policy name defined in
# MaintenancePolicy, and the referenced policy must define the same policy
# type. For complete details of MaintenancePolicy, please refer to
# //depot/google3/google/cloud/saasaccelerator/maintenancepolicy/api/v1/
# maintenance_policy_resources.proto
# go/cloud-saas-mw-ug.
# Corresponds to the JSON property `maintenancePolicyNames`
# @return [Hash<String,String>]
attr_accessor :maintenance_policy_names
@ -239,6 +240,39 @@ module Google
end
end
# Node information for custom per-node SLO implementations.
# SSA does not support per-node SLO, but producers can populate per-node
# information in SloMetadata for custom precomputations.
# SSA Eligibility Exporter will emit per-node metric based on this information.
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
include Google::Apis::Core::Hashable
# By default node is eligible if instance is eligible.
# But individual node might be excluded from SLO by adding entry here.
# For semantic see SloMetadata.exclusions.
# If both instance and node level exclusions are present for time period,
# the node level's reason will be reported by Eligibility Exporter.
# Corresponds to the JSON property `exclusions`
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions
# The id of the node.
# This should be equal to SaasInstanceNode.node_id.
# Corresponds to the JSON property `nodeId`
# @return [String]
attr_accessor :node_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@node_id = args[:node_id] if args.key?(:node_id)
end
end
# NotificationMetadata is the notification state for an instance.
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
include Google::Apis::Core::Hashable
@ -409,6 +443,15 @@ module Google
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions
# Optional: list of nodes.
# Some producers need to use per-node metadata to calculate SLO.
# This field allows such producers to publish per-node SLO meta data,
# which will be consumed by SSA Eligibility Exporter and published in the
# form of per node metric to Monarch.
# Corresponds to the JSON property `nodes`
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
attr_accessor :nodes
# Name of the SLO tier the Instance belongs to. This name will be expected to
# match the tiers specified in the service SLO configuration.
# Field is mandatory and must not be empty.
@ -423,6 +466,7 @@ module Google
# Update properties of this object
def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions)
@nodes = args[:nodes] if args.key?(:nodes)
@tier = args[:tier] if args.key?(:tier)
end
end
@ -648,8 +692,8 @@ module Google
# Output only.
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block 7`:`block 8`
# .
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block
# 7`:`block 8`.
# Corresponds to the JSON property `ipAddresses`
# @return [Array<String>]
attr_accessor :ip_addresses
@ -668,12 +712,12 @@ module Google
attr_accessor :network
# A /29 CIDR block in one of the
# [internal IP address ranges](https://www.arin.net/knowledge/address_filters.
# html)
# that identifies the range of IP addresses reserved for this
# instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify
# can't overlap with either existing subnets or assigned IP address ranges
# for other Cloud Filestore instances in the selected VPC network.
# [internal IP address
# ranges](https://www.arin.net/knowledge/address_filters.html) that
# identifies the range of IP addresses reserved for this instance. For
# example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap
# with either existing subnets or assigned IP address ranges for other Cloud
# Filestore instances in the selected VPC network.
# Corresponds to the JSON property `reservedIpRange`
# @return [String]
attr_accessor :reserved_ip_range

View File

@ -46,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -171,6 +177,15 @@ module Google
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
property :node_id, as: 'nodeId'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -214,6 +229,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
collection :nodes, as: 'nodes', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
property :tier, as: 'tier'
end
end

View File

@ -20,12 +20,13 @@ module Google
module Apis
# Cloud OS Login API
#
# Manages OS login configuration for Google account users.
# You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
#
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1
VERSION = 'V1'
REVISION = '20190107'
REVISION = '20190429'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,8 @@ module Google
module OsloginV1
# Cloud OS Login API
#
# Manages OS login configuration for Google account users.
# You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
#
# @example
# require 'google/apis/oslogin_v1'

View File

@ -20,12 +20,13 @@ module Google
module Apis
# Cloud OS Login API
#
# Manages OS login configuration for Google account users.
# You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
#
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1alpha
VERSION = 'V1alpha'
REVISION = '20190107'
REVISION = '20190429'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,8 @@ module Google
module OsloginV1alpha
# Cloud OS Login API
#
# Manages OS login configuration for Google account users.
# You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
#
# @example
# require 'google/apis/oslogin_v1alpha'

View File

@ -20,12 +20,13 @@ module Google
module Apis
# Cloud OS Login API
#
# Manages OS login configuration for Google account users.
# You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
#
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1beta
VERSION = 'V1beta'
REVISION = '20190107'
REVISION = '20190429'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,8 @@ module Google
module OsloginV1beta
# Cloud OS Login API
#
# Manages OS login configuration for Google account users.
# You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
#
# @example
# require 'google/apis/oslogin_v1beta'

View File

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