Autogenerated update (2018-02-02)

Update:
- adexchangebuyer2_v2beta1
- compute_alpha
- compute_beta
- compute_v1
- ml_v1
- monitoring_v3
- serviceconsumermanagement_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-02-02 00:35:32 +00:00
parent 6fc4520e45
commit 64cc6eadab
24 changed files with 802 additions and 104 deletions

View File

@ -317,6 +317,7 @@
"/adexchangebuyer2:v2beta1/TimeInterval/startTime": start_time "/adexchangebuyer2:v2beta1/TimeInterval/startTime": start_time
"/adexchangebuyer2:v2beta1/VideoContent": video_content "/adexchangebuyer2:v2beta1/VideoContent": video_content
"/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url "/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url
"/adexchangebuyer2:v2beta1/VideoContent/videoVastXml": video_vast_xml
"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request "/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request
"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic "/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic
"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client
@ -18429,6 +18430,7 @@
"/compute:alpha/Subnetwork/allowSubnetCidrRoutesOverlap": allow_subnet_cidr_routes_overlap "/compute:alpha/Subnetwork/allowSubnetCidrRoutesOverlap": allow_subnet_cidr_routes_overlap
"/compute:alpha/Subnetwork/creationTimestamp": creation_timestamp "/compute:alpha/Subnetwork/creationTimestamp": creation_timestamp
"/compute:alpha/Subnetwork/description": description "/compute:alpha/Subnetwork/description": description
"/compute:alpha/Subnetwork/enableFlowLogs": enable_flow_logs
"/compute:alpha/Subnetwork/fingerprint": fingerprint "/compute:alpha/Subnetwork/fingerprint": fingerprint
"/compute:alpha/Subnetwork/gatewayAddress": gateway_address "/compute:alpha/Subnetwork/gatewayAddress": gateway_address
"/compute:alpha/Subnetwork/id": id "/compute:alpha/Subnetwork/id": id
@ -20212,6 +20214,18 @@
"/compute:alpha/compute.networks.testIamPermissions": test_network_iam_permissions "/compute:alpha/compute.networks.testIamPermissions": test_network_iam_permissions
"/compute:alpha/compute.networks.testIamPermissions/project": project "/compute:alpha/compute.networks.testIamPermissions/project": project
"/compute:alpha/compute.networks.testIamPermissions/resource": resource "/compute:alpha/compute.networks.testIamPermissions/resource": resource
"/compute:alpha/compute.nodeTemplates.getIamPolicy": get_node_template_iam_policy
"/compute:alpha/compute.nodeTemplates.getIamPolicy/project": project
"/compute:alpha/compute.nodeTemplates.getIamPolicy/region": region
"/compute:alpha/compute.nodeTemplates.getIamPolicy/resource": resource
"/compute:alpha/compute.nodeTemplates.setIamPolicy": set_node_template_iam_policy
"/compute:alpha/compute.nodeTemplates.setIamPolicy/project": project
"/compute:alpha/compute.nodeTemplates.setIamPolicy/region": region
"/compute:alpha/compute.nodeTemplates.setIamPolicy/resource": resource
"/compute:alpha/compute.nodeTemplates.testIamPermissions": test_node_template_iam_permissions
"/compute:alpha/compute.nodeTemplates.testIamPermissions/project": project
"/compute:alpha/compute.nodeTemplates.testIamPermissions/region": region
"/compute:alpha/compute.nodeTemplates.testIamPermissions/resource": resource
"/compute:alpha/compute.projects.disableXpnHost": disable_project_xpn_host "/compute:alpha/compute.projects.disableXpnHost": disable_project_xpn_host
"/compute:alpha/compute.projects.disableXpnHost/project": project "/compute:alpha/compute.projects.disableXpnHost/project": project
"/compute:alpha/compute.projects.disableXpnHost/requestId": request_id "/compute:alpha/compute.projects.disableXpnHost/requestId": request_id
@ -20627,6 +20641,7 @@
"/compute:alpha/compute.securityPolicies.addRule": add_security_policy_rule "/compute:alpha/compute.securityPolicies.addRule": add_security_policy_rule
"/compute:alpha/compute.securityPolicies.addRule/project": project "/compute:alpha/compute.securityPolicies.addRule/project": project
"/compute:alpha/compute.securityPolicies.addRule/securityPolicy": security_policy "/compute:alpha/compute.securityPolicies.addRule/securityPolicy": security_policy
"/compute:alpha/compute.securityPolicies.addRule/validateOnly": validate_only
"/compute:alpha/compute.securityPolicies.delete": delete_security_policy "/compute:alpha/compute.securityPolicies.delete": delete_security_policy
"/compute:alpha/compute.securityPolicies.delete/project": project "/compute:alpha/compute.securityPolicies.delete/project": project
"/compute:alpha/compute.securityPolicies.delete/requestId": request_id "/compute:alpha/compute.securityPolicies.delete/requestId": request_id
@ -20655,6 +20670,7 @@
"/compute:alpha/compute.securityPolicies.patchRule/priority": priority "/compute:alpha/compute.securityPolicies.patchRule/priority": priority
"/compute:alpha/compute.securityPolicies.patchRule/project": project "/compute:alpha/compute.securityPolicies.patchRule/project": project
"/compute:alpha/compute.securityPolicies.patchRule/securityPolicy": security_policy "/compute:alpha/compute.securityPolicies.patchRule/securityPolicy": security_policy
"/compute:alpha/compute.securityPolicies.patchRule/validateOnly": validate_only
"/compute:alpha/compute.securityPolicies.removeRule": remove_security_policy_rule "/compute:alpha/compute.securityPolicies.removeRule": remove_security_policy_rule
"/compute:alpha/compute.securityPolicies.removeRule/priority": priority "/compute:alpha/compute.securityPolicies.removeRule/priority": priority
"/compute:alpha/compute.securityPolicies.removeRule/project": project "/compute:alpha/compute.securityPolicies.removeRule/project": project
@ -25609,6 +25625,8 @@
"/compute:v1/AccessConfig/kind": kind "/compute:v1/AccessConfig/kind": kind
"/compute:v1/AccessConfig/name": name "/compute:v1/AccessConfig/name": name
"/compute:v1/AccessConfig/natIP": nat_ip "/compute:v1/AccessConfig/natIP": nat_ip
"/compute:v1/AccessConfig/publicPtrDomainName": public_ptr_domain_name
"/compute:v1/AccessConfig/setPublicPtr": set_public_ptr
"/compute:v1/AccessConfig/type": type "/compute:v1/AccessConfig/type": type
"/compute:v1/Address": address "/compute:v1/Address": address
"/compute:v1/Address/address": address "/compute:v1/Address/address": address
@ -26548,6 +26566,20 @@
"/compute:v1/InstanceList/warning/data/datum/key": key "/compute:v1/InstanceList/warning/data/datum/key": key
"/compute:v1/InstanceList/warning/data/datum/value": value "/compute:v1/InstanceList/warning/data/datum/value": value
"/compute:v1/InstanceList/warning/message": message "/compute:v1/InstanceList/warning/message": message
"/compute:v1/InstanceListReferrers": instance_list_referrers
"/compute:v1/InstanceListReferrers/id": id
"/compute:v1/InstanceListReferrers/items": items
"/compute:v1/InstanceListReferrers/items/item": item
"/compute:v1/InstanceListReferrers/kind": kind
"/compute:v1/InstanceListReferrers/nextPageToken": next_page_token
"/compute:v1/InstanceListReferrers/selfLink": self_link
"/compute:v1/InstanceListReferrers/warning": warning
"/compute:v1/InstanceListReferrers/warning/code": code
"/compute:v1/InstanceListReferrers/warning/data": data
"/compute:v1/InstanceListReferrers/warning/data/datum": datum
"/compute:v1/InstanceListReferrers/warning/data/datum/key": key
"/compute:v1/InstanceListReferrers/warning/data/datum/value": value
"/compute:v1/InstanceListReferrers/warning/message": message
"/compute:v1/InstanceMoveRequest": move_instance_request "/compute:v1/InstanceMoveRequest": move_instance_request
"/compute:v1/InstanceMoveRequest/destinationZone": destination_zone "/compute:v1/InstanceMoveRequest/destinationZone": destination_zone
"/compute:v1/InstanceMoveRequest/targetInstance": target_instance "/compute:v1/InstanceMoveRequest/targetInstance": target_instance
@ -27019,6 +27051,11 @@
"/compute:v1/Quota/limit": limit "/compute:v1/Quota/limit": limit
"/compute:v1/Quota/metric": metric "/compute:v1/Quota/metric": metric
"/compute:v1/Quota/usage": usage "/compute:v1/Quota/usage": usage
"/compute:v1/Reference": reference
"/compute:v1/Reference/kind": kind
"/compute:v1/Reference/referenceType": reference_type
"/compute:v1/Reference/referrer": referrer
"/compute:v1/Reference/target": target
"/compute:v1/Region": region "/compute:v1/Region": region
"/compute:v1/Region/creationTimestamp": creation_timestamp "/compute:v1/Region/creationTimestamp": creation_timestamp
"/compute:v1/Region/deprecated": deprecated "/compute:v1/Region/deprecated": deprecated
@ -28438,6 +28475,14 @@
"/compute:v1/compute.instances.list/pageToken": page_token "/compute:v1/compute.instances.list/pageToken": page_token
"/compute:v1/compute.instances.list/project": project "/compute:v1/compute.instances.list/project": project
"/compute:v1/compute.instances.list/zone": zone "/compute:v1/compute.instances.list/zone": zone
"/compute:v1/compute.instances.listReferrers": list_instance_referrers
"/compute:v1/compute.instances.listReferrers/filter": filter
"/compute:v1/compute.instances.listReferrers/instance": instance
"/compute:v1/compute.instances.listReferrers/maxResults": max_results
"/compute:v1/compute.instances.listReferrers/orderBy": order_by
"/compute:v1/compute.instances.listReferrers/pageToken": page_token
"/compute:v1/compute.instances.listReferrers/project": project
"/compute:v1/compute.instances.listReferrers/zone": zone
"/compute:v1/compute.instances.reset": reset_instance "/compute:v1/compute.instances.reset": reset_instance
"/compute:v1/compute.instances.reset/instance": instance "/compute:v1/compute.instances.reset/instance": instance
"/compute:v1/compute.instances.reset/project": project "/compute:v1/compute.instances.reset/project": project
@ -28511,6 +28556,12 @@
"/compute:v1/compute.instances.stop/project": project "/compute:v1/compute.instances.stop/project": project
"/compute:v1/compute.instances.stop/requestId": request_id "/compute:v1/compute.instances.stop/requestId": request_id
"/compute:v1/compute.instances.stop/zone": zone "/compute:v1/compute.instances.stop/zone": zone
"/compute:v1/compute.instances.updateAccessConfig": update_instance_access_config
"/compute:v1/compute.instances.updateAccessConfig/instance": instance
"/compute:v1/compute.instances.updateAccessConfig/networkInterface": network_interface
"/compute:v1/compute.instances.updateAccessConfig/project": project
"/compute:v1/compute.instances.updateAccessConfig/requestId": request_id
"/compute:v1/compute.instances.updateAccessConfig/zone": zone
"/compute:v1/compute.interconnectAttachments.aggregatedList": aggregated_interconnect_attachment_list "/compute:v1/compute.interconnectAttachments.aggregatedList": aggregated_interconnect_attachment_list
"/compute:v1/compute.interconnectAttachments.aggregatedList/filter": filter "/compute:v1/compute.interconnectAttachments.aggregatedList/filter": filter
"/compute:v1/compute.interconnectAttachments.aggregatedList/maxResults": max_results "/compute:v1/compute.interconnectAttachments.aggregatedList/maxResults": max_results
@ -53507,12 +53558,14 @@
"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/isTrialStoppedEarly": is_trial_stopped_early "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/isTrialStoppedEarly": is_trial_stopped_early
"/ml:v1/GoogleCloudMlV1__HyperparameterOutput/trialId": trial_id "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/trialId": trial_id
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec "/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/enableTrialEarlyStopping": enable_trial_early_stopping
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxParallelTrials": max_parallel_trials
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/maxTrials": max_trials
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params": params
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params/param": param "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/params/param": param
"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/resumePreviousJobId": resume_previous_job_id
"/ml:v1/GoogleCloudMlV1__Job": google_cloud_ml_v1__job "/ml:v1/GoogleCloudMlV1__Job": google_cloud_ml_v1__job
"/ml:v1/GoogleCloudMlV1__Job/createTime": create_time "/ml:v1/GoogleCloudMlV1__Job/createTime": create_time
"/ml:v1/GoogleCloudMlV1__Job/endTime": end_time "/ml:v1/GoogleCloudMlV1__Job/endTime": end_time
@ -54266,6 +54319,7 @@
"/monitoring:v3/ListTimeSeriesResponse/timeSeries/time_series": time_series "/monitoring:v3/ListTimeSeriesResponse/timeSeries/time_series": time_series
"/monitoring:v3/ListUptimeCheckConfigsResponse": list_uptime_check_configs_response "/monitoring:v3/ListUptimeCheckConfigsResponse": list_uptime_check_configs_response
"/monitoring:v3/ListUptimeCheckConfigsResponse/nextPageToken": next_page_token "/monitoring:v3/ListUptimeCheckConfigsResponse/nextPageToken": next_page_token
"/monitoring:v3/ListUptimeCheckConfigsResponse/totalSize": total_size
"/monitoring:v3/ListUptimeCheckConfigsResponse/uptimeCheckConfigs": uptime_check_configs "/monitoring:v3/ListUptimeCheckConfigsResponse/uptimeCheckConfigs": uptime_check_configs
"/monitoring:v3/ListUptimeCheckConfigsResponse/uptimeCheckConfigs/uptime_check_config": uptime_check_config "/monitoring:v3/ListUptimeCheckConfigsResponse/uptimeCheckConfigs/uptime_check_config": uptime_check_config
"/monitoring:v3/ListUptimeCheckIpsResponse": list_uptime_check_ips_response "/monitoring:v3/ListUptimeCheckIpsResponse": list_uptime_check_ips_response

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1 module Adexchangebuyer2V2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180101' REVISION = '20180130'
# Manage your Ad Exchange buyer account configuration # Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -2148,6 +2148,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :video_url attr_accessor :video_url
# The contents of a VAST document for a video ad.
# This document should conform to the VAST 2.0 or 3.0 standard.
# Corresponds to the JSON property `videoVastXml`
# @return [String]
attr_accessor :video_vast_xml
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -2155,6 +2161,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@video_url = args[:video_url] if args.key?(:video_url) @video_url = args[:video_url] if args.key?(:video_url)
@video_vast_xml = args[:video_vast_xml] if args.key?(:video_vast_xml)
end end
end end

