Autogenerated update (2018-03-16)

Update:
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudtrace_v1
- compute_alpha
- compute_beta
- compute_v1
- container_v1beta1
- dataproc_v1
- dataproc_v1beta2
- deploymentmanager_alpha
- deploymentmanager_v2
- deploymentmanager_v2beta
- pagespeedonline_v4
- servicemanagement_v1
- serviceuser_v1
- toolresults_v1beta3
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-03-16 00:35:53 +00:00
parent 4f3bb22a92
commit 4b62672bfb
40 changed files with 3911 additions and 4374 deletions

View File

@ -16523,6 +16523,7 @@
"/compute:alpha/Commitment/startTimestamp": start_timestamp
"/compute:alpha/Commitment/status": status
"/compute:alpha/Commitment/statusMessage": status_message
"/compute:alpha/Commitment/type": type
"/compute:alpha/CommitmentAggregatedList": commitment_aggregated_list
"/compute:alpha/CommitmentAggregatedList/id": id
"/compute:alpha/CommitmentAggregatedList/items": items
@ -21039,6 +21040,7 @@
"/compute:alpha/compute.securityPolicies.insert": insert_security_policy
"/compute:alpha/compute.securityPolicies.insert/project": project
"/compute:alpha/compute.securityPolicies.insert/requestId": request_id
"/compute:alpha/compute.securityPolicies.insert/validateOnly": validate_only
"/compute:alpha/compute.securityPolicies.list": list_security_policies
"/compute:alpha/compute.securityPolicies.list/filter": filter
"/compute:alpha/compute.securityPolicies.list/maxResults": max_results
@ -22131,6 +22133,7 @@
"/compute:beta/Firewall/destinationRanges": destination_ranges
"/compute:beta/Firewall/destinationRanges/destination_range": destination_range
"/compute:beta/Firewall/direction": direction
"/compute:beta/Firewall/disabled": disabled
"/compute:beta/Firewall/id": id
"/compute:beta/Firewall/kind": kind
"/compute:beta/Firewall/name": name
@ -22776,14 +22779,17 @@
"/compute:beta/Interconnect/provisionedLinkCount": provisioned_link_count
"/compute:beta/Interconnect/requestedLinkCount": requested_link_count
"/compute:beta/Interconnect/selfLink": self_link
"/compute:beta/Interconnect/state": state
"/compute:beta/InterconnectAttachment": interconnect_attachment
"/compute:beta/InterconnectAttachment/adminEnabled": admin_enabled
"/compute:beta/InterconnectAttachment/bandwidth": bandwidth
"/compute:beta/InterconnectAttachment/candidateSubnets": candidate_subnets
"/compute:beta/InterconnectAttachment/candidateSubnets/candidate_subnet": candidate_subnet
"/compute:beta/InterconnectAttachment/cloudRouterIpAddress": cloud_router_ip_address
"/compute:beta/InterconnectAttachment/creationTimestamp": creation_timestamp
"/compute:beta/InterconnectAttachment/customerRouterIpAddress": customer_router_ip_address
"/compute:beta/InterconnectAttachment/description": description
"/compute:beta/InterconnectAttachment/edgeAvailabilityDomain": edge_availability_domain
"/compute:beta/InterconnectAttachment/googleReferenceId": google_reference_id
"/compute:beta/InterconnectAttachment/id": id
"/compute:beta/InterconnectAttachment/interconnect": interconnect
@ -22793,10 +22799,14 @@
"/compute:beta/InterconnectAttachment/labels/label": label
"/compute:beta/InterconnectAttachment/name": name
"/compute:beta/InterconnectAttachment/operationalStatus": operational_status
"/compute:beta/InterconnectAttachment/pairingKey": pairing_key
"/compute:beta/InterconnectAttachment/partnerAsn": partner_asn
"/compute:beta/InterconnectAttachment/partnerMetadata": partner_metadata
"/compute:beta/InterconnectAttachment/privateInterconnectInfo": private_interconnect_info
"/compute:beta/InterconnectAttachment/region": region
"/compute:beta/InterconnectAttachment/router": router
"/compute:beta/InterconnectAttachment/selfLink": self_link
"/compute:beta/InterconnectAttachment/state": state
"/compute:beta/InterconnectAttachment/type": type
"/compute:beta/InterconnectAttachment/vlanTag8021q": vlan_tag8021q
"/compute:beta/InterconnectAttachmentAggregatedList": interconnect_attachment_aggregated_list
@ -22827,6 +22837,10 @@
"/compute:beta/InterconnectAttachmentList/warning/data/datum/key": key
"/compute:beta/InterconnectAttachmentList/warning/data/datum/value": value
"/compute:beta/InterconnectAttachmentList/warning/message": message
"/compute:beta/InterconnectAttachmentPartnerMetadata": interconnect_attachment_partner_metadata
"/compute:beta/InterconnectAttachmentPartnerMetadata/interconnectName": interconnect_name
"/compute:beta/InterconnectAttachmentPartnerMetadata/partnerName": partner_name
"/compute:beta/InterconnectAttachmentPartnerMetadata/portalUrl": portal_url
"/compute:beta/InterconnectAttachmentPrivateInfo": interconnect_attachment_private_info
"/compute:beta/InterconnectAttachmentPrivateInfo/tag8021q": tag8021q
"/compute:beta/InterconnectAttachmentsScopedList": interconnect_attachments_scoped_list
@ -23690,6 +23704,7 @@
"/compute:beta/Subnetwork/allowSubnetCidrRoutesOverlap": allow_subnet_cidr_routes_overlap
"/compute:beta/Subnetwork/creationTimestamp": creation_timestamp
"/compute:beta/Subnetwork/description": description
"/compute:beta/Subnetwork/enableFlowLogs": enable_flow_logs
"/compute:beta/Subnetwork/fingerprint": fingerprint
"/compute:beta/Subnetwork/gatewayAddress": gateway_address
"/compute:beta/Subnetwork/id": id
@ -25003,6 +25018,10 @@
"/compute:beta/compute.instances.setTags/project": project
"/compute:beta/compute.instances.setTags/requestId": request_id
"/compute:beta/compute.instances.setTags/zone": zone
"/compute:beta/compute.instances.simulateMaintenanceEvent": simulate_instance_maintenance_event
"/compute:beta/compute.instances.simulateMaintenanceEvent/instance": instance
"/compute:beta/compute.instances.simulateMaintenanceEvent/project": project
"/compute:beta/compute.instances.simulateMaintenanceEvent/zone": zone
"/compute:beta/compute.instances.start": start_instance
"/compute:beta/compute.instances.start/instance": instance
"/compute:beta/compute.instances.start/project": project
@ -30384,6 +30403,7 @@
"/container:v1beta1/Cluster/maintenancePolicy": maintenance_policy
"/container:v1beta1/Cluster/masterAuth": master_auth
"/container:v1beta1/Cluster/masterAuthorizedNetworksConfig": master_authorized_networks_config
"/container:v1beta1/Cluster/masterIpv4CidrBlock": master_ipv4_cidr_block
"/container:v1beta1/Cluster/monitoringService": monitoring_service
"/container:v1beta1/Cluster/name": name
"/container:v1beta1/Cluster/network": network
@ -30393,6 +30413,7 @@
"/container:v1beta1/Cluster/nodePools": node_pools
"/container:v1beta1/Cluster/nodePools/node_pool": node_pool
"/container:v1beta1/Cluster/podSecurityPolicyConfig": pod_security_policy_config
"/container:v1beta1/Cluster/privateCluster": private_cluster
"/container:v1beta1/Cluster/resourceLabels": resource_labels
"/container:v1beta1/Cluster/resourceLabels/resource_label": resource_label
"/container:v1beta1/Cluster/selfLink": self_link
@ -36033,6 +36054,7 @@
"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy/project": project
"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy/resource": resource
"/deploymentmanager:v2/deploymentmanager.deployments.insert": insert_deployment
"/deploymentmanager:v2/deploymentmanager.deployments.insert/createPolicy": create_policy
"/deploymentmanager:v2/deploymentmanager.deployments.insert/preview": preview
"/deploymentmanager:v2/deploymentmanager.deployments.insert/project": project
"/deploymentmanager:v2/deploymentmanager.deployments.list": list_deployments

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20180312'
REVISION = '20180315'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -854,9 +854,7 @@ module Google
# Marks the Project identified by the specified
# `project_id` (for example, `my-project-123`) for deletion.
# This method will only affect the Project if the following criteria are met:
# + The Project does not have a billing account associated with it.
# + The Project has a lifecycle state of
# This method will only affect the Project if it has a lifecycle state of
# ACTIVE.
# This method changes the Project's lifecycle state from
# ACTIVE

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1beta1
VERSION = 'V1beta1'
REVISION = '20180312'
REVISION = '20180315'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -317,9 +317,7 @@ module Google
# Marks the Project identified by the specified
# `project_id` (for example, `my-project-123`) for deletion.
# This method will only affect the Project if the following criteria are met:
# + The Project does not have a billing account associated with it.
# + The Project has a lifecycle state of
# This method will only affect the Project if it has a lifecycle state of
# ACTIVE.
# This method changes the Project's lifecycle state from
# ACTIVE