View File

@ -943,6 +943,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :video_url, as: 'videoUrl' property :video_url, as: 'videoUrl'
property :video_vast_xml, as: 'videoVastXml'
end end
end end

View File

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

View File

@ -98,7 +98,8 @@ module Google
attr_accessor :self_link attr_accessor :self_link
# [Output Only] The name of the zone where the accelerator type resides, such as # [Output Only] The name of the zone where the accelerator type resides, such as
# us-central1-a. # us-central1-a. You must specify this field as part of the HTTP request URL. It
# is not settable as a field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -615,7 +616,8 @@ module Google
attr_accessor :network_tier attr_accessor :network_tier
# [Output Only] URL of the region where the regional address resides. This field # [Output Only] URL of the region where the regional address resides. This field
# is not applicable to global addresses. # is not applicable to global addresses. You must specify this field as part of
# the HTTP request URL. You cannot set this field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -1270,7 +1272,8 @@ module Google
# ] ` # ] `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail. # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
# com from DATA_WRITE logging. # com from DATA_WRITE logging. This message is only visible as GOOGLE_INTERNAL
# or IAM_AUDIT_CONFIG.
class AuditConfig class AuditConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2584,7 +2587,9 @@ module Google
attr_accessor :protocol attr_accessor :protocol
# [Output Only] URL of the region where the regional backend service resides. # [Output Only] URL of the region where the regional backend service resides.
# This field is not applicable to global backend services. # This field is not applicable to global backend services. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -4104,7 +4109,8 @@ module Google
attr_accessor :physical_block_size_bytes attr_accessor :physical_block_size_bytes
# [Output Only] URL of the region where the disk resides. Only applicable for # [Output Only] URL of the region where the disk resides. Only applicable for
# regional resources. # regional resources. You must specify this field as part of the HTTP request
# URL. It is not settable as a field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -4210,7 +4216,9 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :users attr_accessor :users
# [Output Only] URL of the zone where the disk resides. # [Output Only] URL of the zone where the disk resides. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -4615,7 +4623,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :valid_disk_size attr_accessor :valid_disk_size
# [Output Only] URL of the zone where the disk type resides. # [Output Only] URL of the zone where the disk type resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -5174,7 +5184,7 @@ module Google
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# The list of DENY rules specified by this firewall. Each rule specifies a # The list of DENY rules specified by this firewall. Each rule specifies a
# protocol and port-range tuple that describes a permitted connection. # protocol and port-range tuple that describes a denied connection.
# Corresponds to the JSON property `denied` # Corresponds to the JSON property `denied`
# @return [Array<Google::Apis::ComputeAlpha::Firewall::Denied>] # @return [Array<Google::Apis::ComputeAlpha::Firewall::Denied>]
attr_accessor :denied attr_accessor :denied
@ -5731,7 +5741,6 @@ module Google
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883,
# 5222 # 5222
# - TargetVpnGateway: 500, 4500 # - TargetVpnGateway: 500, 4500
# -
# Corresponds to the JSON property `portRange` # Corresponds to the JSON property `portRange`
# @return [String] # @return [String]
attr_accessor :port_range attr_accessor :port_range
@ -5747,7 +5756,9 @@ module Google
attr_accessor :ports attr_accessor :ports
# [Output Only] URL of the region where the regional forwarding rule resides. # [Output Only] URL of the region where the regional forwarding rule resides.
# This field is not applicable to global forwarding rules. # This field is not applicable to global forwarding rules. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -5791,7 +5802,6 @@ module Google
# rule. For global forwarding rules, this target must be a global load balancing # rule. For global forwarding rules, this target must be a global load balancing
# resource. The forwarded traffic must be of a type appropriate to the target # resource. The forwarded traffic must be of a type appropriate to the target
# object. # object.
# This field is not used for internal load balancing.
# Corresponds to the JSON property `target` # Corresponds to the JSON property `target`
# @return [String] # @return [String]
attr_accessor :target attr_accessor :target
@ -8788,7 +8798,9 @@ module Google
# @return [Google::Apis::ComputeAlpha::Tags] # @return [Google::Apis::ComputeAlpha::Tags]
attr_accessor :tags attr_accessor :tags
# [Output Only] URL of the zone where the instance resides. # [Output Only] URL of the zone where the instance resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -9555,8 +9567,8 @@ module Google
attr_accessor :restarting attr_accessor :restarting
# [Output Only] The number of instances in the managed instance group that are # [Output Only] The number of instances in the managed instance group that are
# being verified. More details regarding verification process are covered in the # being verified. See the managedInstances[].currentAction property in the
# documentation of ManagedInstance.InstanceAction.VERIFYING enum field. # listManagedInstances method documentation.
# Corresponds to the JSON property `verifying` # Corresponds to the JSON property `verifying`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :verifying attr_accessor :verifying
@ -12076,7 +12088,8 @@ module Google
attr_accessor :private_interconnect_info attr_accessor :private_interconnect_info
# [Output Only] URL of the region where the regional interconnect attachment # [Output Only] URL of the region where the regional interconnect attachment
# resides. # resides. You must specify this field as part of the HTTP request URL. It is
# not settable as a field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -14477,6 +14490,8 @@ module Google
# - REFRESHING The managed instance group is applying configuration changes to # - REFRESHING The managed instance group is applying configuration changes to
# the instance without stopping it. For example, the group can update the target # the instance without stopping it. For example, the group can update the target
# pool list for an instance without stopping that instance. # pool list for an instance without stopping that instance.
# - VERIFYING The managed instance group has created the instance and it is in
# the process of being verified.
# Corresponds to the JSON property `currentAction` # Corresponds to the JSON property `currentAction`
# @return [String] # @return [String]
attr_accessor :current_action attr_accessor :current_action
@ -16079,7 +16094,9 @@ module Google
attr_accessor :progress attr_accessor :progress
# [Output Only] The URL of the region where the operation resides. Only # [Output Only] The URL of the region where the operation resides. Only
# available when performing regional operations. # available when performing regional operations. You must specify this field as
# part of the HTTP request URL. It is not settable as a field in the request
# body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -16132,7 +16149,8 @@ module Google
attr_accessor :warnings attr_accessor :warnings
# [Output Only] The URL of the zone where the operation resides. Only available # [Output Only] The URL of the zone where the operation resides. Only available
# when performing per-zone operations. # when performing per-zone operations. You must specify this field as part of
# the HTTP request URL. It is not settable as a field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -16728,11 +16746,12 @@ module Google
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` # sean@example.com"] ` ] `
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam). # https://cloud.google.com/iam/docs).
class Policy class Policy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies cloud audit logging configuration for this policy. # Specifies cloud audit logging configuration for this policy. This field is
# only visible as GOOGLE_INTERNAL or IAM_AUDIT_CONFIG.
# Corresponds to the JSON property `auditConfigs` # Corresponds to the JSON property `auditConfigs`
# @return [Array<Google::Apis::ComputeAlpha::AuditConfig>] # @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
attr_accessor :audit_configs attr_accessor :audit_configs
@ -16774,7 +16793,7 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::Rule>] # @return [Array<Google::Apis::ComputeAlpha::Rule>]
attr_accessor :rules attr_accessor :rules
# Version of the `Policy`. The default version is 0. # Deprecated.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -18757,7 +18776,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# [Output Only] URI of the region where the router resides. # [Output Only] URI of the region where the router resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -21297,6 +21318,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :description 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. # 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 # 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 # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
@ -21307,8 +21334,7 @@ module Google
attr_accessor :fingerprint attr_accessor :fingerprint
# [Output Only] The gateway address for default routes to reach destination # [Output Only] The gateway address for default routes to reach destination
# addresses outside this subnetwork. This field can be set only at resource # addresses outside this subnetwork.
# creation time.
# Corresponds to the JSON property `gatewayAddress` # Corresponds to the JSON property `gatewayAddress`
# @return [String] # @return [String]
attr_accessor :gateway_address attr_accessor :gateway_address
@ -21387,6 +21413,7 @@ module Google
@allow_subnet_cidr_routes_overlap = args[:allow_subnet_cidr_routes_overlap] if args.key?(:allow_subnet_cidr_routes_overlap) @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) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @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) @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@gateway_address = args[:gateway_address] if args.key?(:gateway_address) @gateway_address = args[:gateway_address] if args.key?(:gateway_address)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@ -22410,7 +22437,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# [Output Only] URL of the zone where the target instance resides. # [Output Only] URL of the zone where the target instance resides. You must
# specify this field as part of the HTTP request URL. It is not settable as a
# field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -23906,7 +23935,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# [Output Only] URL of the region where the target VPN gateway resides. # [Output Only] URL of the region where the target VPN gateway resides. You must
# specify this field as part of the HTTP request URL. It is not settable as a
# field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -24460,8 +24491,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# The list of expected URL mappings. Request to update this UrlMap will succeed # The list of expected URL mapping tests. Request to update this UrlMap will
# only if all of the test cases pass. # succeed only if all of the test cases pass. You can specify a maximum of 100
# tests per UrlMap.
# Corresponds to the JSON property `tests` # Corresponds to the JSON property `tests`
# @return [Array<Google::Apis::ComputeAlpha::UrlMapTest>] # @return [Array<Google::Apis::ComputeAlpha::UrlMapTest>]
attr_accessor :tests attr_accessor :tests
@ -25023,7 +25055,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :peer_ip attr_accessor :peer_ip
# [Output Only] URL of the region where the VPN tunnel resides. # [Output Only] URL of the region where the VPN tunnel resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -25061,8 +25095,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by # URL of the Target VPN gateway with which this VPN tunnel is associated.
# the client when the VPN tunnel is created. # Provided by the client when the VPN tunnel is created.
# Corresponds to the JSON property `targetVpnGateway` # Corresponds to the JSON property `targetVpnGateway`
# @return [String] # @return [String]
attr_accessor :target_vpn_gateway attr_accessor :target_vpn_gateway

View File

@ -8942,6 +8942,7 @@ module Google
property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap' property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap'
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :enable_flow_logs, as: 'enableFlowLogs'
property :fingerprint, :base64 => true, as: 'fingerprint' property :fingerprint, :base64 => true, as: 'fingerprint'
property :gateway_address, as: 'gatewayAddress' property :gateway_address, as: 'gatewayAddress'
property :id, :numeric_string => true, as: 'id' property :id, :numeric_string => true, as: 'id'

View File

@ -3488,8 +3488,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the specified firewall rule with the data included in the request. # Updates the specified firewall rule with the data included in the request. The
# Using PUT method, can only update following fields of firewall rule: allowed, # PUT method can only update the following fields of firewall rule: allowed,
# description, sourceRanges, sourceTags, targetTags. # description, sourceRanges, sourceTags, targetTags.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -14853,6 +14853,137 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the access control policy for a resource. May be empty if no such policy
# or resource exists.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Policy]
#
# @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 get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.response_class = Google::Apis::ComputeAlpha::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Policy]
#
# @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 set_node_template_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options)
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
command.response_class = Google::Apis::ComputeAlpha::Policy
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] region
# The name of the region for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
#
# @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 test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['resource'] = resource unless resource.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Disable this project as a shared VPC host project. # Disable this project as a shared VPC host project.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -16002,7 +16133,7 @@ module Google
# @param [String] region # @param [String] region
# Name of the region scoping this request. # Name of the region scoping this request.
# @param [String] backend_service # @param [String] backend_service
# Name of the BackendService resource to which the queried instance belongs. # Name of the BackendService resource for which to get health.
# @param [Google::Apis::ComputeAlpha::ResourceGroupReference] resource_group_reference_object # @param [Google::Apis::ComputeAlpha::ResourceGroupReference] resource_group_reference_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -19695,6 +19826,8 @@ module Google
# @param [String] security_policy # @param [String] security_policy
# Name of the security policy to update. # Name of the security policy to update.
# @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
# @param [Boolean] validate_only
# If true, the request will not be committed.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -19716,7 +19849,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options) command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options)
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
command.request_object = security_policy_rule_object command.request_object = security_policy_rule_object
@ -19724,6 +19857,7 @@ module Google
command.response_class = Google::Apis::ComputeAlpha::Operation command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil? command.params['project'] = project unless project.nil?
command.params['securityPolicy'] = security_policy unless security_policy.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil? command.query['userIp'] = user_ip unless user_ip.nil?
@ -20047,6 +20181,8 @@ module Google
# @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
# @param [Fixnum] priority # @param [Fixnum] priority
# The priority of the rule to patch. # The priority of the rule to patch.
# @param [Boolean] validate_only
# If true, the request will not be committed.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -20068,7 +20204,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options) command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
command.request_object = security_policy_rule_object command.request_object = security_policy_rule_object
@ -20077,6 +20213,7 @@ module Google
command.params['project'] = project unless project.nil? command.params['project'] = project unless project.nil?
command.params['securityPolicy'] = security_policy unless security_policy.nil? command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['priority'] = priority unless priority.nil? command.query['priority'] = priority unless priority.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil? command.query['userIp'] = user_ip unless user_ip.nil?

View File

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

View File

@ -98,7 +98,8 @@ module Google
attr_accessor :self_link attr_accessor :self_link
# [Output Only] The name of the zone where the accelerator type resides, such as # [Output Only] The name of the zone where the accelerator type resides, such as
# us-central1-a. # us-central1-a. You must specify this field as part of the HTTP request URL. It
# is not settable as a field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -582,7 +583,8 @@ module Google
attr_accessor :name attr_accessor :name
# [Output Only] URL of the region where the regional address resides. This field # [Output Only] URL of the region where the regional address resides. This field
# is not applicable to global addresses. # is not applicable to global addresses. You must specify this field as part of
# the HTTP request URL. You cannot set this field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -1220,7 +1222,8 @@ module Google
# ] ` # ] `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail. # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
# com from DATA_WRITE logging. # com from DATA_WRITE logging. This message is only visible as GOOGLE_INTERNAL
# or IAM_AUDIT_CONFIG.
class AuditConfig class AuditConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2397,7 +2400,9 @@ module Google
attr_accessor :protocol attr_accessor :protocol
# [Output Only] URL of the region where the regional backend service resides. # [Output Only] URL of the region where the regional backend service resides.
# This field is not applicable to global backend services. # This field is not applicable to global backend services. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -3832,7 +3837,9 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :users attr_accessor :users
# [Output Only] URL of the zone where the disk resides. # [Output Only] URL of the zone where the disk resides. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -4234,7 +4241,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :valid_disk_size attr_accessor :valid_disk_size
# [Output Only] URL of the zone where the disk type resides. # [Output Only] URL of the zone where the disk type resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -4793,7 +4802,7 @@ module Google
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# The list of DENY rules specified by this firewall. Each rule specifies a # The list of DENY rules specified by this firewall. Each rule specifies a
# protocol and port-range tuple that describes a permitted connection. # protocol and port-range tuple that describes a denied connection.
# Corresponds to the JSON property `denied` # Corresponds to the JSON property `denied`
# @return [Array<Google::Apis::ComputeBeta::Firewall::Denied>] # @return [Array<Google::Apis::ComputeBeta::Firewall::Denied>]
attr_accessor :denied attr_accessor :denied
@ -5308,7 +5317,6 @@ module Google
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883,
# 5222 # 5222
# - TargetVpnGateway: 500, 4500 # - TargetVpnGateway: 500, 4500
# -
# Corresponds to the JSON property `portRange` # Corresponds to the JSON property `portRange`
# @return [String] # @return [String]
attr_accessor :port_range attr_accessor :port_range
@ -5324,7 +5332,9 @@ module Google
attr_accessor :ports attr_accessor :ports
# [Output Only] URL of the region where the regional forwarding rule resides. # [Output Only] URL of the region where the regional forwarding rule resides.
# This field is not applicable to global forwarding rules. # This field is not applicable to global forwarding rules. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -5368,7 +5378,6 @@ module Google
# rule. For global forwarding rules, this target must be a global load balancing # rule. For global forwarding rules, this target must be a global load balancing
# resource. The forwarded traffic must be of a type appropriate to the target # resource. The forwarded traffic must be of a type appropriate to the target
# object. # object.
# This field is not used for internal load balancing.
# Corresponds to the JSON property `target` # Corresponds to the JSON property `target`
# @return [String] # @return [String]
attr_accessor :target attr_accessor :target
@ -7222,7 +7231,9 @@ module Google
# @return [Google::Apis::ComputeBeta::Tags] # @return [Google::Apis::ComputeBeta::Tags]
attr_accessor :tags attr_accessor :tags
# [Output Only] URL of the zone where the instance resides. # [Output Only] URL of the zone where the instance resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -7972,8 +7983,8 @@ module Google
attr_accessor :restarting attr_accessor :restarting
# [Output Only] The number of instances in the managed instance group that are # [Output Only] The number of instances in the managed instance group that are
# being verified. More details regarding verification process are covered in the # being verified. See the managedInstances[].currentAction property in the
# documentation of ManagedInstance.InstanceAction.VERIFYING enum field. # listManagedInstances method documentation.
# Corresponds to the JSON property `verifying` # Corresponds to the JSON property `verifying`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :verifying attr_accessor :verifying
@ -10115,7 +10126,8 @@ module Google
attr_accessor :private_interconnect_info attr_accessor :private_interconnect_info
# [Output Only] URL of the region where the regional interconnect attachment # [Output Only] URL of the region where the regional interconnect attachment
# resides. # resides. You must specify this field as part of the HTTP request URL. It is
# not settable as a field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -11876,6 +11888,8 @@ module Google
# - REFRESHING The managed instance group is applying configuration changes to # - REFRESHING The managed instance group is applying configuration changes to
# the instance without stopping it. For example, the group can update the target # the instance without stopping it. For example, the group can update the target
# pool list for an instance without stopping that instance. # pool list for an instance without stopping that instance.
# - VERIFYING The managed instance group has created the instance and it is in
# the process of being verified.
# Corresponds to the JSON property `currentAction` # Corresponds to the JSON property `currentAction`
# @return [String] # @return [String]
attr_accessor :current_action attr_accessor :current_action
@ -12651,7 +12665,9 @@ module Google
attr_accessor :progress attr_accessor :progress
# [Output Only] The URL of the region where the operation resides. Only # [Output Only] The URL of the region where the operation resides. Only
# available when performing regional operations. # available when performing regional operations. You must specify this field as
# part of the HTTP request URL. It is not settable as a field in the request
# body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -12704,7 +12720,8 @@ module Google
attr_accessor :warnings attr_accessor :warnings
# [Output Only] The URL of the zone where the operation resides. Only available # [Output Only] The URL of the zone where the operation resides. Only available
# when performing per-zone operations. # when performing per-zone operations. You must specify this field as part of
# the HTTP request URL. It is not settable as a field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -13274,11 +13291,12 @@ module Google
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
# sean@example.com"] ` ] ` # sean@example.com"] ` ] `
# For a description of IAM and its features, see the [IAM developer's guide]( # For a description of IAM and its features, see the [IAM developer's guide](
# https://cloud.google.com/iam). # https://cloud.google.com/iam/docs).
class Policy class Policy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies cloud audit logging configuration for this policy. # Specifies cloud audit logging configuration for this policy. This field is
# only visible as GOOGLE_INTERNAL or IAM_AUDIT_CONFIG.
# Corresponds to the JSON property `auditConfigs` # Corresponds to the JSON property `auditConfigs`
# @return [Array<Google::Apis::ComputeBeta::AuditConfig>] # @return [Array<Google::Apis::ComputeBeta::AuditConfig>]
attr_accessor :audit_configs attr_accessor :audit_configs
@ -13320,7 +13338,7 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::Rule>] # @return [Array<Google::Apis::ComputeBeta::Rule>]
attr_accessor :rules attr_accessor :rules
# Version of the `Policy`. The default version is 0. # Deprecated.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -14942,7 +14960,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# [Output Only] URI of the region where the router resides. # [Output Only] URI of the region where the router resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -17075,8 +17095,7 @@ module Google
attr_accessor :fingerprint attr_accessor :fingerprint
# [Output Only] The gateway address for default routes to reach destination # [Output Only] The gateway address for default routes to reach destination
# addresses outside this subnetwork. This field can be set only at resource # addresses outside this subnetwork.
# creation time.
# Corresponds to the JSON property `gatewayAddress` # Corresponds to the JSON property `gatewayAddress`
# @return [String] # @return [String]
attr_accessor :gateway_address attr_accessor :gateway_address
@ -18150,7 +18169,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# [Output Only] URL of the zone where the target instance resides. # [Output Only] URL of the zone where the target instance resides. You must
# specify this field as part of the HTTP request URL. It is not settable as a
# field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -19639,7 +19660,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# [Output Only] URL of the region where the target VPN gateway resides. # [Output Only] URL of the region where the target VPN gateway resides. You must
# specify this field as part of the HTTP request URL. It is not settable as a
# field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -20193,8 +20216,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# The list of expected URL mappings. Request to update this UrlMap will succeed # The list of expected URL mapping tests. Request to update this UrlMap will
# only if all of the test cases pass. # succeed only if all of the test cases pass. You can specify a maximum of 100
# tests per UrlMap.
# Corresponds to the JSON property `tests` # Corresponds to the JSON property `tests`
# @return [Array<Google::Apis::ComputeBeta::UrlMapTest>] # @return [Array<Google::Apis::ComputeBeta::UrlMapTest>]
attr_accessor :tests attr_accessor :tests
@ -20585,7 +20609,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :peer_ip attr_accessor :peer_ip
# [Output Only] URL of the region where the VPN tunnel resides. # [Output Only] URL of the region where the VPN tunnel resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -20623,8 +20649,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by # URL of the Target VPN gateway with which this VPN tunnel is associated.
# the client when the VPN tunnel is created. # Provided by the client when the VPN tunnel is created.
# Corresponds to the JSON property `targetVpnGateway` # Corresponds to the JSON property `targetVpnGateway`
# @return [String] # @return [String]
attr_accessor :target_vpn_gateway attr_accessor :target_vpn_gateway

View File

@ -3238,8 +3238,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the specified firewall rule with the data included in the request. # Updates the specified firewall rule with the data included in the request. The
# Using PUT method, can only update following fields of firewall rule: allowed, # PUT method can only update the following fields of firewall rule: allowed,
# description, sourceRanges, sourceTags, targetTags. # description, sourceRanges, sourceTags, targetTags.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -12521,7 +12521,7 @@ module Google
# @param [String] region # @param [String] region
# Name of the region scoping this request. # Name of the region scoping this request.
# @param [String] backend_service # @param [String] backend_service
# Name of the BackendService resource to which the queried instance belongs. # Name of the BackendService resource for which to get health.
# @param [Google::Apis::ComputeBeta::ResourceGroupReference] resource_group_reference_object # @param [Google::Apis::ComputeBeta::ResourceGroupReference] resource_group_reference_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

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

View File

@ -98,7 +98,8 @@ module Google
attr_accessor :self_link attr_accessor :self_link
# [Output Only] The name of the zone where the accelerator type resides, such as # [Output Only] The name of the zone where the accelerator type resides, such as
# us-central1-a. # us-central1-a. You must specify this field as part of the HTTP request URL. It
# is not settable as a field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -475,6 +476,19 @@ module Google
# @return [String] # @return [String]
attr_accessor :nat_ip attr_accessor :nat_ip
# The DNS domain name for the public PTR record. This field can only be set when
# the set_public_ptr field is enabled.
# Corresponds to the JSON property `publicPtrDomainName`
# @return [String]
attr_accessor :public_ptr_domain_name
# Specifies whether a public DNS ?PTR? record should be created to map the
# external IP address of the instance to a DNS domain name.
# Corresponds to the JSON property `setPublicPtr`
# @return [Boolean]
attr_accessor :set_public_ptr
alias_method :set_public_ptr?, :set_public_ptr
# The type of configuration. The default and only option is ONE_TO_ONE_NAT. # The type of configuration. The default and only option is ONE_TO_ONE_NAT.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
@ -489,6 +503,8 @@ module Google
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@nat_ip = args[:nat_ip] if args.key?(:nat_ip) @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
@public_ptr_domain_name = args[:public_ptr_domain_name] if args.key?(:public_ptr_domain_name)
@set_public_ptr = args[:set_public_ptr] if args.key?(:set_public_ptr)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
end end
end end
@ -549,7 +565,8 @@ module Google
attr_accessor :name attr_accessor :name
# [Output Only] URL of the region where the regional address resides. This field # [Output Only] URL of the region where the regional address resides. This field
# is not applicable to global addresses. # is not applicable to global addresses. You must specify this field as part of
# the HTTP request URL. You cannot set this field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -2166,7 +2183,9 @@ module Google
attr_accessor :protocol attr_accessor :protocol
# [Output Only] URL of the region where the regional backend service resides. # [Output Only] URL of the region where the regional backend service resides.
# This field is not applicable to global backend services. # This field is not applicable to global backend services. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -3449,7 +3468,9 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :users attr_accessor :users
# [Output Only] URL of the zone where the disk resides. # [Output Only] URL of the zone where the disk resides. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -3807,7 +3828,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :valid_disk_size attr_accessor :valid_disk_size
# [Output Only] URL of the zone where the disk type resides. # [Output Only] URL of the zone where the disk type resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -4282,7 +4305,7 @@ module Google
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# The list of DENY rules specified by this firewall. Each rule specifies a # The list of DENY rules specified by this firewall. Each rule specifies a
# protocol and port-range tuple that describes a permitted connection. # protocol and port-range tuple that describes a denied connection.
# Corresponds to the JSON property `denied` # Corresponds to the JSON property `denied`
# @return [Array<Google::Apis::ComputeV1::Firewall::Denied>] # @return [Array<Google::Apis::ComputeV1::Firewall::Denied>]
attr_accessor :denied attr_accessor :denied
@ -4739,7 +4762,6 @@ module Google
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, # - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883,
# 5222 # 5222
# - TargetVpnGateway: 500, 4500 # - TargetVpnGateway: 500, 4500
# -
# Corresponds to the JSON property `portRange` # Corresponds to the JSON property `portRange`
# @return [String] # @return [String]
attr_accessor :port_range attr_accessor :port_range
@ -4755,7 +4777,9 @@ module Google
attr_accessor :ports attr_accessor :ports
# [Output Only] URL of the region where the regional forwarding rule resides. # [Output Only] URL of the region where the regional forwarding rule resides.
# This field is not applicable to global forwarding rules. # This field is not applicable to global forwarding rules. You must specify this
# field as part of the HTTP request URL. It is not settable as a field in the
# request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -4780,7 +4804,6 @@ module Google
# rule. For global forwarding rules, this target must be a global load balancing # rule. For global forwarding rules, this target must be a global load balancing
# resource. The forwarded traffic must be of a type appropriate to the target # resource. The forwarded traffic must be of a type appropriate to the target
# object. # object.
# This field is not used for internal load balancing.
# Corresponds to the JSON property `target` # Corresponds to the JSON property `target`
# @return [String] # @return [String]
attr_accessor :target attr_accessor :target
@ -6577,7 +6600,9 @@ module Google
# @return [Google::Apis::ComputeV1::Tags] # @return [Google::Apis::ComputeV1::Tags]
attr_accessor :tags attr_accessor :tags
# [Output Only] URL of the zone where the instance resides. # [Output Only] URL of the zone where the instance resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -8168,6 +8193,124 @@ module Google
end end
end end
# Contains a list of instance referrers.
class InstanceListReferrers
include Google::Apis::Core::Hashable
# [Output Only] Unique identifier for the resource; defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A list of Reference resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeV1::Reference>]
attr_accessor :items
# [Output Only] Type of resource. Always compute#instanceListReferrers for lists
# of Instance referrers.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
# [Output Only] Informational warning message.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeV1::InstanceListReferrers::Warning]
attr_accessor :warning
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@id = args[:id] if args.key?(:id)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@self_link = args[:self_link] if args.key?(:self_link)
@warning = args[:warning] if args.key?(:warning)
end
# [Output Only] Informational warning message.
class Warning
include Google::Apis::Core::Hashable
# [Output Only] A warning code, if applicable. For example, Compute Engine
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
# [Output Only] Metadata about this warning in key: value format. For example:
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::ComputeV1::InstanceListReferrers::Warning::Datum>]
attr_accessor :data
# [Output Only] A human-readable description of the warning code.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@data = args[:data] if args.key?(:data)
@message = args[:message] if args.key?(:message)
end
#
class Datum
include Google::Apis::Core::Hashable
# [Output Only] A key that provides more detail on the warning being returned.
# For example, for warnings where there are no results in a list request for a
# particular zone, this key might be scope and the key value might be the zone
# name. Other examples might be a key indicating a deprecated resource and a
# suggested replacement, or a warning about invalid network settings (for
# example, if an instance attempts to perform IP forwarding but is not enabled
# for IP forwarding).
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# [Output Only] A warning data value corresponding to the key.
# 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)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end
end
end
# #
class MoveInstanceRequest class MoveInstanceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -9007,7 +9150,8 @@ module Google
attr_accessor :private_interconnect_info attr_accessor :private_interconnect_info
# [Output Only] URL of the region where the regional interconnect attachment # [Output Only] URL of the region where the regional interconnect attachment
# resides. # resides. You must specify this field as part of the HTTP request URL. It is
# not settable as a field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -10393,6 +10537,8 @@ module Google
# - REFRESHING The managed instance group is applying configuration changes to # - REFRESHING The managed instance group is applying configuration changes to
# the instance without stopping it. For example, the group can update the target # the instance without stopping it. For example, the group can update the target
# pool list for an instance without stopping that instance. # pool list for an instance without stopping that instance.
# - VERIFYING The managed instance group has created the instance and it is in
# the process of being verified.
# Corresponds to the JSON property `currentAction` # Corresponds to the JSON property `currentAction`
# @return [String] # @return [String]
attr_accessor :current_action attr_accessor :current_action
@ -11127,7 +11273,9 @@ module Google
attr_accessor :progress attr_accessor :progress
# [Output Only] The URL of the region where the operation resides. Only # [Output Only] The URL of the region where the operation resides. Only
# available when performing regional operations. # available when performing regional operations. You must specify this field as
# part of the HTTP request URL. It is not settable as a field in the request
# body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -11180,7 +11328,8 @@ module Google
attr_accessor :warnings attr_accessor :warnings
# [Output Only] The URL of the zone where the operation resides. Only available # [Output Only] The URL of the zone where the operation resides. Only available
# when performing per-zone operations. # when performing per-zone operations. You must specify this field as part of
# the HTTP request URL. It is not settable as a field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -11956,6 +12105,45 @@ module Google
end end
end end
# Represents a reference to a resource.
class Reference
include Google::Apis::Core::Hashable
# [Output Only] Type of the resource. Always compute#reference for references.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# A description of the reference type with no implied semantics. Possible values
# include:
# - MEMBER_OF
# Corresponds to the JSON property `referenceType`
# @return [String]
attr_accessor :reference_type
# URL of the resource which refers to the target.
# Corresponds to the JSON property `referrer`
# @return [String]
attr_accessor :referrer
# URL of the resource to which this reference points.
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@reference_type = args[:reference_type] if args.key?(:reference_type)
@referrer = args[:referrer] if args.key?(:referrer)
@target = args[:target] if args.key?(:target)
end
end
# Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions # Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions
# ==) # ==)
class Region class Region
@ -13242,7 +13430,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# [Output Only] URI of the region where the router resides. # [Output Only] URI of the region where the router resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -14505,8 +14695,7 @@ module Google
attr_accessor :description attr_accessor :description
# [Output Only] The gateway address for default routes to reach destination # [Output Only] The gateway address for default routes to reach destination
# addresses outside this subnetwork. This field can be set only at resource # addresses outside this subnetwork.
# creation time.
# Corresponds to the JSON property `gatewayAddress` # Corresponds to the JSON property `gatewayAddress`
# @return [String] # @return [String]
attr_accessor :gateway_address attr_accessor :gateway_address
@ -15539,7 +15728,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# [Output Only] URL of the zone where the target instance resides. # [Output Only] URL of the zone where the target instance resides. You must
# specify this field as part of the HTTP request URL. It is not settable as a
# field in the request body.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
# @return [String] # @return [String]
attr_accessor :zone attr_accessor :zone
@ -17001,7 +17192,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# [Output Only] URL of the region where the target VPN gateway resides. # [Output Only] URL of the region where the target VPN gateway resides. You must
# specify this field as part of the HTTP request URL. It is not settable as a
# field in the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -17473,8 +17666,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# The list of expected URL mappings. Request to update this UrlMap will succeed # The list of expected URL mapping tests. Request to update this UrlMap will
# only if all of the test cases pass. # succeed only if all of the test cases pass. You can specify a maximum of 100
# tests per UrlMap.
# Corresponds to the JSON property `tests` # Corresponds to the JSON property `tests`
# @return [Array<Google::Apis::ComputeV1::UrlMapTest>] # @return [Array<Google::Apis::ComputeV1::UrlMapTest>]
attr_accessor :tests attr_accessor :tests
@ -17847,7 +18041,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :peer_ip attr_accessor :peer_ip
# [Output Only] URL of the region where the VPN tunnel resides. # [Output Only] URL of the region where the VPN tunnel resides. You must specify
# this field as part of the HTTP request URL. It is not settable as a field in
# the request body.
# Corresponds to the JSON property `region` # Corresponds to the JSON property `region`
# @return [String] # @return [String]
attr_accessor :region attr_accessor :region
@ -17885,8 +18081,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :status attr_accessor :status
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by # URL of the Target VPN gateway with which this VPN tunnel is associated.
# the client when the VPN tunnel is created. # Provided by the client when the VPN tunnel is created.
# Corresponds to the JSON property `targetVpnGateway` # Corresponds to the JSON property `targetVpnGateway`
# @return [String] # @return [String]
attr_accessor :target_vpn_gateway attr_accessor :target_vpn_gateway