View File

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

View File

@ -142,9 +142,11 @@ module Google
# * `/http/client_region`
# * `/http/host`
# * `/http/method`
# * `/http/path`
# * `/http/redirected_url`
# * `/http/request/size`
# * `/http/response/size`
# * `/http/route`
# * `/http/status_code`
# * `/http/url`
# * `/http/user_agent`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20180220'
REVISION = '20180314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3448,6 +3448,13 @@ module Google
# @return [String]
attr_accessor :status_message
# The type of commitment, which affects the discount rate and the eligible
# resources. Type LARGE_VM specifies a commitment that will only apply to large
# VMs. Type NORMAL specifies a commitment that applies to all other resources.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
@ -3467,6 +3474,7 @@ module Google
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
@status = args[:status] if args.key?(:status)
@status_message = args[:status_message] if args.key?(:status_message)
@type = args[:type] if args.key?(:type)
end
end
@ -11996,12 +12004,14 @@ module Google
attr_accessor :admin_enabled
alias_method :admin_enabled?, :admin_enabled
#
# [Deprecated] Replaced by edge_availability_domain.
# Corresponds to the JSON property `availabilityZone`
# @return [String]
attr_accessor :availability_zone
#
# Provisioned bandwidth capacity for the interconnectAttachment. Can be set by
# the partner to update the customer's provisioned bandwidth. Output only for
# for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
# Corresponds to the JSON property `bandwidth`
# @return [String]
attr_accessor :bandwidth
@ -12039,13 +12049,12 @@ module Google
# @return [String]
attr_accessor :description
# Desired availability domain for the attachment. Can only be specified when
# creating PARTNER-type InterconnectAttachments.
# For improved reliability, customers should configure a pair of attachments
# with one per availability domain. The selected availability domain will be
# provided to the Partner via the pairing key so that the provisioned circuit
# will lie in the specified domain. If not specified, the value will default to
# AVAILABILITY_DOMAIN_ANY.
# Desired availability domain for the attachment. Only available for type
# PARTNER, at creation time. For improved reliability, customers should
# configure a pair of attachments with one per availability domain. The selected
# availability domain will be provided to the Partner via the pairing key so
# that the provisioned circuit will lie in the specified domain. If not
# specified, the value will default to AVAILABILITY_DOMAIN_ANY.
# Corresponds to the JSON property `edgeAvailabilityDomain`
# @return [String]
attr_accessor :edge_availability_domain
@ -12110,23 +12119,23 @@ module Google
attr_accessor :operational_status
# [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
# for DEDICATED]. Opaque string identifying an PARTNER attachment. Of the form ?
# cloud-region/XXXXXX?.
# for DEDICATED]. The opaque identifier of an PARTNER attachment used to
# initiate provisioning with a selected partner. Of the form "XXXXX/region/
# domain"
# Corresponds to the JSON property `pairingKey`
# @return [String]
attr_accessor :pairing_key
# [Output only for PARTNER. Input for PARTNER_PROVIDER. Not present for
# DEDICATED] BGP ASN of the Partner. A layer 3 Partner should supply this if
# they configured BGP on behalf of the customer.
# Optional BGP ASN for the router that should be supplied by a layer 3 Partner
# if they configured BGP on behalf of the customer. Output only for PARTNER type,
# input only for PARTNER_PROVIDER, not available for DEDICATED.
# Corresponds to the JSON property `partnerAsn`
# @return [Fixnum]
attr_accessor :partner_asn
# Informational metadata about Partner attachments from Partners to display to
# customers. These fields are propagated from PARTNER_PROVIDER attachments to
# their corresponding PARTNER attachments. Only mutable for PARTNER_PROVIDER
# type, output-only for PARTNER, not available for DEDICATED.
# their corresponding PARTNER attachments.
# Corresponds to the JSON property `partnerMetadata`
# @return [Google::Apis::ComputeAlpha::InterconnectAttachmentPartnerMetadata]
attr_accessor :partner_metadata
@ -12157,8 +12166,7 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The current state of whether or not this interconnect attachment
# is functional.
# [Output Only] The current state of this attachment's functionality.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
@ -12450,8 +12458,7 @@ module Google
# Informational metadata about Partner attachments from Partners to display to
# customers. These fields are propagated from PARTNER_PROVIDER attachments to
# their corresponding PARTNER attachments. Only mutable for PARTNER_PROVIDER
# type, output-only for PARTNER, not available for DEDICATED.
# their corresponding PARTNER attachments.
class InterconnectAttachmentPartnerMetadata
include Google::Apis::Core::Hashable