View File

@ -1084,6 +1084,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class InstanceListReferrers
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class MoveInstanceRequest class MoveInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1618,6 +1636,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Reference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Region class Region
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2724,6 +2748,8 @@ module Google
property :kind, as: 'kind' property :kind, as: 'kind'
property :name, as: 'name' property :name, as: 'name'
property :nat_ip, as: 'natIP' property :nat_ip, as: 'natIP'
property :public_ptr_domain_name, as: 'publicPtrDomainName'
property :set_public_ptr, as: 'setPublicPtr'
property :type, as: 'type' property :type, as: 'type'
end end
end end
@ -4602,6 +4628,38 @@ module Google
end end
end end
class InstanceListReferrers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeV1::Reference, decorator: Google::Apis::ComputeV1::Reference::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceListReferrers::Warning, decorator: Google::Apis::ComputeV1::InstanceListReferrers::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeV1::InstanceListReferrers::Warning::Datum, decorator: Google::Apis::ComputeV1::InstanceListReferrers::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class MoveInstanceRequest class MoveInstanceRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -5574,6 +5632,16 @@ module Google
end end
end end
class Reference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :reference_type, as: 'referenceType'
property :referrer, as: 'referrer'
property :target, as: 'target'
end
end
class Region class Region
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -2697,8 +2697,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the specified firewall rule with the data included in the request. # Updates the specified firewall rule with the data included in the request. The
# Using PUT method, can only update following fields of firewall rule: allowed, # PUT method can only update the following fields of firewall rule: allowed,
# description, sourceRanges, sourceTags, targetTags. # description, sourceRanges, sourceTags, targetTags.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -7287,6 +7287,90 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Retrieves the list of referrers to instances contained within the specified
# zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name of the target instance scoping this request, or '-' if the request should
# span over all instances in the container.
# @param [String] filter
# Sets a filter `expression` for filtering listed resources. Your `expression`
# must be in the format: field_name comparison_string literal_string.
# The field_name is the name of the field you want to compare. Only atomic field
# types are supported (string, number, boolean). The comparison_string must be
# either eq (equals) or ne (not equals). The literal_string is the string value
# to filter to. The literal value must be valid for the type of field you are
# filtering by (string, number, boolean). For string fields, the literal value
# is interpreted as a regular expression using RE2 syntax. The literal value
# must match the entire field.
# For example, to filter for instances that do not have a name of example-
# instance, you would use name ne example-instance.
# You can filter on nested fields. For example, you could filter on instances
# that have set the scheduling.automaticRestart field to true. Use filtering on
# nested fields to take advantage of labels to organize and search for results
# based on label values.
# To filter on multiple expressions, provide each separate expression within
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
# central1-f). Multiple expressions are treated as AND expressions, meaning that
# resources must match all expressions to pass the filters.
# @param [Fixnum] max_results
# The maximum number of results per page that should be returned. If the number
# of available results is larger than maxResults, Compute Engine returns a
# nextPageToken that can be used to get the next page of results in subsequent
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] order_by
# Sorts list results by a certain order. By default, results are returned in
# alphanumerical order based on the resource name.
# You can also sort results in descending order based on the creation timestamp
# using orderBy="creationTimestamp desc". This sorts results based on the
# creationTimestamp field in reverse chronological order (newest result first).
# Use this to sort resources like operations so that the newest operation is
# returned first.
# Currently, only sorting by name or creationTimestamp desc is supported.
# @param [String] page_token
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
# a previous list request to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::InstanceListReferrers] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::InstanceListReferrers]
#
# @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 list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options)
command.response_representation = Google::Apis::ComputeV1::InstanceListReferrers::Representation
command.response_class = Google::Apis::ComputeV1::InstanceListReferrers
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['filter'] = filter unless filter.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Performs a reset on the instance. For more information, see Resetting an # Performs a reset on the instance. For more information, see Resetting an
# instance. # instance.
# @param [String] project # @param [String] project
@ -8078,6 +8162,67 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the specified access config from an instance's network interface with
# the data included in the request. This method supports PATCH semantics and
# uses the JSON merge patch format and processing rules.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# The instance name for this request.
# @param [String] network_interface
# The name of the network interface where the access config is attached.
# @param [Google::Apis::ComputeV1::AccessConfig] access_config_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeV1::Operation]
#
# @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 update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options)
command.request_representation = Google::Apis::ComputeV1::AccessConfig::Representation
command.request_object = access_config_object
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
command.response_class = Google::Apis::ComputeV1::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.nil?
command.query['networkInterface'] = network_interface unless network_interface.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves an aggregated list of interconnect attachments. # Retrieves an aggregated list of interconnect attachments.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -10431,7 +10576,7 @@ module Google
# @param [String] region # @param [String] region
# Name of the region scoping this request. # Name of the region scoping this request.
# @param [String] backend_service # @param [String] backend_service
# Name of the BackendService resource to which the queried instance belongs. # Name of the BackendService resource for which to get health.
# @param [Google::Apis::ComputeV1::ResourceGroupReference] resource_group_reference_object # @param [Google::Apis::ComputeV1::ResourceGroupReference] resource_group_reference_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

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