View File

@ -4418,6 +4418,7 @@ module Google
property :start_timestamp, as: 'startTimestamp'
property :status, as: 'status'
property :status_message, as: 'statusMessage'
property :type, as: 'type'
end
end

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20180220'
REVISION = '20180314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -4874,6 +4874,15 @@ module Google
# @return [String]
attr_accessor :direction
# Denotes whether the firewall rule is disabled, i.e not applied to the network
# it is associated with. When set to true, the firewall rule is not enforced and
# the network behaves as if it did not exist. If this is unspecified, the
# firewall rule will be enabled.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled
alias_method :disabled?, :disabled
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
@ -4991,6 +5000,7 @@ module Google
@description = args[:description] if args.key?(:description)
@destination_ranges = args[:destination_ranges] if args.key?(:destination_ranges)
@direction = args[:direction] if args.key?(:direction)
@disabled = args[:disabled] if args.key?(:disabled)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@ -10059,6 +10069,12 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The current state of whether or not this Interconnect is
# functional.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
@ -10088,6 +10104,7 @@ module Google
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
@self_link = args[:self_link] if args.key?(:self_link)
@state = args[:state] if args.key?(:state)
end
end
@ -10104,6 +10121,13 @@ module Google
attr_accessor :admin_enabled
alias_method :admin_enabled?, :admin_enabled
# Provisioned bandwidth capacity for the interconnectAttachment. Can be set by
# the partner to update the customer's provisioned bandwidth. Output only for
# for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
# Corresponds to the JSON property `bandwidth`
# @return [String]
attr_accessor :bandwidth
# Up to 16 candidate prefixes that can be used to restrict the allocation of
# cloudRouterIpAddress and customerRouterIpAddress for this attachment. All
# prefixes must be within link-local address space (169.254.0.0/16) and must be /
@ -10137,6 +10161,16 @@ module Google
# @return [String]
attr_accessor :description
# Desired availability domain for the attachment. Only available for type
# PARTNER, at creation time. For improved reliability, customers should
# configure a pair of attachments with one per availability domain. The selected
# availability domain will be provided to the Partner via the pairing key so
# that the provisioned circuit will lie in the specified domain. If not
# specified, the value will default to AVAILABILITY_DOMAIN_ANY.
# Corresponds to the JSON property `edgeAvailabilityDomain`
# @return [String]
attr_accessor :edge_availability_domain
# [Output Only] Google reference ID, to be used when raising support tickets
# with Google or otherwise to debug backend connectivity issues.
# Corresponds to the JSON property `googleReferenceId`
@ -10196,6 +10230,28 @@ module Google
# @return [String]
attr_accessor :operational_status
# [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
# for DEDICATED]. The opaque identifier of an PARTNER attachment used to
# initiate provisioning with a selected partner. Of the form "XXXXX/region/
# domain"
# Corresponds to the JSON property `pairingKey`
# @return [String]
attr_accessor :pairing_key
# Optional BGP ASN for the router that should be supplied by a layer 3 Partner
# if they configured BGP on behalf of the customer. Output only for PARTNER type,
# input only for PARTNER_PROVIDER, not available for DEDICATED.
# Corresponds to the JSON property `partnerAsn`
# @return [Fixnum]
attr_accessor :partner_asn
# Informational metadata about Partner attachments from Partners to display to
# customers. These fields are propagated from PARTNER_PROVIDER attachments to
# their corresponding PARTNER attachments.
# Corresponds to the JSON property `partnerMetadata`
# @return [Google::Apis::ComputeBeta::InterconnectAttachmentPartnerMetadata]
attr_accessor :partner_metadata
# Information for an interconnect attachment when this belongs to an
# interconnect of type DEDICATED.
# Corresponds to the JSON property `privateInterconnectInfo`
@ -10222,6 +10278,11 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output Only] The current state of this attachment's functionality.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
#
# Corresponds to the JSON property `type`
# @return [String]
@ -10241,11 +10302,13 @@ module Google
# Update properties of this object
def update!(**args)
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
@candidate_subnets = args[:candidate_subnets] if args.key?(:candidate_subnets)
@cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
@description = args[:description] if args.key?(:description)
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
@id = args[:id] if args.key?(:id)
@interconnect = args[:interconnect] if args.key?(:interconnect)
@ -10254,10 +10317,14 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@operational_status = args[:operational_status] if args.key?(:operational_status)
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
@partner_asn = args[:partner_asn] if args.key?(:partner_asn)
@partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
@private_interconnect_info = args[:private_interconnect_info] if args.key?(:private_interconnect_info)
@region = args[:region] if args.key?(:region)
@router = args[:router] if args.key?(:router)
@self_link = args[:self_link] if args.key?(:self_link)
@state = args[:state] if args.key?(:state)
@type = args[:type] if args.key?(:type)
@vlan_tag8021q = args[:vlan_tag8021q] if args.key?(:vlan_tag8021q)
end
@ -10500,6 +10567,44 @@ module Google
end
end
# Informational metadata about Partner attachments from Partners to display to
# customers. These fields are propagated from PARTNER_PROVIDER attachments to
# their corresponding PARTNER attachments.
class InterconnectAttachmentPartnerMetadata
include Google::Apis::Core::Hashable
# Plain text name of the Interconnect this attachment is connected to, as
# displayed in the Partner?s portal. For instance ?Chicago 1?. This value may be
# validated to match approved Partner values.
# Corresponds to the JSON property `interconnectName`
# @return [String]
attr_accessor :interconnect_name
# Plain text name of the Partner providing this attachment. This value may be
# validated to match approved Partner values.
# Corresponds to the JSON property `partnerName`
# @return [String]
attr_accessor :partner_name
# URL of the Partner?s portal for this Attachment. Partners may customise this
# to be a deep-link to the specific resource on the Partner portal. This value
# may be validated to match approved Partner values.
# Corresponds to the JSON property `portalUrl`
# @return [String]
attr_accessor :portal_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@interconnect_name = args[:interconnect_name] if args.key?(:interconnect_name)
@partner_name = args[:partner_name] if args.key?(:partner_name)
@portal_url = args[:portal_url] if args.key?(:portal_url)
end
end
# Information for an interconnect attachment when this belongs to an
# interconnect of type DEDICATED.
class InterconnectAttachmentPrivateInfo
@ -17343,6 +17448,12 @@ module Google
# @return [String]
attr_accessor :description
# Whether to enable flow logging for this subnetwork.
# Corresponds to the JSON property `enableFlowLogs`
# @return [Boolean]
attr_accessor :enable_flow_logs
alias_method :enable_flow_logs?, :enable_flow_logs
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
@ -17432,6 +17543,7 @@ module Google
@allow_subnet_cidr_routes_overlap = args[:allow_subnet_cidr_routes_overlap] if args.key?(:allow_subnet_cidr_routes_overlap)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
@id = args[:id] if args.key?(:id)

View File

@ -1354,6 +1354,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectAttachmentPartnerMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InterconnectAttachmentPrivateInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -4190,6 +4196,7 @@ module Google
property :description, as: 'description'
collection :destination_ranges, as: 'destinationRanges'
property :direction, as: 'direction'
property :disabled, as: 'disabled'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
@ -5444,6 +5451,7 @@ module Google
property :provisioned_link_count, as: 'provisionedLinkCount'
property :requested_link_count, as: 'requestedLinkCount'
property :self_link, as: 'selfLink'
property :state, as: 'state'
end
end
@ -5451,11 +5459,13 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :admin_enabled, as: 'adminEnabled'
property :bandwidth, as: 'bandwidth'
collection :candidate_subnets, as: 'candidateSubnets'
property :cloud_router_ip_address, as: 'cloudRouterIpAddress'
property :creation_timestamp, as: 'creationTimestamp'
property :customer_router_ip_address, as: 'customerRouterIpAddress'
property :description, as: 'description'
property :edge_availability_domain, as: 'edgeAvailabilityDomain'
property :google_reference_id, as: 'googleReferenceId'
property :id, :numeric_string => true, as: 'id'
property :interconnect, as: 'interconnect'
@ -5464,11 +5474,16 @@ module Google
hash :labels, as: 'labels'
property :name, as: 'name'
property :operational_status, as: 'operationalStatus'
property :pairing_key, as: 'pairingKey'
property :partner_asn, :numeric_string => true, as: 'partnerAsn'
property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::ComputeBeta::InterconnectAttachmentPartnerMetadata, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentPartnerMetadata::Representation
property :private_interconnect_info, as: 'privateInterconnectInfo', class: Google::Apis::ComputeBeta::InterconnectAttachmentPrivateInfo, decorator: Google::Apis::ComputeBeta::InterconnectAttachmentPrivateInfo::Representation
property :region, as: 'region'
property :router, as: 'router'
property :self_link, as: 'selfLink'
property :state, as: 'state'
property :type, as: 'type'
property :vlan_tag8021q, as: 'vlanTag8021q'
end
@ -5538,6 +5553,15 @@ module Google
end
end
class InterconnectAttachmentPartnerMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :interconnect_name, as: 'interconnectName'
property :partner_name, as: 'partnerName'
property :portal_url, as: 'portalUrl'
end
end
class InterconnectAttachmentPrivateInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7300,6 +7324,7 @@ module Google
property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :enable_flow_logs, as: 'enableFlowLogs'
property :fingerprint, :base64 => true, as: 'fingerprint'
property :gateway_address, as: 'gatewayAddress'
property :id, :numeric_string => true, as: 'id'

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20180220'
REVISION = '20180314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20180223'
REVISION = '20180312'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -365,6 +365,13 @@ module Google
# @return [Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig]
attr_accessor :master_authorized_networks_config
# The IP prefix in CIDR notation to use for the hosted master network.
# This prefix will be used for assigning private IP addresses to the
# master or set of masters, as well as the ILB VIP.
# Corresponds to the JSON property `masterIpv4CidrBlock`
# @return [String]
attr_accessor :master_ipv4_cidr_block
# The monitoring service the cluster should use to write metrics.
# Currently available options:
# * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
@ -421,6 +428,14 @@ module Google
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
attr_accessor :pod_security_policy_config
# If this is a private cluster setup. Private clusters are clusters that, by
# default have no external IP addresses on the nodes and where nodes and the
# master communicate over private IP addresses.
# Corresponds to the JSON property `privateCluster`
# @return [Boolean]
attr_accessor :private_cluster
alias_method :private_cluster?, :private_cluster
# The resource labels for the cluster to use to annotate any related GCE
# resources.
# Corresponds to the JSON property `resourceLabels`
@ -495,6 +510,7 @@ module Google
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
@master_auth = args[:master_auth] if args.key?(:master_auth)
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@ -503,6 +519,7 @@ module Google
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
@node_pools = args[:node_pools] if args.key?(:node_pools)
@pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
@private_cluster = args[:private_cluster] if args.key?(:private_cluster)
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@self_link = args[:self_link] if args.key?(:self_link)
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)