View File

@ -256,6 +256,13 @@ module Google
class GoogleCloudMlV1HyperparameterSpec class GoogleCloudMlV1HyperparameterSpec
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. Indicates if the hyperparameter tuning job enables auto trial
# early stopping.
# Corresponds to the JSON property `enableTrialEarlyStopping`
# @return [Boolean]
attr_accessor :enable_trial_early_stopping
alias_method :enable_trial_early_stopping?, :enable_trial_early_stopping
# Required. The type of goal to use for tuning. Available types are # Required. The type of goal to use for tuning. Available types are
# `MAXIMIZE` and `MINIMIZE`. # `MAXIMIZE` and `MINIMIZE`.
# Defaults to `MAXIMIZE`. # Defaults to `MAXIMIZE`.
@ -296,17 +303,26 @@ module Google
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec>] # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec>]
attr_accessor :params attr_accessor :params
# Optional. The prior hyperparameter tuning job id that users hope to
# continue with. The job id will be used to find the corresponding vizier
# study guid and resume the study.
# Corresponds to the JSON property `resumePreviousJobId`
# @return [String]
attr_accessor :resume_previous_job_id
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@enable_trial_early_stopping = args[:enable_trial_early_stopping] if args.key?(:enable_trial_early_stopping)
@goal = args[:goal] if args.key?(:goal) @goal = args[:goal] if args.key?(:goal)
@hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag)
@max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials) @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
@max_trials = args[:max_trials] if args.key?(:max_trials) @max_trials = args[:max_trials] if args.key?(:max_trials)
@params = args[:params] if args.key?(:params) @params = args[:params] if args.key?(:params)
@resume_previous_job_id = args[:resume_previous_job_id] if args.key?(:resume_previous_job_id)
end end
end end

View File

@ -294,12 +294,14 @@ module Google
class GoogleCloudMlV1HyperparameterSpec class GoogleCloudMlV1HyperparameterSpec
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :enable_trial_early_stopping, as: 'enableTrialEarlyStopping'
property :goal, as: 'goal' property :goal, as: 'goal'
property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag'
property :max_parallel_trials, as: 'maxParallelTrials' property :max_parallel_trials, as: 'maxParallelTrials'
property :max_trials, as: 'maxTrials' property :max_trials, as: 'maxTrials'
collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation
property :resume_previous_job_id, as: 'resumePreviousJobId'
end end
end end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20180120' REVISION = '20180128'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -762,7 +762,8 @@ module Google
# single header, with the value being a comma-separated list of all the desired # single header, with the value being a comma-separated list of all the desired
# values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page # values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page
# 31). Entering two separate headers with the same key in a Create call will # 31). Entering two separate headers with the same key in a Create call will
# cause the first to be overwritten by the second. # cause the first to be overwritten by the second. The maximum number of headers
# allowed is 100.
# Corresponds to the JSON property `headers` # Corresponds to the JSON property `headers`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :headers attr_accessor :headers
@ -1079,6 +1080,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
# The total number of uptime check configurations for the project, irrespective
# of any pagination.
# Corresponds to the JSON property `totalSize`
# @return [Fixnum]
attr_accessor :total_size
# The returned uptime check configurations. # The returned uptime check configurations.
# Corresponds to the JSON property `uptimeCheckConfigs` # Corresponds to the JSON property `uptimeCheckConfigs`
# @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>] # @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>]
@ -1091,6 +1098,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token) @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@total_size = args[:total_size] if args.key?(:total_size)
@uptime_check_configs = args[:uptime_check_configs] if args.key?(:uptime_check_configs) @uptime_check_configs = args[:uptime_check_configs] if args.key?(:uptime_check_configs)
end end
end end