View File

@ -426,6 +426,7 @@ module Google
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
property :monitoring_service, as: 'monitoringService'
property :name, as: 'name'
property :network, as: 'network'
@ -438,6 +439,7 @@ module Google
property :pod_security_policy_config, as: 'podSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
property :private_cluster, as: 'privateCluster'
hash :resource_labels, as: 'resourceLabels'
property :self_link, as: 'selfLink'
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'

View File

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

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20180306'
REVISION = '20180312'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1322,8 +1322,10 @@ module Google
class ManagedCluster
include Google::Apis::Core::Hashable
# Required. The cluster name. Cluster names within a project must be unique.
# Names from deleted clusters can be reused.
# Required. The cluster name prefix. A unique cluster name will be formed by
# appending a random suffix.The name must contain only lower-case letters (a-z),
# numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end
# with hyphen. Must consist of between 2 and 35 characters.
# Corresponds to the JSON property `clusterName`
# @return [String]
attr_accessor :cluster_name
@ -1337,7 +1339,7 @@ module Google
# 1 and 63 characters long, and must conform to the following PCRE regular
# expression: \p`Ll`\p`Lo``0,62`Label values must be between 1 and 63 characters
# long, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo`\
# p`N`_-`0,63`No more than 64 labels can be associated with a given cluster.
# p`N`_-`0,63`No more than 32 labels can be associated with a given cluster.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
@ -1521,7 +1523,7 @@ module Google
# and 63 characters long, and must conform to the following regular expression: \
# p`Ll`\p`Lo``0,62`Label values must be between 1 and 63 characters long, and
# must conform to the following regular expression: \p`Ll`\p`Lo`\p`N`_-`0,63`No
# more than 64 labels can be associated with a given job.
# more than 32 labels can be associated with a given job.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
@ -1562,8 +1564,11 @@ module Google
attr_accessor :spark_sql_job
# Required. The step id. The id must be unique among all jobs within the
# template.The step id is used as prefix for job id, as job workflow-step-id
# label, and in prerequisite_step_ids field from other steps.
# template.The step id is used as prefix for job id, as job goog-dataproc-
# workflow-step-id label, and in prerequisiteStepIds field from other steps.The
# id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and
# hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of
# between 3 and 50 characters.
# Corresponds to the JSON property `stepId`
# @return [String]
attr_accessor :step_id
@ -2286,7 +2291,9 @@ module Google
# @return [String]
attr_accessor :create_time
# Required. The template id.
# Required. The template id.The id must contain only letters (a-z, A-Z), numbers
# (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore
# or hyphen. Must consist of between 3 and 50 characters.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id