View File

@ -548,6 +548,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken' property :next_page_token, as: 'nextPageToken'
property :total_size, as: 'totalSize'
collection :uptime_check_configs, as: 'uptimeCheckConfigs', class: Google::Apis::MonitoringV3::UptimeCheckConfig, decorator: Google::Apis::MonitoringV3::UptimeCheckConfig::Representation collection :uptime_check_configs, as: 'uptimeCheckConfigs', class: Google::Apis::MonitoringV3::UptimeCheckConfig, decorator: Google::Apis::MonitoringV3::UptimeCheckConfig::Representation
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180116' REVISION = '20180131'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2057,13 +2057,12 @@ module Google
# * `Gi` gibi (2**30) # * `Gi` gibi (2**30)
# * `Ti` tebi (2**40) # * `Ti` tebi (2**40)
# **Grammar** # **Grammar**
# The grammar includes the dimensionless unit `1`, such as `1/s`.
# The grammar also includes these connectors: # The grammar also includes these connectors:
# * `/` division (as an infix operator, e.g. `1/s`). # * `/` division (as an infix operator, e.g. `1/s`).
# * `.` multiplication (as an infix operator, e.g. `GBy.d`) # * `.` multiplication (as an infix operator, e.g. `GBy.d`)
# The grammar for a unit is as follows: # The grammar for a unit is as follows:
# Expression = Component ` "." Component ` ` "/" Component ` ; # Expression = Component ` "." Component ` ` "/" Component ` ;
# Component = [ PREFIX ] UNIT [ Annotation ] # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
# | Annotation # | Annotation
# | "1" # | "1"
# ; # ;
@ -2074,6 +2073,9 @@ module Google
# ``requests`/s == 1/s`, `By`transmitted`/s == By/s`. # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
# * `NAME` is a sequence of non-blank printable ASCII characters not # * `NAME` is a sequence of non-blank printable ASCII characters not
# containing '`' or '`'. # containing '`' or '`'.
# * `1` represents dimensionless value 1, such as in `1/s`.
# * `%` represents dimensionless value 1/100, and annotates values giving
# a percentage.
# Corresponds to the JSON property `unit` # Corresponds to the JSON property `unit`
# @return [String] # @return [String]
attr_accessor :unit attr_accessor :unit

View File

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