View File

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

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerAlpha
VERSION = 'Alpha'
REVISION = '20180222'
REVISION = '20180309'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -488,7 +488,7 @@ module Google
# The project ID for this request.
# @param [Google::Apis::DeploymentmanagerAlpha::Deployment] deployment_object
# @param [String] create_policy
#
# Sets the policy to use for creating new resources.
# @param [Boolean] preview
# If set to true, creates a deployment and creates "shell" resources but does
# not actually instantiate these resources. This allows you to preview what your

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerV2
VERSION = 'V2'
REVISION = '20180222'
REVISION = '20180309'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -217,6 +217,8 @@ module Google
# @param [String] project
# The project ID for this request.
# @param [Google::Apis::DeploymentmanagerV2::Deployment] deployment_object
# @param [String] create_policy
# Sets the policy to use for creating new resources.
# @param [Boolean] preview
# If set to true, creates a deployment and creates "shell" resources but does
# not actually instantiate these resources. This allows you to preview what your
@ -246,13 +248,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_deployment(project, deployment_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/deployments', options)
command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
command.request_object = deployment_object
command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
command.response_class = Google::Apis::DeploymentmanagerV2::Operation
command.params['project'] = project unless project.nil?
command.query['createPolicy'] = create_policy unless create_policy.nil?
command.query['preview'] = preview unless preview.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/deployment-manager/
module DeploymentmanagerV2beta
VERSION = 'V2beta'
REVISION = '20180222'
REVISION = '20180309'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -488,7 +488,7 @@ module Google
# The project ID for this request.
# @param [Google::Apis::DeploymentmanagerV2beta::Deployment] deployment_object
# @param [String] create_policy
#
# Sets the policy to use for creating new resources.
# @param [Boolean] preview
# If set to true, creates a deployment and creates "shell" resources but does
# not actually instantiate these resources. This allows you to preview what your

View File

@ -23,9 +23,10 @@ module Google
# Analyzes the performance of a web page and provides tailored suggestions to
# make that page faster.
#
# @see https://developers.google.com/speed/docs/insights/v4/getting-started
module PagespeedonlineV4
VERSION = 'V4'
REVISION = '20180308'
REVISION = '20180315'
end
end
end

View File

@ -31,6 +31,7 @@ module Google
# Pagespeedonline = Google::Apis::PagespeedonlineV4 # Alias the module
# service = Pagespeedonline::PagespeedonlineService.new
#
# @see https://developers.google.com/speed/docs/insights/v4/getting-started
class PagespeedonlineService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,

View File

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

View File

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

View File

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

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20180305'
REVISION = '20180314'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -580,8 +580,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
@ -634,8 +636,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
@ -1429,8 +1433,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
@ -1849,8 +1855,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
@ -1903,8 +1911,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
@ -2533,8 +2543,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard
@ -2706,8 +2718,10 @@ module Google
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
# zero-padded to two digits each. The fractional seconds, which can go up to 9
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
# indicates the timezone ("UTC"); the timezone is required, though only UTC (as
# indicated by "Z") is currently supported.
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
# serializer should always use UTC (as indicated by "Z") when printing the
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
# other timezones (as indicated by an offset).
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
# January 15, 2017.
# In JavaScript, one can convert a Date object to this format using the standard

View File

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