Autogenerated update (2018-05-12)
Update: - analytics_v3 - compute_alpha - compute_beta - compute_v1
This commit is contained in:
parent
3e775eb600
commit
4fd6a9ced2
|
@ -4674,6 +4674,8 @@
|
||||||
"/analytics:v3/Webproperty/childLink/href": href
|
"/analytics:v3/Webproperty/childLink/href": href
|
||||||
"/analytics:v3/Webproperty/childLink/type": type
|
"/analytics:v3/Webproperty/childLink/type": type
|
||||||
"/analytics:v3/Webproperty/created": created
|
"/analytics:v3/Webproperty/created": created
|
||||||
|
"/analytics:v3/Webproperty/dataRetentionResetOnNewActivity": data_retention_reset_on_new_activity
|
||||||
|
"/analytics:v3/Webproperty/dataRetentionTtl": data_retention_ttl
|
||||||
"/analytics:v3/Webproperty/defaultProfileId": default_profile_id
|
"/analytics:v3/Webproperty/defaultProfileId": default_profile_id
|
||||||
"/analytics:v3/Webproperty/id": id
|
"/analytics:v3/Webproperty/id": id
|
||||||
"/analytics:v3/Webproperty/industryVertical": industry_vertical
|
"/analytics:v3/Webproperty/industryVertical": industry_vertical
|
||||||
|
@ -17373,6 +17375,7 @@
|
||||||
"/compute:alpha/DiskType/id": id
|
"/compute:alpha/DiskType/id": id
|
||||||
"/compute:alpha/DiskType/kind": kind
|
"/compute:alpha/DiskType/kind": kind
|
||||||
"/compute:alpha/DiskType/name": name
|
"/compute:alpha/DiskType/name": name
|
||||||
|
"/compute:alpha/DiskType/region": region
|
||||||
"/compute:alpha/DiskType/selfLink": self_link
|
"/compute:alpha/DiskType/selfLink": self_link
|
||||||
"/compute:alpha/DiskType/validDiskSize": valid_disk_size
|
"/compute:alpha/DiskType/validDiskSize": valid_disk_size
|
||||||
"/compute:alpha/DiskType/zone": zone
|
"/compute:alpha/DiskType/zone": zone
|
||||||
|
@ -17564,6 +17567,11 @@
|
||||||
"/compute:alpha/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint
|
"/compute:alpha/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint
|
||||||
"/compute:alpha/GlobalSetLabelsRequest/labels": labels
|
"/compute:alpha/GlobalSetLabelsRequest/labels": labels
|
||||||
"/compute:alpha/GlobalSetLabelsRequest/labels/label": label
|
"/compute:alpha/GlobalSetLabelsRequest/labels/label": label
|
||||||
|
"/compute:alpha/GlobalSetPolicyRequest": global_set_policy_request
|
||||||
|
"/compute:alpha/GlobalSetPolicyRequest/bindings": bindings
|
||||||
|
"/compute:alpha/GlobalSetPolicyRequest/bindings/binding": binding
|
||||||
|
"/compute:alpha/GlobalSetPolicyRequest/etag": etag
|
||||||
|
"/compute:alpha/GlobalSetPolicyRequest/policy": policy
|
||||||
"/compute:alpha/GuestAttributes": guest_attributes
|
"/compute:alpha/GuestAttributes": guest_attributes
|
||||||
"/compute:alpha/GuestAttributes/kind": kind
|
"/compute:alpha/GuestAttributes/kind": kind
|
||||||
"/compute:alpha/GuestAttributes/selfLink": self_link
|
"/compute:alpha/GuestAttributes/selfLink": self_link
|
||||||
|
@ -19083,6 +19091,7 @@
|
||||||
"/compute:alpha/PathRule/paths/path": path
|
"/compute:alpha/PathRule/paths/path": path
|
||||||
"/compute:alpha/PathRule/service": service
|
"/compute:alpha/PathRule/service": service
|
||||||
"/compute:alpha/PerInstanceConfig": per_instance_config
|
"/compute:alpha/PerInstanceConfig": per_instance_config
|
||||||
|
"/compute:alpha/PerInstanceConfig/fingerprint": fingerprint
|
||||||
"/compute:alpha/PerInstanceConfig/instance": instance
|
"/compute:alpha/PerInstanceConfig/instance": instance
|
||||||
"/compute:alpha/PerInstanceConfig/override": override
|
"/compute:alpha/PerInstanceConfig/override": override
|
||||||
"/compute:alpha/Policy": policy
|
"/compute:alpha/Policy": policy
|
||||||
|
@ -19095,6 +19104,9 @@
|
||||||
"/compute:alpha/Policy/rules": rules
|
"/compute:alpha/Policy/rules": rules
|
||||||
"/compute:alpha/Policy/rules/rule": rule
|
"/compute:alpha/Policy/rules/rule": rule
|
||||||
"/compute:alpha/Policy/version": version
|
"/compute:alpha/Policy/version": version
|
||||||
|
"/compute:alpha/PreconfiguredWafSet": preconfigured_waf_set
|
||||||
|
"/compute:alpha/PreconfiguredWafSet/expressionSets": expression_sets
|
||||||
|
"/compute:alpha/PreconfiguredWafSet/expressionSets/expression_set": expression_set
|
||||||
"/compute:alpha/Project": project
|
"/compute:alpha/Project": project
|
||||||
"/compute:alpha/Project/commonInstanceMetadata": common_instance_metadata
|
"/compute:alpha/Project/commonInstanceMetadata": common_instance_metadata
|
||||||
"/compute:alpha/Project/creationTimestamp": creation_timestamp
|
"/compute:alpha/Project/creationTimestamp": creation_timestamp
|
||||||
|
@ -19289,6 +19301,11 @@
|
||||||
"/compute:alpha/RegionSetLabelsRequest/labelFingerprint": label_fingerprint
|
"/compute:alpha/RegionSetLabelsRequest/labelFingerprint": label_fingerprint
|
||||||
"/compute:alpha/RegionSetLabelsRequest/labels": labels
|
"/compute:alpha/RegionSetLabelsRequest/labels": labels
|
||||||
"/compute:alpha/RegionSetLabelsRequest/labels/label": label
|
"/compute:alpha/RegionSetLabelsRequest/labels/label": label
|
||||||
|
"/compute:alpha/RegionSetPolicyRequest": region_set_policy_request
|
||||||
|
"/compute:alpha/RegionSetPolicyRequest/bindings": bindings
|
||||||
|
"/compute:alpha/RegionSetPolicyRequest/bindings/binding": binding
|
||||||
|
"/compute:alpha/RegionSetPolicyRequest/etag": etag
|
||||||
|
"/compute:alpha/RegionSetPolicyRequest/policy": policy
|
||||||
"/compute:alpha/RegionUrlMapsValidateRequest": region_url_maps_validate_request
|
"/compute:alpha/RegionUrlMapsValidateRequest": region_url_maps_validate_request
|
||||||
"/compute:alpha/RegionUrlMapsValidateRequest/resource": resource
|
"/compute:alpha/RegionUrlMapsValidateRequest/resource": resource
|
||||||
"/compute:alpha/ResourceCommitment": resource_commitment
|
"/compute:alpha/ResourceCommitment": resource_commitment
|
||||||
|
@ -19611,6 +19628,10 @@
|
||||||
"/compute:alpha/SecurityPoliciesList/warning/data/datum/key": key
|
"/compute:alpha/SecurityPoliciesList/warning/data/datum/key": key
|
||||||
"/compute:alpha/SecurityPoliciesList/warning/data/datum/value": value
|
"/compute:alpha/SecurityPoliciesList/warning/data/datum/value": value
|
||||||
"/compute:alpha/SecurityPoliciesList/warning/message": message
|
"/compute:alpha/SecurityPoliciesList/warning/message": message
|
||||||
|
"/compute:alpha/SecurityPoliciesListPreconfiguredExpressionSetsResponse": security_policies_list_preconfigured_expression_sets_response
|
||||||
|
"/compute:alpha/SecurityPoliciesListPreconfiguredExpressionSetsResponse/preconfiguredExpressionSets": preconfigured_expression_sets
|
||||||
|
"/compute:alpha/SecurityPoliciesWafConfig": security_policies_waf_config
|
||||||
|
"/compute:alpha/SecurityPoliciesWafConfig/wafRules": waf_rules
|
||||||
"/compute:alpha/SecurityPolicy": security_policy
|
"/compute:alpha/SecurityPolicy": security_policy
|
||||||
"/compute:alpha/SecurityPolicy/creationTimestamp": creation_timestamp
|
"/compute:alpha/SecurityPolicy/creationTimestamp": creation_timestamp
|
||||||
"/compute:alpha/SecurityPolicy/description": description
|
"/compute:alpha/SecurityPolicy/description": description
|
||||||
|
@ -20289,6 +20310,62 @@
|
||||||
"/compute:alpha/UsageExportLocation/reportNamePrefix": report_name_prefix
|
"/compute:alpha/UsageExportLocation/reportNamePrefix": report_name_prefix
|
||||||
"/compute:alpha/VmMaintenancePolicy": vm_maintenance_policy
|
"/compute:alpha/VmMaintenancePolicy": vm_maintenance_policy
|
||||||
"/compute:alpha/VmMaintenancePolicy/maintenanceWindow": maintenance_window
|
"/compute:alpha/VmMaintenancePolicy/maintenanceWindow": maintenance_window
|
||||||
|
"/compute:alpha/VpnGateway": vpn_gateway
|
||||||
|
"/compute:alpha/VpnGateway/creationTimestamp": creation_timestamp
|
||||||
|
"/compute:alpha/VpnGateway/description": description
|
||||||
|
"/compute:alpha/VpnGateway/id": id
|
||||||
|
"/compute:alpha/VpnGateway/kind": kind
|
||||||
|
"/compute:alpha/VpnGateway/labelFingerprint": label_fingerprint
|
||||||
|
"/compute:alpha/VpnGateway/labels": labels
|
||||||
|
"/compute:alpha/VpnGateway/labels/label": label
|
||||||
|
"/compute:alpha/VpnGateway/name": name
|
||||||
|
"/compute:alpha/VpnGateway/network": network
|
||||||
|
"/compute:alpha/VpnGateway/redundancy": redundancy
|
||||||
|
"/compute:alpha/VpnGateway/region": region
|
||||||
|
"/compute:alpha/VpnGateway/selfLink": self_link
|
||||||
|
"/compute:alpha/VpnGateway/vpnInterfaces": vpn_interfaces
|
||||||
|
"/compute:alpha/VpnGateway/vpnInterfaces/vpn_interface": vpn_interface
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList": vpn_gateway_aggregated_list
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/id": id
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/items": items
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/items/item": item
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/kind": kind
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/nextPageToken": next_page_token
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/selfLink": self_link
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning": warning
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning/code": code
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning/data": data
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning/data/datum": datum
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning/data/datum/key": key
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning/data/datum/value": value
|
||||||
|
"/compute:alpha/VpnGatewayAggregatedList/warning/message": message
|
||||||
|
"/compute:alpha/VpnGatewayList": vpn_gateway_list
|
||||||
|
"/compute:alpha/VpnGatewayList/id": id
|
||||||
|
"/compute:alpha/VpnGatewayList/items": items
|
||||||
|
"/compute:alpha/VpnGatewayList/items/item": item
|
||||||
|
"/compute:alpha/VpnGatewayList/kind": kind
|
||||||
|
"/compute:alpha/VpnGatewayList/nextPageToken": next_page_token
|
||||||
|
"/compute:alpha/VpnGatewayList/selfLink": self_link
|
||||||
|
"/compute:alpha/VpnGatewayList/warning": warning
|
||||||
|
"/compute:alpha/VpnGatewayList/warning/code": code
|
||||||
|
"/compute:alpha/VpnGatewayList/warning/data": data
|
||||||
|
"/compute:alpha/VpnGatewayList/warning/data/datum": datum
|
||||||
|
"/compute:alpha/VpnGatewayList/warning/data/datum/key": key
|
||||||
|
"/compute:alpha/VpnGatewayList/warning/data/datum/value": value
|
||||||
|
"/compute:alpha/VpnGatewayList/warning/message": message
|
||||||
|
"/compute:alpha/VpnGatewayVpnGatewayInterface": vpn_gateway_vpn_gateway_interface
|
||||||
|
"/compute:alpha/VpnGatewayVpnGatewayInterface/id": id
|
||||||
|
"/compute:alpha/VpnGatewayVpnGatewayInterface/ipAddress": ip_address
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList": vpn_gateways_scoped_list
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/vpnGateways": vpn_gateways
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/vpnGateways/vpn_gateway": vpn_gateway
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning": warning
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning/code": code
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning/data": data
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning/data/datum": datum
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning/data/datum/key": key
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning/data/datum/value": value
|
||||||
|
"/compute:alpha/VpnGatewaysScopedList/warning/message": message
|
||||||
"/compute:alpha/VpnTunnel": vpn_tunnel
|
"/compute:alpha/VpnTunnel": vpn_tunnel
|
||||||
"/compute:alpha/VpnTunnel/creationTimestamp": creation_timestamp
|
"/compute:alpha/VpnTunnel/creationTimestamp": creation_timestamp
|
||||||
"/compute:alpha/VpnTunnel/description": description
|
"/compute:alpha/VpnTunnel/description": description
|
||||||
|
@ -20312,6 +20389,8 @@
|
||||||
"/compute:alpha/VpnTunnel/sharedSecretHash": shared_secret_hash
|
"/compute:alpha/VpnTunnel/sharedSecretHash": shared_secret_hash
|
||||||
"/compute:alpha/VpnTunnel/status": status
|
"/compute:alpha/VpnTunnel/status": status
|
||||||
"/compute:alpha/VpnTunnel/targetVpnGateway": target_vpn_gateway
|
"/compute:alpha/VpnTunnel/targetVpnGateway": target_vpn_gateway
|
||||||
|
"/compute:alpha/VpnTunnel/vpnGateway": vpn_gateway
|
||||||
|
"/compute:alpha/VpnTunnel/vpnGatewayInterface": vpn_gateway_interface
|
||||||
"/compute:alpha/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list
|
"/compute:alpha/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list
|
||||||
"/compute:alpha/VpnTunnelAggregatedList/id": id
|
"/compute:alpha/VpnTunnelAggregatedList/id": id
|
||||||
"/compute:alpha/VpnTunnelAggregatedList/items": items
|
"/compute:alpha/VpnTunnelAggregatedList/items": items
|
||||||
|
@ -20350,6 +20429,14 @@
|
||||||
"/compute:alpha/VpnTunnelsScopedList/warning/data/datum/key": key
|
"/compute:alpha/VpnTunnelsScopedList/warning/data/datum/key": key
|
||||||
"/compute:alpha/VpnTunnelsScopedList/warning/data/datum/value": value
|
"/compute:alpha/VpnTunnelsScopedList/warning/data/datum/value": value
|
||||||
"/compute:alpha/VpnTunnelsScopedList/warning/message": message
|
"/compute:alpha/VpnTunnelsScopedList/warning/message": message
|
||||||
|
"/compute:alpha/WafExpressionSet": waf_expression_set
|
||||||
|
"/compute:alpha/WafExpressionSet/aliases": aliases
|
||||||
|
"/compute:alpha/WafExpressionSet/aliases/alias": alias
|
||||||
|
"/compute:alpha/WafExpressionSet/expressions": expressions
|
||||||
|
"/compute:alpha/WafExpressionSet/expressions/expression": expression
|
||||||
|
"/compute:alpha/WafExpressionSet/id": id
|
||||||
|
"/compute:alpha/WafExpressionSetExpression": waf_expression_set_expression
|
||||||
|
"/compute:alpha/WafExpressionSetExpression/id": id
|
||||||
"/compute:alpha/XpnHostList": xpn_host_list
|
"/compute:alpha/XpnHostList": xpn_host_list
|
||||||
"/compute:alpha/XpnHostList/id": id
|
"/compute:alpha/XpnHostList/id": id
|
||||||
"/compute:alpha/XpnHostList/items": items
|
"/compute:alpha/XpnHostList/items": items
|
||||||
|
@ -20397,6 +20484,11 @@
|
||||||
"/compute:alpha/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint
|
"/compute:alpha/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint
|
||||||
"/compute:alpha/ZoneSetLabelsRequest/labels": labels
|
"/compute:alpha/ZoneSetLabelsRequest/labels": labels
|
||||||
"/compute:alpha/ZoneSetLabelsRequest/labels/label": label
|
"/compute:alpha/ZoneSetLabelsRequest/labels/label": label
|
||||||
|
"/compute:alpha/ZoneSetPolicyRequest": zone_set_policy_request
|
||||||
|
"/compute:alpha/ZoneSetPolicyRequest/bindings": bindings
|
||||||
|
"/compute:alpha/ZoneSetPolicyRequest/bindings/binding": binding
|
||||||
|
"/compute:alpha/ZoneSetPolicyRequest/etag": etag
|
||||||
|
"/compute:alpha/ZoneSetPolicyRequest/policy": policy
|
||||||
"/compute:alpha/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list
|
"/compute:alpha/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list
|
||||||
"/compute:alpha/compute.acceleratorTypes.aggregatedList/filter": filter
|
"/compute:alpha/compute.acceleratorTypes.aggregatedList/filter": filter
|
||||||
"/compute:alpha/compute.acceleratorTypes.aggregatedList/maxResults": max_results
|
"/compute:alpha/compute.acceleratorTypes.aggregatedList/maxResults": max_results
|
||||||
|
@ -22352,6 +22444,12 @@
|
||||||
"/compute:alpha/compute.securityPolicies.list/orderBy": order_by
|
"/compute:alpha/compute.securityPolicies.list/orderBy": order_by
|
||||||
"/compute:alpha/compute.securityPolicies.list/pageToken": page_token
|
"/compute:alpha/compute.securityPolicies.list/pageToken": page_token
|
||||||
"/compute:alpha/compute.securityPolicies.list/project": project
|
"/compute:alpha/compute.securityPolicies.list/project": project
|
||||||
|
"/compute:alpha/compute.securityPolicies.listPreconfiguredExpressionSets": list_security_policy_preconfigured_expression_sets
|
||||||
|
"/compute:alpha/compute.securityPolicies.listPreconfiguredExpressionSets/filter": filter
|
||||||
|
"/compute:alpha/compute.securityPolicies.listPreconfiguredExpressionSets/maxResults": max_results
|
||||||
|
"/compute:alpha/compute.securityPolicies.listPreconfiguredExpressionSets/orderBy": order_by
|
||||||
|
"/compute:alpha/compute.securityPolicies.listPreconfiguredExpressionSets/pageToken": page_token
|
||||||
|
"/compute:alpha/compute.securityPolicies.listPreconfiguredExpressionSets/project": project
|
||||||
"/compute:alpha/compute.securityPolicies.patch": patch_security_policy
|
"/compute:alpha/compute.securityPolicies.patch": patch_security_policy
|
||||||
"/compute:alpha/compute.securityPolicies.patch/project": project
|
"/compute:alpha/compute.securityPolicies.patch/project": project
|
||||||
"/compute:alpha/compute.securityPolicies.patch/requestId": request_id
|
"/compute:alpha/compute.securityPolicies.patch/requestId": request_id
|
||||||
|
@ -22785,6 +22883,41 @@
|
||||||
"/compute:alpha/compute.urlMaps.validate": validate_url_map
|
"/compute:alpha/compute.urlMaps.validate": validate_url_map
|
||||||
"/compute:alpha/compute.urlMaps.validate/project": project
|
"/compute:alpha/compute.urlMaps.validate/project": project
|
||||||
"/compute:alpha/compute.urlMaps.validate/urlMap": url_map
|
"/compute:alpha/compute.urlMaps.validate/urlMap": url_map
|
||||||
|
"/compute:alpha/compute.vpnGateways.aggregatedList": aggregated_vpn_gateway_list
|
||||||
|
"/compute:alpha/compute.vpnGateways.aggregatedList/filter": filter
|
||||||
|
"/compute:alpha/compute.vpnGateways.aggregatedList/maxResults": max_results
|
||||||
|
"/compute:alpha/compute.vpnGateways.aggregatedList/orderBy": order_by
|
||||||
|
"/compute:alpha/compute.vpnGateways.aggregatedList/pageToken": page_token
|
||||||
|
"/compute:alpha/compute.vpnGateways.aggregatedList/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.delete": delete_vpn_gateway
|
||||||
|
"/compute:alpha/compute.vpnGateways.delete/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.delete/region": region
|
||||||
|
"/compute:alpha/compute.vpnGateways.delete/requestId": request_id
|
||||||
|
"/compute:alpha/compute.vpnGateways.delete/vpnGateway": vpn_gateway
|
||||||
|
"/compute:alpha/compute.vpnGateways.get": get_vpn_gateway
|
||||||
|
"/compute:alpha/compute.vpnGateways.get/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.get/region": region
|
||||||
|
"/compute:alpha/compute.vpnGateways.get/vpnGateway": vpn_gateway
|
||||||
|
"/compute:alpha/compute.vpnGateways.insert": insert_vpn_gateway
|
||||||
|
"/compute:alpha/compute.vpnGateways.insert/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.insert/region": region
|
||||||
|
"/compute:alpha/compute.vpnGateways.insert/requestId": request_id
|
||||||
|
"/compute:alpha/compute.vpnGateways.list": list_vpn_gateways
|
||||||
|
"/compute:alpha/compute.vpnGateways.list/filter": filter
|
||||||
|
"/compute:alpha/compute.vpnGateways.list/maxResults": max_results
|
||||||
|
"/compute:alpha/compute.vpnGateways.list/orderBy": order_by
|
||||||
|
"/compute:alpha/compute.vpnGateways.list/pageToken": page_token
|
||||||
|
"/compute:alpha/compute.vpnGateways.list/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.list/region": region
|
||||||
|
"/compute:alpha/compute.vpnGateways.setLabels": set_vpn_gateway_labels
|
||||||
|
"/compute:alpha/compute.vpnGateways.setLabels/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.setLabels/region": region
|
||||||
|
"/compute:alpha/compute.vpnGateways.setLabels/requestId": request_id
|
||||||
|
"/compute:alpha/compute.vpnGateways.setLabels/resource": resource
|
||||||
|
"/compute:alpha/compute.vpnGateways.testIamPermissions": test_vpn_gateway_iam_permissions
|
||||||
|
"/compute:alpha/compute.vpnGateways.testIamPermissions/project": project
|
||||||
|
"/compute:alpha/compute.vpnGateways.testIamPermissions/region": region
|
||||||
|
"/compute:alpha/compute.vpnGateways.testIamPermissions/resource": resource
|
||||||
"/compute:alpha/compute.vpnTunnels.aggregatedList": aggregated_vpn_tunnel_list
|
"/compute:alpha/compute.vpnTunnels.aggregatedList": aggregated_vpn_tunnel_list
|
||||||
"/compute:alpha/compute.vpnTunnels.aggregatedList/filter": filter
|
"/compute:alpha/compute.vpnTunnels.aggregatedList/filter": filter
|
||||||
"/compute:alpha/compute.vpnTunnels.aggregatedList/maxResults": max_results
|
"/compute:alpha/compute.vpnTunnels.aggregatedList/maxResults": max_results
|
||||||
|
@ -23372,6 +23505,7 @@
|
||||||
"/compute:beta/DiskType/id": id
|
"/compute:beta/DiskType/id": id
|
||||||
"/compute:beta/DiskType/kind": kind
|
"/compute:beta/DiskType/kind": kind
|
||||||
"/compute:beta/DiskType/name": name
|
"/compute:beta/DiskType/name": name
|
||||||
|
"/compute:beta/DiskType/region": region
|
||||||
"/compute:beta/DiskType/selfLink": self_link
|
"/compute:beta/DiskType/selfLink": self_link
|
||||||
"/compute:beta/DiskType/validDiskSize": valid_disk_size
|
"/compute:beta/DiskType/validDiskSize": valid_disk_size
|
||||||
"/compute:beta/DiskType/zone": zone
|
"/compute:beta/DiskType/zone": zone
|
||||||
|
@ -24692,6 +24826,11 @@
|
||||||
"/compute:beta/RegionSetLabelsRequest/labelFingerprint": label_fingerprint
|
"/compute:beta/RegionSetLabelsRequest/labelFingerprint": label_fingerprint
|
||||||
"/compute:beta/RegionSetLabelsRequest/labels": labels
|
"/compute:beta/RegionSetLabelsRequest/labels": labels
|
||||||
"/compute:beta/RegionSetLabelsRequest/labels/label": label
|
"/compute:beta/RegionSetLabelsRequest/labels/label": label
|
||||||
|
"/compute:beta/RegionSetPolicyRequest": region_set_policy_request
|
||||||
|
"/compute:beta/RegionSetPolicyRequest/bindings": bindings
|
||||||
|
"/compute:beta/RegionSetPolicyRequest/bindings/binding": binding
|
||||||
|
"/compute:beta/RegionSetPolicyRequest/etag": etag
|
||||||
|
"/compute:beta/RegionSetPolicyRequest/policy": policy
|
||||||
"/compute:beta/ResourceCommitment": resource_commitment
|
"/compute:beta/ResourceCommitment": resource_commitment
|
||||||
"/compute:beta/ResourceCommitment/amount": amount
|
"/compute:beta/ResourceCommitment/amount": amount
|
||||||
"/compute:beta/ResourceCommitment/type": type
|
"/compute:beta/ResourceCommitment/type": type
|
||||||
|
@ -27827,6 +27966,9 @@
|
||||||
"/compute:v1/Disk/licenses/license": license
|
"/compute:v1/Disk/licenses/license": license
|
||||||
"/compute:v1/Disk/name": name
|
"/compute:v1/Disk/name": name
|
||||||
"/compute:v1/Disk/options": options
|
"/compute:v1/Disk/options": options
|
||||||
|
"/compute:v1/Disk/region": region
|
||||||
|
"/compute:v1/Disk/replicaZones": replica_zones
|
||||||
|
"/compute:v1/Disk/replicaZones/replica_zone": replica_zone
|
||||||
"/compute:v1/Disk/selfLink": self_link
|
"/compute:v1/Disk/selfLink": self_link
|
||||||
"/compute:v1/Disk/sizeGb": size_gb
|
"/compute:v1/Disk/sizeGb": size_gb
|
||||||
"/compute:v1/Disk/sourceImage": source_image
|
"/compute:v1/Disk/sourceImage": source_image
|
||||||
|
@ -27879,6 +28021,7 @@
|
||||||
"/compute:v1/DiskType/id": id
|
"/compute:v1/DiskType/id": id
|
||||||
"/compute:v1/DiskType/kind": kind
|
"/compute:v1/DiskType/kind": kind
|
||||||
"/compute:v1/DiskType/name": name
|
"/compute:v1/DiskType/name": name
|
||||||
|
"/compute:v1/DiskType/region": region
|
||||||
"/compute:v1/DiskType/selfLink": self_link
|
"/compute:v1/DiskType/selfLink": self_link
|
||||||
"/compute:v1/DiskType/validDiskSize": valid_disk_size
|
"/compute:v1/DiskType/validDiskSize": valid_disk_size
|
||||||
"/compute:v1/DiskType/zone": zone
|
"/compute:v1/DiskType/zone": zone
|
||||||
|
@ -28976,6 +29119,22 @@
|
||||||
"/compute:v1/RegionAutoscalerList/warning/data/datum/key": key
|
"/compute:v1/RegionAutoscalerList/warning/data/datum/key": key
|
||||||
"/compute:v1/RegionAutoscalerList/warning/data/datum/value": value
|
"/compute:v1/RegionAutoscalerList/warning/data/datum/value": value
|
||||||
"/compute:v1/RegionAutoscalerList/warning/message": message
|
"/compute:v1/RegionAutoscalerList/warning/message": message
|
||||||
|
"/compute:v1/RegionDiskTypeList": region_disk_type_list
|
||||||
|
"/compute:v1/RegionDiskTypeList/id": id
|
||||||
|
"/compute:v1/RegionDiskTypeList/items": items
|
||||||
|
"/compute:v1/RegionDiskTypeList/items/item": item
|
||||||
|
"/compute:v1/RegionDiskTypeList/kind": kind
|
||||||
|
"/compute:v1/RegionDiskTypeList/nextPageToken": next_page_token
|
||||||
|
"/compute:v1/RegionDiskTypeList/selfLink": self_link
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning": warning
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning/code": code
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning/data": data
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning/data/datum": datum
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning/data/datum/key": key
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning/data/datum/value": value
|
||||||
|
"/compute:v1/RegionDiskTypeList/warning/message": message
|
||||||
|
"/compute:v1/RegionDisksResizeRequest": region_disks_resize_request
|
||||||
|
"/compute:v1/RegionDisksResizeRequest/sizeGb": size_gb
|
||||||
"/compute:v1/RegionInstanceGroupList": region_instance_group_list
|
"/compute:v1/RegionInstanceGroupList": region_instance_group_list
|
||||||
"/compute:v1/RegionInstanceGroupList/id": id
|
"/compute:v1/RegionInstanceGroupList/id": id
|
||||||
"/compute:v1/RegionInstanceGroupList/items": items
|
"/compute:v1/RegionInstanceGroupList/items": items
|
||||||
|
@ -29057,6 +29216,10 @@
|
||||||
"/compute:v1/RegionList/warning/data/datum/key": key
|
"/compute:v1/RegionList/warning/data/datum/key": key
|
||||||
"/compute:v1/RegionList/warning/data/datum/value": value
|
"/compute:v1/RegionList/warning/data/datum/value": value
|
||||||
"/compute:v1/RegionList/warning/message": message
|
"/compute:v1/RegionList/warning/message": message
|
||||||
|
"/compute:v1/RegionSetLabelsRequest": region_set_labels_request
|
||||||
|
"/compute:v1/RegionSetLabelsRequest/labelFingerprint": label_fingerprint
|
||||||
|
"/compute:v1/RegionSetLabelsRequest/labels": labels
|
||||||
|
"/compute:v1/RegionSetLabelsRequest/labels/label": label
|
||||||
"/compute:v1/ResourceCommitment": resource_commitment
|
"/compute:v1/ResourceCommitment": resource_commitment
|
||||||
"/compute:v1/ResourceCommitment/amount": amount
|
"/compute:v1/ResourceCommitment/amount": amount
|
||||||
"/compute:v1/ResourceCommitment/type": type
|
"/compute:v1/ResourceCommitment/type": type
|
||||||
|
@ -29329,6 +29492,7 @@
|
||||||
"/compute:v1/Subnetwork": subnetwork
|
"/compute:v1/Subnetwork": subnetwork
|
||||||
"/compute:v1/Subnetwork/creationTimestamp": creation_timestamp
|
"/compute:v1/Subnetwork/creationTimestamp": creation_timestamp
|
||||||
"/compute:v1/Subnetwork/description": description
|
"/compute:v1/Subnetwork/description": description
|
||||||
|
"/compute:v1/Subnetwork/enableFlowLogs": enable_flow_logs
|
||||||
"/compute:v1/Subnetwork/fingerprint": fingerprint
|
"/compute:v1/Subnetwork/fingerprint": fingerprint
|
||||||
"/compute:v1/Subnetwork/gatewayAddress": gateway_address
|
"/compute:v1/Subnetwork/gatewayAddress": gateway_address
|
||||||
"/compute:v1/Subnetwork/id": id
|
"/compute:v1/Subnetwork/id": id
|
||||||
|
@ -30390,6 +30554,7 @@
|
||||||
"/compute:v1/compute.instances.aggregatedList/pageToken": page_token
|
"/compute:v1/compute.instances.aggregatedList/pageToken": page_token
|
||||||
"/compute:v1/compute.instances.aggregatedList/project": project
|
"/compute:v1/compute.instances.aggregatedList/project": project
|
||||||
"/compute:v1/compute.instances.attachDisk": attach_disk
|
"/compute:v1/compute.instances.attachDisk": attach_disk
|
||||||
|
"/compute:v1/compute.instances.attachDisk/forceAttach": force_attach
|
||||||
"/compute:v1/compute.instances.attachDisk/instance": instance
|
"/compute:v1/compute.instances.attachDisk/instance": instance
|
||||||
"/compute:v1/compute.instances.attachDisk/project": project
|
"/compute:v1/compute.instances.attachDisk/project": project
|
||||||
"/compute:v1/compute.instances.attachDisk/requestId": request_id
|
"/compute:v1/compute.instances.attachDisk/requestId": request_id
|
||||||
|
@ -30781,6 +30946,57 @@
|
||||||
"/compute:v1/compute.regionCommitments.list/pageToken": page_token
|
"/compute:v1/compute.regionCommitments.list/pageToken": page_token
|
||||||
"/compute:v1/compute.regionCommitments.list/project": project
|
"/compute:v1/compute.regionCommitments.list/project": project
|
||||||
"/compute:v1/compute.regionCommitments.list/region": region
|
"/compute:v1/compute.regionCommitments.list/region": region
|
||||||
|
"/compute:v1/compute.regionDiskTypes.get": get_region_disk_type
|
||||||
|
"/compute:v1/compute.regionDiskTypes.get/diskType": disk_type
|
||||||
|
"/compute:v1/compute.regionDiskTypes.get/project": project
|
||||||
|
"/compute:v1/compute.regionDiskTypes.get/region": region
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list": list_region_disk_types
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list/filter": filter
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list/maxResults": max_results
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list/orderBy": order_by
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list/pageToken": page_token
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list/project": project
|
||||||
|
"/compute:v1/compute.regionDiskTypes.list/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.createSnapshot": create_region_disk_snapshot
|
||||||
|
"/compute:v1/compute.regionDisks.createSnapshot/disk": disk
|
||||||
|
"/compute:v1/compute.regionDisks.createSnapshot/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.createSnapshot/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.createSnapshot/requestId": request_id
|
||||||
|
"/compute:v1/compute.regionDisks.delete": delete_region_disk
|
||||||
|
"/compute:v1/compute.regionDisks.delete/disk": disk
|
||||||
|
"/compute:v1/compute.regionDisks.delete/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.delete/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.delete/requestId": request_id
|
||||||
|
"/compute:v1/compute.regionDisks.get": get_region_disk
|
||||||
|
"/compute:v1/compute.regionDisks.get/disk": disk
|
||||||
|
"/compute:v1/compute.regionDisks.get/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.get/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.insert": insert_region_disk
|
||||||
|
"/compute:v1/compute.regionDisks.insert/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.insert/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.insert/requestId": request_id
|
||||||
|
"/compute:v1/compute.regionDisks.insert/sourceImage": source_image
|
||||||
|
"/compute:v1/compute.regionDisks.list": list_region_disks
|
||||||
|
"/compute:v1/compute.regionDisks.list/filter": filter
|
||||||
|
"/compute:v1/compute.regionDisks.list/maxResults": max_results
|
||||||
|
"/compute:v1/compute.regionDisks.list/orderBy": order_by
|
||||||
|
"/compute:v1/compute.regionDisks.list/pageToken": page_token
|
||||||
|
"/compute:v1/compute.regionDisks.list/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.list/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.resize": resize_region_disk
|
||||||
|
"/compute:v1/compute.regionDisks.resize/disk": disk
|
||||||
|
"/compute:v1/compute.regionDisks.resize/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.resize/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.resize/requestId": request_id
|
||||||
|
"/compute:v1/compute.regionDisks.setLabels": set_region_disk_labels
|
||||||
|
"/compute:v1/compute.regionDisks.setLabels/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.setLabels/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.setLabels/requestId": request_id
|
||||||
|
"/compute:v1/compute.regionDisks.setLabels/resource": resource
|
||||||
|
"/compute:v1/compute.regionDisks.testIamPermissions": test_region_disk_iam_permissions
|
||||||
|
"/compute:v1/compute.regionDisks.testIamPermissions/project": project
|
||||||
|
"/compute:v1/compute.regionDisks.testIamPermissions/region": region
|
||||||
|
"/compute:v1/compute.regionDisks.testIamPermissions/resource": resource
|
||||||
"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances
|
"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances
|
||||||
"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager
|
"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager
|
||||||
"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/project": project
|
"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/project": project
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/analytics/
|
# @see https://developers.google.com/analytics/
|
||||||
module AnalyticsV3
|
module AnalyticsV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20180417'
|
REVISION = '20180509'
|
||||||
|
|
||||||
# View and manage your Google Analytics data
|
# View and manage your Google Analytics data
|
||||||
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
||||||
|
|
|
@ -5558,6 +5558,23 @@ module Google
|
||||||
# @return [DateTime]
|
# @return [DateTime]
|
||||||
attr_accessor :created
|
attr_accessor :created
|
||||||
|
|
||||||
|
# Set to true to reset the retention period of the user identifier with each new
|
||||||
|
# event from that user (thus setting the expiration date to current time plus
|
||||||
|
# retention period).
|
||||||
|
# Set to false to delete data associated with the user identifer automatically
|
||||||
|
# after the rentention period.
|
||||||
|
# This property cannot be set on insert.
|
||||||
|
# Corresponds to the JSON property `dataRetentionResetOnNewActivity`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :data_retention_reset_on_new_activity
|
||||||
|
alias_method :data_retention_reset_on_new_activity?, :data_retention_reset_on_new_activity
|
||||||
|
|
||||||
|
# The length of time for which user and event data is retained.
|
||||||
|
# This property cannot be set on insert.
|
||||||
|
# Corresponds to the JSON property `dataRetentionTtl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :data_retention_ttl
|
||||||
|
|
||||||
# Default view (profile) ID.
|
# Default view (profile) ID.
|
||||||
# Corresponds to the JSON property `defaultProfileId`
|
# Corresponds to the JSON property `defaultProfileId`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
|
@ -5639,6 +5656,8 @@ module Google
|
||||||
@account_id = args[:account_id] if args.key?(:account_id)
|
@account_id = args[:account_id] if args.key?(:account_id)
|
||||||
@child_link = args[:child_link] if args.key?(:child_link)
|
@child_link = args[:child_link] if args.key?(:child_link)
|
||||||
@created = args[:created] if args.key?(:created)
|
@created = args[:created] if args.key?(:created)
|
||||||
|
@data_retention_reset_on_new_activity = args[:data_retention_reset_on_new_activity] if args.key?(:data_retention_reset_on_new_activity)
|
||||||
|
@data_retention_ttl = args[:data_retention_ttl] if args.key?(:data_retention_ttl)
|
||||||
@default_profile_id = args[:default_profile_id] if args.key?(:default_profile_id)
|
@default_profile_id = args[:default_profile_id] if args.key?(:default_profile_id)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
|
@industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
|
||||||
|
|
|
@ -2021,6 +2021,8 @@ module Google
|
||||||
|
|
||||||
property :created, as: 'created', type: DateTime
|
property :created, as: 'created', type: DateTime
|
||||||
|
|
||||||
|
property :data_retention_reset_on_new_activity, as: 'dataRetentionResetOnNewActivity'
|
||||||
|
property :data_retention_ttl, as: 'dataRetentionTtl'
|
||||||
property :default_profile_id, :numeric_string => true, as: 'defaultProfileId'
|
property :default_profile_id, :numeric_string => true, as: 'defaultProfileId'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :industry_vertical, as: 'industryVertical'
|
property :industry_vertical, as: 'industryVertical'
|
||||||
|
|
|
@ -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 = '20180427'
|
REVISION = '20180428'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -3248,7 +3248,7 @@ module Google
|
||||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
||||||
# authenticated with a Google account or a service account.
|
# authenticated with a Google account or a service account.
|
||||||
# * `user:`emailid``: An email address that represents a specific Google account.
|
# * `user:`emailid``: An email address that represents a specific Google account.
|
||||||
# For example, `alice@gmail.com` or `joe@example.com`.
|
# For example, `alice@gmail.com` .
|
||||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group. For
|
# * `group:`emailid``: An email address that represents a Google group. For
|
||||||
|
@ -4626,6 +4626,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the disk type resides. Only applicable
|
||||||
|
# for 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`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -4657,6 +4664,7 @@ module Google
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@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)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
||||||
@zone = args[:zone] if args.key?(:zone)
|
@zone = args[:zone] if args.key?(:zone)
|
||||||
|
@ -6271,6 +6279,56 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class GlobalSetPolicyRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify bindings.
|
||||||
|
# Corresponds to the JSON property `bindings`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::Binding>]
|
||||||
|
attr_accessor :bindings
|
||||||
|
|
||||||
|
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify the etag.
|
||||||
|
# Corresponds to the JSON property `etag`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :etag
|
||||||
|
|
||||||
|
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||||
|
# access control policies for Cloud Platform resources.
|
||||||
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||||
|
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||||
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||||
|
# defined by IAM.
|
||||||
|
# **JSON Example**
|
||||||
|
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||||
|
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||||
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||||
|
# sean@example.com"] ` ] `
|
||||||
|
# **YAML Example**
|
||||||
|
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||||
|
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||||
|
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||||
|
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||||
|
# https://cloud.google.com/iam/docs).
|
||||||
|
# Corresponds to the JSON property `policy`
|
||||||
|
# @return [Google::Apis::ComputeAlpha::Policy]
|
||||||
|
attr_accessor :policy
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@bindings = args[:bindings] if args.key?(:bindings)
|
||||||
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
|
@policy = args[:policy] if args.key?(:policy)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A guest attributes entry.
|
# A guest attributes entry.
|
||||||
class GuestAttributes
|
class GuestAttributes
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -15882,7 +15940,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :creation_timestamp
|
attr_accessor :creation_timestamp
|
||||||
|
|
||||||
# [Output Only] An optional textual description of the resource.
|
# An optional description of this resource. Provide this property when you
|
||||||
|
# create the resource.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
@ -17251,7 +17310,8 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# [Output Only] Reserved for future use.
|
# [Output Only] The value of `requestId` if you provided it in the request. Not
|
||||||
|
# present otherwise.
|
||||||
# Corresponds to the JSON property `clientOperationId`
|
# Corresponds to the JSON property `clientOperationId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :client_operation_id
|
attr_accessor :client_operation_id
|
||||||
|
@ -17948,8 +18008,18 @@ module Google
|
||||||
class PerInstanceConfig
|
class PerInstanceConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Fingerprint of this per-instance config. This field may be used in optimistic
|
||||||
|
# locking. It will be ignored when inserting a per-instance config. An up-to-
|
||||||
|
# date fingerprint must be provided in order to update an existing per-instance
|
||||||
|
# config or the field needs to be unset.
|
||||||
|
# Corresponds to the JSON property `fingerprint`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :fingerprint
|
||||||
|
|
||||||
# The URL of the instance. Serves as a merge key during UpdatePerInstanceConfigs
|
# The URL of the instance. Serves as a merge key during UpdatePerInstanceConfigs
|
||||||
# operation.
|
# operation, i.e. if per-instance config with the same instance URL exists then
|
||||||
|
# it will be updated, otherwise a new one will be created.
|
||||||
# Corresponds to the JSON property `instance`
|
# Corresponds to the JSON property `instance`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :instance
|
attr_accessor :instance
|
||||||
|
@ -17965,6 +18035,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||||
@instance = args[:instance] if args.key?(:instance)
|
@instance = args[:instance] if args.key?(:instance)
|
||||||
@override = args[:override] if args.key?(:override)
|
@override = args[:override] if args.key?(:override)
|
||||||
end
|
end
|
||||||
|
@ -18052,6 +18123,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class PreconfiguredWafSet
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# List of entities that are currently supported for WAF rules.
|
||||||
|
# Corresponds to the JSON property `expressionSets`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::WafExpressionSet>]
|
||||||
|
attr_accessor :expression_sets
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@expression_sets = args[:expression_sets] if args.key?(:expression_sets)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A Project resource. For an overview of projects, see Cloud Platform Resource
|
# A Project resource. For an overview of projects, see Cloud Platform Resource
|
||||||
# Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==)
|
# Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==)
|
||||||
class Project
|
class Project
|
||||||
|
@ -19574,6 +19664,56 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class RegionSetPolicyRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify bindings.
|
||||||
|
# Corresponds to the JSON property `bindings`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::Binding>]
|
||||||
|
attr_accessor :bindings
|
||||||
|
|
||||||
|
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify the etag.
|
||||||
|
# Corresponds to the JSON property `etag`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :etag
|
||||||
|
|
||||||
|
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||||
|
# access control policies for Cloud Platform resources.
|
||||||
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||||
|
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||||
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||||
|
# defined by IAM.
|
||||||
|
# **JSON Example**
|
||||||
|
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||||
|
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||||
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||||
|
# sean@example.com"] ` ] `
|
||||||
|
# **YAML Example**
|
||||||
|
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||||
|
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||||
|
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||||
|
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||||
|
# https://cloud.google.com/iam/docs).
|
||||||
|
# Corresponds to the JSON property `policy`
|
||||||
|
# @return [Google::Apis::ComputeAlpha::Policy]
|
||||||
|
attr_accessor :policy
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@bindings = args[:bindings] if args.key?(:bindings)
|
||||||
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
|
@policy = args[:policy] if args.key?(:policy)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class RegionUrlMapsValidateRequest
|
class RegionUrlMapsValidateRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -20159,11 +20299,6 @@ module Google
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
|
||||||
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
|
||||||
# Corresponds to the JSON property `storageLocations`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :storage_locations
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -20172,7 +20307,6 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -20808,31 +20942,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Description-tagged prefixes for the router to advertise.
|
|
||||||
class RouterAdvertisedPrefix
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# User-specified description for the prefix.
|
|
||||||
# Corresponds to the JSON property `description`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :description
|
|
||||||
|
|
||||||
# The prefix to advertise. The value must be a CIDR-formatted string.
|
|
||||||
# Corresponds to the JSON property `prefix`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :prefix
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@description = args[:description] if args.key?(:description)
|
|
||||||
@prefix = args[:prefix] if args.key?(:prefix)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Contains a list of routers.
|
# Contains a list of routers.
|
||||||
class RouterAggregatedList
|
class RouterAggregatedList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -20975,14 +21084,6 @@ module Google
|
||||||
# @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange>]
|
# @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange>]
|
||||||
attr_accessor :advertised_ip_ranges
|
attr_accessor :advertised_ip_ranges
|
||||||
|
|
||||||
# User-specified list of individual prefixes to advertise in custom mode. This
|
|
||||||
# field can only be populated if advertise_mode is CUSTOM and is advertised to
|
|
||||||
# all peers of the router. These prefixes will be advertised in addition to any
|
|
||||||
# specified groups. Leave this field blank to advertise no custom prefixes.
|
|
||||||
# Corresponds to the JSON property `advertisedPrefixs`
|
|
||||||
# @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedPrefix>]
|
|
||||||
attr_accessor :advertised_prefixs
|
|
||||||
|
|
||||||
# Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN,
|
# Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN,
|
||||||
# either 16-bit or 32-bit. The value will be fixed for this router resource. All
|
# either 16-bit or 32-bit. The value will be fixed for this router resource. All
|
||||||
# VPN tunnels that link to this router will have the same local ASN.
|
# VPN tunnels that link to this router will have the same local ASN.
|
||||||
|
@ -20999,7 +21100,6 @@ module Google
|
||||||
@advertise_mode = args[:advertise_mode] if args.key?(:advertise_mode)
|
@advertise_mode = args[:advertise_mode] if args.key?(:advertise_mode)
|
||||||
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
||||||
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
||||||
@advertised_prefixs = args[:advertised_prefixs] if args.key?(:advertised_prefixs)
|
|
||||||
@asn = args[:asn] if args.key?(:asn)
|
@asn = args[:asn] if args.key?(:asn)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -21031,15 +21131,6 @@ module Google
|
||||||
# @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange>]
|
# @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedIpRange>]
|
||||||
attr_accessor :advertised_ip_ranges
|
attr_accessor :advertised_ip_ranges
|
||||||
|
|
||||||
# User-specified list of individual prefixes to advertise in custom mode. This
|
|
||||||
# field can only be populated if advertise_mode is CUSTOM and overrides the list
|
|
||||||
# defined for the router (in Bgp message). These prefixes will be advertised in
|
|
||||||
# addition to any specified groups. Leave this field blank to advertise no
|
|
||||||
# custom prefixes.
|
|
||||||
# Corresponds to the JSON property `advertisedPrefixs`
|
|
||||||
# @return [Array<Google::Apis::ComputeAlpha::RouterAdvertisedPrefix>]
|
|
||||||
attr_accessor :advertised_prefixs
|
|
||||||
|
|
||||||
# The priority of routes advertised to this BGP peer. In the case where there is
|
# The priority of routes advertised to this BGP peer. In the case where there is
|
||||||
# more than one matching route of maximum length, the routes with lowest
|
# more than one matching route of maximum length, the routes with lowest
|
||||||
# priority value win.
|
# priority value win.
|
||||||
|
@ -21093,7 +21184,6 @@ module Google
|
||||||
@advertise_mode = args[:advertise_mode] if args.key?(:advertise_mode)
|
@advertise_mode = args[:advertise_mode] if args.key?(:advertise_mode)
|
||||||
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
||||||
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
||||||
@advertised_prefixs = args[:advertised_prefixs] if args.key?(:advertised_prefixs)
|
|
||||||
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
||||||
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
||||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||||
|
@ -21895,6 +21985,44 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `preconfiguredExpressionSets`
|
||||||
|
# @return [Google::Apis::ComputeAlpha::SecurityPoliciesWafConfig]
|
||||||
|
attr_accessor :preconfigured_expression_sets
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@preconfigured_expression_sets = args[:preconfigured_expression_sets] if args.key?(:preconfigured_expression_sets)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SecurityPoliciesWafConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `wafRules`
|
||||||
|
# @return [Google::Apis::ComputeAlpha::PreconfiguredWafSet]
|
||||||
|
attr_accessor :waf_rules
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@waf_rules = args[:waf_rules] if args.key?(:waf_rules)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A security policy is comprised of one or more rules. It can also be associated
|
# A security policy is comprised of one or more rules. It can also be associated
|
||||||
# with one or more 'targets'.
|
# with one or more 'targets'.
|
||||||
class SecurityPolicy
|
class SecurityPolicy
|
||||||
|
@ -27315,6 +27443,464 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Represents a VPN gateway resource.
|
||||||
|
class VpnGateway
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||||
|
# Corresponds to the JSON property `creationTimestamp`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :creation_timestamp
|
||||||
|
|
||||||
|
# An optional description of this resource. Provide this property when you
|
||||||
|
# create the resource.
|
||||||
|
# Corresponds to the JSON property `description`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :description
|
||||||
|
|
||||||
|
# [Output Only] The unique identifier for the resource. This identifier is
|
||||||
|
# defined by the server.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# A fingerprint for the labels being applied to this VpnGateway, which is
|
||||||
|
# essentially a hash of the labels set used for optimistic locking. The
|
||||||
|
# fingerprint is initially generated by Compute Engine and changes after every
|
||||||
|
# request to modify or update labels. You must always provide an up-to-date
|
||||||
|
# fingerprint hash in order to update or change labels.
|
||||||
|
# To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
|
||||||
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
|
# Labels to apply to this VpnGateway resource. These can be later modified by
|
||||||
|
# the setLabels method. Each label key/value must comply with RFC1035. Label
|
||||||
|
# values may be empty.
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
# Name of the resource. Provided by the client when the resource is created. The
|
||||||
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||||
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||||
|
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||||
|
# and all following characters must be a dash, lowercase letter, or digit,
|
||||||
|
# except the last character, which cannot be a dash.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# URL of the network to which this VPN gateway is attached. Provided by the
|
||||||
|
# client when the VPN gateway is created.
|
||||||
|
# Corresponds to the JSON property `network`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :network
|
||||||
|
|
||||||
|
# The redundancy mode configured for this VPN gateway. Possible values are
|
||||||
|
# ACTIVE_ACTIVE and NONE. If set to ACTIVE_ACTIVE, two VPN interfaces are
|
||||||
|
# created thereby providing higher availability. If set to NONE, only one
|
||||||
|
# interface is created with a lower availability SLA.
|
||||||
|
# If this field is specified, either 2 or 1 external IP addresses (depending on
|
||||||
|
# the value of specified redundancy) are automatically allocated for use with
|
||||||
|
# this VPN gateway, and incoming traffic on the external addresses to ports ESP,
|
||||||
|
# UDP:500 and UDP:4500 are automatically forwarded to this gateway.
|
||||||
|
# Corresponds to the JSON property `redundancy`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :redundancy
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the VPN gateway resides.
|
||||||
|
# Corresponds to the JSON property `region`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
|
# [Output Only] Server-defined URL for the resource.
|
||||||
|
# Corresponds to the JSON property `selfLink`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :self_link
|
||||||
|
|
||||||
|
# [Output Only] A list of interfaces on this VPN gateway.
|
||||||
|
# Corresponds to the JSON property `vpnInterfaces`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface>]
|
||||||
|
attr_accessor :vpn_interfaces
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||||
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@network = args[:network] if args.key?(:network)
|
||||||
|
@redundancy = args[:redundancy] if args.key?(:redundancy)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
|
@vpn_interfaces = args[:vpn_interfaces] if args.key?(:vpn_interfaces)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class VpnGatewayAggregatedList
|
||||||
|
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 VpnGateway resources.
|
||||||
|
# Corresponds to the JSON property `items`
|
||||||
|
# @return [Hash<String,Google::Apis::ComputeAlpha::VpnGatewaysScopedList>]
|
||||||
|
attr_accessor :items
|
||||||
|
|
||||||
|
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
|
||||||
|
# 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::ComputeAlpha::VpnGatewayAggregatedList::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::ComputeAlpha::VpnGatewayAggregatedList::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
|
||||||
|
|
||||||
|
# Contains a list of VpnGateway resources.
|
||||||
|
class VpnGatewayList
|
||||||
|
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 VpnGateway resources.
|
||||||
|
# Corresponds to the JSON property `items`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::VpnGateway>]
|
||||||
|
attr_accessor :items
|
||||||
|
|
||||||
|
# [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.
|
||||||
|
# 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::ComputeAlpha::VpnGatewayList::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::ComputeAlpha::VpnGatewayList::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
|
||||||
|
|
||||||
|
# A VPN gateway interface.
|
||||||
|
class VpnGatewayVpnGatewayInterface
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The numeric ID of this VPN gateway interface.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# The external IP address for this VPN gateway interface.
|
||||||
|
# Corresponds to the JSON property `ipAddress`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :ip_address
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class VpnGatewaysScopedList
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# [Output Only] A list of VPN gateways contained in this scope.
|
||||||
|
# Corresponds to the JSON property `vpnGateways`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::VpnGateway>]
|
||||||
|
attr_accessor :vpn_gateways
|
||||||
|
|
||||||
|
# [Output Only] Informational warning which replaces the list of addresses when
|
||||||
|
# the list is empty.
|
||||||
|
# Corresponds to the JSON property `warning`
|
||||||
|
# @return [Google::Apis::ComputeAlpha::VpnGatewaysScopedList::Warning]
|
||||||
|
attr_accessor :warning
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@vpn_gateways = args[:vpn_gateways] if args.key?(:vpn_gateways)
|
||||||
|
@warning = args[:warning] if args.key?(:warning)
|
||||||
|
end
|
||||||
|
|
||||||
|
# [Output Only] Informational warning which replaces the list of addresses when
|
||||||
|
# the list is empty.
|
||||||
|
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::ComputeAlpha::VpnGatewaysScopedList::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
|
||||||
|
|
||||||
# VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
|
# VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
|
||||||
# vpnTunnels ==)
|
# vpnTunnels ==)
|
||||||
class VpnTunnel
|
class VpnTunnel
|
||||||
|
@ -27439,6 +28025,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :target_vpn_gateway
|
attr_accessor :target_vpn_gateway
|
||||||
|
|
||||||
|
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by
|
||||||
|
# the client when the VPN tunnel is created. This must be used (instead of
|
||||||
|
# target_vpn_gateway) if a VPN gateway resource is created with redundancy.
|
||||||
|
# VPN gateway resource provides a way to create a highly available VPN setup.
|
||||||
|
# Corresponds to the JSON property `vpnGateway`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :vpn_gateway
|
||||||
|
|
||||||
|
# The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
||||||
|
# If the VPN gateway has redundancy other than NONE, this field is required to
|
||||||
|
# identify which interface of the VPN gateway to use.
|
||||||
|
# Corresponds to the JSON property `vpnGatewayInterface`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :vpn_gateway_interface
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -27464,6 +28065,8 @@ module Google
|
||||||
@shared_secret_hash = args[:shared_secret_hash] if args.key?(:shared_secret_hash)
|
@shared_secret_hash = args[:shared_secret_hash] if args.key?(:shared_secret_hash)
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
@target_vpn_gateway = args[:target_vpn_gateway] if args.key?(:target_vpn_gateway)
|
@target_vpn_gateway = args[:target_vpn_gateway] if args.key?(:target_vpn_gateway)
|
||||||
|
@vpn_gateway = args[:vpn_gateway] if args.key?(:vpn_gateway)
|
||||||
|
@vpn_gateway_interface = args[:vpn_gateway_interface] if args.key?(:vpn_gateway_interface)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -27792,6 +28395,63 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class WafExpressionSet
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A list of alternate IDs. The format should be: - E.g. XSS-stable Generic
|
||||||
|
# suffix like "stable" is particularly useful if a policy likes to avail newer
|
||||||
|
# set of expressions without having to change the policy. A given alias name can'
|
||||||
|
# t be used for more than one entity set.
|
||||||
|
# Corresponds to the JSON property `aliases`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :aliases
|
||||||
|
|
||||||
|
# List of available expressions.
|
||||||
|
# Corresponds to the JSON property `expressions`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::WafExpressionSetExpression>]
|
||||||
|
attr_accessor :expressions
|
||||||
|
|
||||||
|
# Google specified expression set ID. The format should be: - E.g. XSS-20170329
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@aliases = args[:aliases] if args.key?(:aliases)
|
||||||
|
@expressions = args[:expressions] if args.key?(:expressions)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class WafExpressionSetExpression
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Expression ID should uniquely identify the origin of the expression. E.g.
|
||||||
|
# owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule
|
||||||
|
# id 973337. The ID could be used to determine the individual attack definition
|
||||||
|
# that has been detected. It could also be used to exclude it from the policy in
|
||||||
|
# case of false positive.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class XpnHostList
|
class XpnHostList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -28156,6 +28816,56 @@ module Google
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ZoneSetPolicyRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify bindings.
|
||||||
|
# Corresponds to the JSON property `bindings`
|
||||||
|
# @return [Array<Google::Apis::ComputeAlpha::Binding>]
|
||||||
|
attr_accessor :bindings
|
||||||
|
|
||||||
|
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify the etag.
|
||||||
|
# Corresponds to the JSON property `etag`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :etag
|
||||||
|
|
||||||
|
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||||
|
# access control policies for Cloud Platform resources.
|
||||||
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||||
|
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||||
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||||
|
# defined by IAM.
|
||||||
|
# **JSON Example**
|
||||||
|
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||||
|
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||||
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||||
|
# sean@example.com"] ` ] `
|
||||||
|
# **YAML Example**
|
||||||
|
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||||
|
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||||
|
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||||
|
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||||
|
# https://cloud.google.com/iam/docs).
|
||||||
|
# Corresponds to the JSON property `policy`
|
||||||
|
# @return [Google::Apis::ComputeAlpha::Policy]
|
||||||
|
attr_accessor :policy
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@bindings = args[:bindings] if args.key?(:bindings)
|
||||||
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
|
@policy = args[:policy] if args.key?(:policy)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -820,6 +820,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GlobalSetPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GuestAttributes
|
class GuestAttributes
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2434,6 +2440,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PreconfiguredWafSet
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Project
|
class Project
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2704,6 +2716,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionSetPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RegionUrlMapsValidateRequest
|
class RegionUrlMapsValidateRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2890,12 +2908,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class RouterAdvertisedPrefix
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class RouterAggregatedList
|
class RouterAggregatedList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3034,6 +3046,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SecurityPoliciesWafConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class SecurityPolicy
|
class SecurityPolicy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3838,6 +3862,72 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class VpnGateway
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class VpnGatewayAggregatedList
|
||||||
|
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 VpnGatewayList
|
||||||
|
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 VpnGatewayVpnGatewayInterface
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class VpnGatewaysScopedList
|
||||||
|
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 VpnTunnel
|
class VpnTunnel
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3898,6 +3988,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class WafExpressionSet
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class WafExpressionSetExpression
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class XpnHostList
|
class XpnHostList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3952,6 +4054,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ZoneSetPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AcceleratorConfig
|
class AcceleratorConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -5045,6 +5153,7 @@ module Google
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :valid_disk_size, as: 'validDiskSize'
|
property :valid_disk_size, as: 'validDiskSize'
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
|
@ -5437,6 +5546,17 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GlobalSetPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :bindings, as: 'bindings', class: Google::Apis::ComputeAlpha::Binding, decorator: Google::Apis::ComputeAlpha::Binding::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::ComputeAlpha::Policy, decorator: Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GuestAttributes
|
class GuestAttributes
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -8415,6 +8535,7 @@ module Google
|
||||||
class PerInstanceConfig
|
class PerInstanceConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||||
property :instance, as: 'instance'
|
property :instance, as: 'instance'
|
||||||
property :override, as: 'override', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Representation
|
property :override, as: 'override', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Representation
|
||||||
|
|
||||||
|
@ -8436,6 +8557,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PreconfiguredWafSet
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :expression_sets, as: 'expressionSets', class: Google::Apis::ComputeAlpha::WafExpressionSet, decorator: Google::Apis::ComputeAlpha::WafExpressionSet::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Project
|
class Project
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -8872,6 +9001,17 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionSetPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :bindings, as: 'bindings', class: Google::Apis::ComputeAlpha::Binding, decorator: Google::Apis::ComputeAlpha::Binding::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::ComputeAlpha::Policy, decorator: Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RegionUrlMapsValidateRequest
|
class RegionUrlMapsValidateRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -9042,7 +9182,6 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :guest_flush, as: 'guestFlush'
|
property :guest_flush, as: 'guestFlush'
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
collection :storage_locations, as: 'storageLocations'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -9205,14 +9344,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RouterAdvertisedPrefix
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :description, as: 'description'
|
|
||||||
property :prefix, as: 'prefix'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RouterAggregatedList
|
class RouterAggregatedList
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -9252,8 +9383,6 @@ module Google
|
||||||
collection :advertised_groups, as: 'advertisedGroups'
|
collection :advertised_groups, as: 'advertisedGroups'
|
||||||
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange::Representation
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange::Representation
|
||||||
|
|
||||||
collection :advertised_prefixs, as: 'advertisedPrefixs', class: Google::Apis::ComputeAlpha::RouterAdvertisedPrefix, decorator: Google::Apis::ComputeAlpha::RouterAdvertisedPrefix::Representation
|
|
||||||
|
|
||||||
property :asn, as: 'asn'
|
property :asn, as: 'asn'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -9265,8 +9394,6 @@ module Google
|
||||||
collection :advertised_groups, as: 'advertisedGroups'
|
collection :advertised_groups, as: 'advertisedGroups'
|
||||||
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange::Representation
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeAlpha::RouterAdvertisedIpRange::Representation
|
||||||
|
|
||||||
collection :advertised_prefixs, as: 'advertisedPrefixs', class: Google::Apis::ComputeAlpha::RouterAdvertisedPrefix, decorator: Google::Apis::ComputeAlpha::RouterAdvertisedPrefix::Representation
|
|
||||||
|
|
||||||
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
||||||
property :interface_name, as: 'interfaceName'
|
property :interface_name, as: 'interfaceName'
|
||||||
property :ip_address, as: 'ipAddress'
|
property :ip_address, as: 'ipAddress'
|
||||||
|
@ -9478,6 +9605,22 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :preconfigured_expression_sets, as: 'preconfiguredExpressionSets', class: Google::Apis::ComputeAlpha::SecurityPoliciesWafConfig, decorator: Google::Apis::ComputeAlpha::SecurityPoliciesWafConfig::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SecurityPoliciesWafConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :waf_rules, as: 'wafRules', class: Google::Apis::ComputeAlpha::PreconfiguredWafSet, decorator: Google::Apis::ComputeAlpha::PreconfiguredWafSet::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class SecurityPolicy
|
class SecurityPolicy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -10875,6 +11018,125 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class VpnGateway
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :id, :numeric_string => true, as: 'id'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :network, as: 'network'
|
||||||
|
property :redundancy, as: 'redundancy'
|
||||||
|
property :region, as: 'region'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
collection :vpn_interfaces, as: 'vpnInterfaces', class: Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface, decorator: Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class VpnGatewayAggregatedList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::VpnGatewaysScopedList, decorator: Google::Apis::ComputeAlpha::VpnGatewaysScopedList::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::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 VpnGatewayList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::VpnGateway, decorator: Google::Apis::ComputeAlpha::VpnGateway::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::VpnGatewayList::Warning, decorator: Google::Apis::ComputeAlpha::VpnGatewayList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::VpnGatewayList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::VpnGatewayList::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 VpnGatewayVpnGatewayInterface
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :ip_address, as: 'ipAddress'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class VpnGatewaysScopedList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :vpn_gateways, as: 'vpnGateways', class: Google::Apis::ComputeAlpha::VpnGateway, decorator: Google::Apis::ComputeAlpha::VpnGateway::Representation
|
||||||
|
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::VpnGatewaysScopedList::Warning, decorator: Google::Apis::ComputeAlpha::VpnGatewaysScopedList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::VpnGatewaysScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::VpnGatewaysScopedList::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 VpnTunnel
|
class VpnTunnel
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -10897,6 +11159,8 @@ module Google
|
||||||
property :shared_secret_hash, as: 'sharedSecretHash'
|
property :shared_secret_hash, as: 'sharedSecretHash'
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
property :target_vpn_gateway, as: 'targetVpnGateway'
|
property :target_vpn_gateway, as: 'targetVpnGateway'
|
||||||
|
property :vpn_gateway, as: 'vpnGateway'
|
||||||
|
property :vpn_gateway_interface, as: 'vpnGatewayInterface'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -10992,6 +11256,23 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class WafExpressionSet
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :aliases, as: 'aliases'
|
||||||
|
collection :expressions, as: 'expressions', class: Google::Apis::ComputeAlpha::WafExpressionSetExpression, decorator: Google::Apis::ComputeAlpha::WafExpressionSetExpression::Representation
|
||||||
|
|
||||||
|
property :id, as: 'id'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class WafExpressionSetExpression
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class XpnHostList
|
class XpnHostList
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -11088,6 +11369,17 @@ module Google
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ZoneSetPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :bindings, as: 'bindings', class: Google::Apis::ComputeAlpha::Binding, decorator: Google::Apis::ComputeAlpha::Binding::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::ComputeAlpha::Policy, decorator: Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -122,8 +122,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the specified accelerator type. Gets a list of available accelerator
|
# Returns the specified accelerator type.
|
||||||
# types by making a list() request.
|
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
|
@ -1467,7 +1466,7 @@ module Google
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -1487,10 +1486,10 @@ 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 set_backend_bucket_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_backend_bucket_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/global/backendBuckets/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/global/backendBuckets/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = global_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -2962,7 +2961,7 @@ module Google
|
||||||
# The name of the zone for this request.
|
# The name of the zone for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::ZoneSetPolicyRequest] zone_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -2982,10 +2981,10 @@ 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 set_disk_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = zone_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -5811,7 +5810,7 @@ module Google
|
||||||
# The name of the zone for this request.
|
# The name of the zone for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::ZoneSetPolicyRequest] zone_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -5831,10 +5830,10 @@ 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 set_host_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_host_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/zones/{zone}/hosts/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/zones/{zone}/hosts/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = zone_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -6932,7 +6931,7 @@ module Google
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -6952,10 +6951,10 @@ 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 set_image_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = global_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -10166,7 +10165,7 @@ module Google
|
||||||
# The name of the zone for this request.
|
# The name of the zone for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::ZoneSetPolicyRequest] zone_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -10186,10 +10185,10 @@ 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 set_instance_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = zone_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -11564,7 +11563,7 @@ module Google
|
||||||
# The name of the region for this request.
|
# The name of the region for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -11584,10 +11583,10 @@ 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 set_interconnect_attachment_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_interconnect_attachment_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = region_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -11892,7 +11891,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the specified interconnect. Gets a list of available interconnects by
|
# Returns the specified interconnect. Get a list of available interconnects by
|
||||||
# making a list() request.
|
# making a list() request.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -12145,7 +12144,7 @@ module Google
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -12165,10 +12164,10 @@ 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 set_interconnect_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_interconnect_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = global_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -12338,7 +12337,7 @@ module Google
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -12358,10 +12357,10 @@ 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 set_license_code_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_license_code_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = global_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -12582,7 +12581,7 @@ module Google
|
||||||
|
|
||||||
# Retrieves the list of licenses available in the specified project. This method
|
# Retrieves the list of licenses available in the specified project. This method
|
||||||
# does not get any licenses that belong to other projects, including licenses
|
# does not get any licenses that belong to other projects, including licenses
|
||||||
# attached to publicly-available images, like Debian 8. If you want to get a
|
# attached to publicly-available images, like Debian 9. If you want to get a
|
||||||
# list of publicly-available licenses, use this method to make a request to the
|
# list of publicly-available licenses, use this method to make a request to the
|
||||||
# respective image project, such as debian-cloud or windows-cloud.
|
# respective image project, such as debian-cloud or windows-cloud.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
|
@ -12661,7 +12660,7 @@ module Google
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -12681,10 +12680,10 @@ 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 set_license_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = global_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -14434,7 +14433,7 @@ module Google
|
||||||
# The name of the zone for this request.
|
# The name of the zone for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::ZoneSetPolicyRequest] zone_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -14454,10 +14453,10 @@ 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 set_node_group_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = zone_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -14901,7 +14900,7 @@ module Google
|
||||||
# The name of the region for this request.
|
# The name of the region for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -14921,10 +14920,10 @@ 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 set_node_template_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_node_template_iam_policy(project, region, resource, region_set_policy_request_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 = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = region_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -20455,7 +20454,7 @@ module Google
|
||||||
# The name of the region for this request.
|
# The name of the region for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -20475,10 +20474,10 @@ 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 set_resource_policy_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_resource_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = region_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -21586,6 +21585,78 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Gets the current list of preconfigured Web Application Firewall (WAF)
|
||||||
|
# expressions.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
|
||||||
|
#
|
||||||
|
# @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_security_policy_preconfigured_expression_sets(project, 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}/global/securityPolicies/listPreconfiguredExpressionSets', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
||||||
|
command.params['project'] = project unless project.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
|
||||||
|
|
||||||
# Patches the specified policy with the data included in the request.
|
# Patches the specified policy with the data included in the request.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -21964,7 +22035,7 @@ module Google
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -21984,10 +22055,10 @@ 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 set_snapshot_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = global_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -23211,7 +23282,7 @@ module Google
|
||||||
# The name of the region for this request.
|
# The name of the region for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -23231,10 +23302,10 @@ 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 set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = region_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
@ -26768,6 +26839,391 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Retrieves an aggregated list of VPN gateways.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::VpnGatewayAggregatedList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::VpnGatewayAggregatedList]
|
||||||
|
#
|
||||||
|
# @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 aggregated_vpn_gateway_list(project, 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}/aggregated/vpnGateways', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList
|
||||||
|
command.params['project'] = project unless project.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
|
||||||
|
|
||||||
|
# Deletes the specified VPN gateway.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] vpn_gateway
|
||||||
|
# Name of the VPN gateway to delete.
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::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 delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.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
|
||||||
|
|
||||||
|
# Returns the specified VPN gateway. Gets a list of available VPN gateways by
|
||||||
|
# making a list() request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] vpn_gateway
|
||||||
|
# Name of the VPN gateway to return.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::VpnGateway] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::VpnGateway]
|
||||||
|
#
|
||||||
|
# @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_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::VpnGateway::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::VpnGateway
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['vpnGateway'] = vpn_gateway unless vpn_gateway.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
|
||||||
|
|
||||||
|
# Creates a VPN gateway in the specified project and region using the data
|
||||||
|
# included in the request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [Google::Apis::ComputeAlpha::VpnGateway] vpn_gateway_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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::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 insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeAlpha::VpnGateway::Representation
|
||||||
|
command.request_object = vpn_gateway_object
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.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 a list of VPN gateways available to the specified project and region.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::VpnGatewayList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::VpnGatewayList]
|
||||||
|
#
|
||||||
|
# @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_vpn_gateways(project, region, 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}/regions/{region}/vpnGateways', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::VpnGatewayList
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.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
|
||||||
|
|
||||||
|
# Sets the labels on a VpnGateway. To learn more about labels, read the Labeling
|
||||||
|
# Resources documentation.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# The region for this request.
|
||||||
|
# @param [String] resource
|
||||||
|
# Name of the resource for this request.
|
||||||
|
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeAlpha::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 set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways/{resource}/setLabels', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation
|
||||||
|
command.request_object = region_set_labels_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['resource'] = resource unless resource.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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @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_vpn_gateway_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}/vpnGateways/{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
|
||||||
|
|
||||||
# Retrieves an aggregated list of VPN tunnels.
|
# Retrieves an aggregated list of VPN tunnels.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -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 = '20180427'
|
REVISION = '20180428'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -2936,7 +2936,7 @@ module Google
|
||||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
||||||
# authenticated with a Google account or a service account.
|
# authenticated with a Google account or a service account.
|
||||||
# * `user:`emailid``: An email address that represents a specific Google account.
|
# * `user:`emailid``: An email address that represents a specific Google account.
|
||||||
# For example, `alice@gmail.com` or `joe@example.com`.
|
# For example, `alice@gmail.com` .
|
||||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group. For
|
# * `group:`emailid``: An email address that represents a Google group. For
|
||||||
|
@ -4289,6 +4289,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the disk type resides. Only applicable
|
||||||
|
# for 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`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -4320,6 +4327,7 @@ module Google
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@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)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
||||||
@zone = args[:zone] if args.key?(:zone)
|
@zone = args[:zone] if args.key?(:zone)
|
||||||
|
@ -12861,7 +12869,8 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# [Output Only] Reserved for future use.
|
# [Output Only] The value of `requestId` if you provided it in the request. Not
|
||||||
|
# present otherwise.
|
||||||
# Corresponds to the JSON property `clientOperationId`
|
# Corresponds to the JSON property `clientOperationId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :client_operation_id
|
attr_accessor :client_operation_id
|
||||||
|
@ -14967,6 +14976,56 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class RegionSetPolicyRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify bindings.
|
||||||
|
# Corresponds to the JSON property `bindings`
|
||||||
|
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
||||||
|
attr_accessor :bindings
|
||||||
|
|
||||||
|
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
||||||
|
# policy' to specify the etag.
|
||||||
|
# Corresponds to the JSON property `etag`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :etag
|
||||||
|
|
||||||
|
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||||
|
# access control policies for Cloud Platform resources.
|
||||||
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||||
|
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||||
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||||
|
# defined by IAM.
|
||||||
|
# **JSON Example**
|
||||||
|
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||||
|
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||||
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||||
|
# sean@example.com"] ` ] `
|
||||||
|
# **YAML Example**
|
||||||
|
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||||
|
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||||
|
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||||
|
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||||
|
# https://cloud.google.com/iam/docs).
|
||||||
|
# Corresponds to the JSON property `policy`
|
||||||
|
# @return [Google::Apis::ComputeBeta::Policy]
|
||||||
|
attr_accessor :policy
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@bindings = args[:bindings] if args.key?(:bindings)
|
||||||
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
|
@policy = args[:policy] if args.key?(:policy)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Commitment for a particular resource (a Commitment is composed of one or more
|
# Commitment for a particular resource (a Commitment is composed of one or more
|
||||||
# of these).
|
# of these).
|
||||||
class ResourceCommitment
|
class ResourceCommitment
|
||||||
|
|
|
@ -2008,6 +2008,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionSetPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceCommitment
|
class ResourceCommitment
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -4035,6 +4041,7 @@ module Google
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :valid_disk_size, as: 'validDiskSize'
|
property :valid_disk_size, as: 'validDiskSize'
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
|
@ -6707,6 +6714,17 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionSetPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation
|
||||||
|
|
||||||
|
property :etag, :base64 => true, as: 'etag'
|
||||||
|
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceCommitment
|
class ResourceCommitment
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -122,8 +122,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the specified accelerator type. Gets a list of available accelerator
|
# Returns the specified accelerator type.
|
||||||
# types by making a list() request.
|
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
|
@ -9878,7 +9877,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the specified interconnect. Gets a list of available interconnects by
|
# Returns the specified interconnect. Get a list of available interconnects by
|
||||||
# making a list() request.
|
# making a list() request.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -10338,7 +10337,7 @@ module Google
|
||||||
|
|
||||||
# Retrieves the list of licenses available in the specified project. This method
|
# Retrieves the list of licenses available in the specified project. This method
|
||||||
# does not get any licenses that belong to other projects, including licenses
|
# does not get any licenses that belong to other projects, including licenses
|
||||||
# attached to publicly-available images, like Debian 8. If you want to get a
|
# attached to publicly-available images, like Debian 9. If you want to get a
|
||||||
# list of publicly-available licenses, use this method to make a request to the
|
# list of publicly-available licenses, use this method to make a request to the
|
||||||
# respective image project, such as debian-cloud or windows-cloud.
|
# respective image project, such as debian-cloud or windows-cloud.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
|
@ -17185,7 +17184,7 @@ module Google
|
||||||
# The name of the region for this request.
|
# The name of the region for this request.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# Name of the resource for this request.
|
# Name of the resource for this request.
|
||||||
# @param [Google::Apis::ComputeBeta::Policy] policy_object
|
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -17205,10 +17204,10 @@ 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 set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
||||||
command.request_representation = Google::Apis::ComputeBeta::Policy::Representation
|
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
||||||
command.request_object = policy_object
|
command.request_object = region_set_policy_request_object
|
||||||
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
||||||
command.response_class = Google::Apis::ComputeBeta::Policy
|
command.response_class = Google::Apis::ComputeBeta::Policy
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
|
|
|
@ -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 = '20180427'
|
REVISION = '20180428'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -3398,6 +3398,19 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :options
|
attr_accessor :options
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the disk resides. Only applicable for
|
||||||
|
# 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`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
|
# URLs of the zones where the disk should be replicated to. Only applicable for
|
||||||
|
# regional resources.
|
||||||
|
# Corresponds to the JSON property `replicaZones`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :replica_zones
|
||||||
|
|
||||||
# [Output Only] Server-defined fully-qualified URL for this resource.
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -3516,6 +3529,8 @@ module Google
|
||||||
@licenses = args[:licenses] if args.key?(:licenses)
|
@licenses = args[:licenses] if args.key?(:licenses)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@options = args[:options] if args.key?(:options)
|
@options = args[:options] if args.key?(:options)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
||||||
@source_image = args[:source_image] if args.key?(:source_image)
|
@source_image = args[:source_image] if args.key?(:source_image)
|
||||||
|
@ -3840,6 +3855,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the disk type resides. Only applicable
|
||||||
|
# for 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`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -3871,6 +3893,7 @@ module Google
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@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)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
||||||
@zone = args[:zone] if args.key?(:zone)
|
@zone = args[:zone] if args.key?(:zone)
|
||||||
|
@ -11537,7 +11560,8 @@ module Google
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# [Output Only] Reserved for future use.
|
# [Output Only] The value of `requestId` if you provided it in the request. Not
|
||||||
|
# present otherwise.
|
||||||
# Corresponds to the JSON property `clientOperationId`
|
# Corresponds to the JSON property `clientOperationId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :client_operation_id
|
attr_accessor :client_operation_id
|
||||||
|
@ -12680,6 +12704,143 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class RegionDiskTypeList
|
||||||
|
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 DiskType resources.
|
||||||
|
# Corresponds to the JSON property `items`
|
||||||
|
# @return [Array<Google::Apis::ComputeV1::DiskType>]
|
||||||
|
attr_accessor :items
|
||||||
|
|
||||||
|
# [Output Only] Type of resource. Always compute#regionDiskTypeList for region
|
||||||
|
# disk types.
|
||||||
|
# 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::RegionDiskTypeList::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::RegionDiskTypeList::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 RegionDisksResizeRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The new size of the regional persistent disk, which is specified in GB.
|
||||||
|
# Corresponds to the JSON property `sizeGb`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :size_gb
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Contains a list of InstanceGroup resources.
|
# Contains a list of InstanceGroup resources.
|
||||||
class RegionInstanceGroupList
|
class RegionInstanceGroupList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -13338,6 +13499,36 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class RegionSetLabelsRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The fingerprint of the previous set of labels for this resource, used to
|
||||||
|
# detect conflicts. The fingerprint is initially generated by Compute Engine and
|
||||||
|
# changes after every request to modify or update labels. You must always
|
||||||
|
# provide an up-to-date fingerprint hash in order to update or change labels.
|
||||||
|
# Make a get() request to the resource to get the latest fingerprint.
|
||||||
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
|
# The labels to set for this resource.
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Commitment for a particular resource (a Commitment is composed of one or more
|
# Commitment for a particular resource (a Commitment is composed of one or more
|
||||||
# of these).
|
# of these).
|
||||||
class ResourceCommitment
|
class ResourceCommitment
|
||||||
|
@ -15446,6 +15637,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
|
||||||
|
@ -15534,6 +15731,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@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)
|
||||||
|
|
|
@ -1702,6 +1702,30 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionDiskTypeList
|
||||||
|
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 RegionDisksResizeRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RegionInstanceGroupList
|
class RegionInstanceGroupList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1822,6 +1846,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionSetLabelsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceCommitment
|
class ResourceCommitment
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3564,6 +3594,8 @@ module Google
|
||||||
collection :licenses, as: 'licenses'
|
collection :licenses, as: 'licenses'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :options, as: 'options'
|
property :options, as: 'options'
|
||||||
|
property :region, as: 'region'
|
||||||
|
collection :replica_zones, as: 'replicaZones'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
||||||
property :source_image, as: 'sourceImage'
|
property :source_image, as: 'sourceImage'
|
||||||
|
@ -3664,6 +3696,7 @@ module Google
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :valid_disk_size, as: 'validDiskSize'
|
property :valid_disk_size, as: 'validDiskSize'
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
|
@ -5875,6 +5908,45 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionDiskTypeList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
collection :items, as: 'items', class: Google::Apis::ComputeV1::DiskType, decorator: Google::Apis::ComputeV1::DiskType::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeV1::RegionDiskTypeList::Warning, decorator: Google::Apis::ComputeV1::RegionDiskTypeList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeV1::RegionDiskTypeList::Warning::Datum, decorator: Google::Apis::ComputeV1::RegionDiskTypeList::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 RegionDisksResizeRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RegionInstanceGroupList
|
class RegionInstanceGroupList
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -6064,6 +6136,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RegionSetLabelsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceCommitment
|
class ResourceCommitment
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -6588,6 +6668,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
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'
|
||||||
|
|
|
@ -122,8 +122,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the specified accelerator type. Gets a list of available accelerator
|
# Returns the specified accelerator type.
|
||||||
# types by making a list() request.
|
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
|
@ -6516,6 +6515,9 @@ module Google
|
||||||
# @param [String] instance
|
# @param [String] instance
|
||||||
# The instance name for this request.
|
# The instance name for this request.
|
||||||
# @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object
|
# @param [Google::Apis::ComputeV1::AttachedDisk] attached_disk_object
|
||||||
|
# @param [Boolean] force_attach
|
||||||
|
# Whether to force attach the disk even if it's currently attached to another
|
||||||
|
# instance. This is only available for regional disks.
|
||||||
# @param [String] request_id
|
# @param [String] request_id
|
||||||
# An optional request ID to identify requests. Specify a unique request ID so
|
# 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
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
@ -6546,7 +6548,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 attach_disk(project, zone, instance, attached_disk_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
def attach_disk(project, zone, instance, attached_disk_object = nil, force_attach: 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}/attachDisk', options)
|
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options)
|
||||||
command.request_representation = Google::Apis::ComputeV1::AttachedDisk::Representation
|
command.request_representation = Google::Apis::ComputeV1::AttachedDisk::Representation
|
||||||
command.request_object = attached_disk_object
|
command.request_object = attached_disk_object
|
||||||
|
@ -6555,6 +6557,7 @@ module Google
|
||||||
command.params['project'] = project unless project.nil?
|
command.params['project'] = project unless project.nil?
|
||||||
command.params['zone'] = zone unless zone.nil?
|
command.params['zone'] = zone unless zone.nil?
|
||||||
command.params['instance'] = instance unless instance.nil?
|
command.params['instance'] = instance unless instance.nil?
|
||||||
|
command.query['forceAttach'] = force_attach unless force_attach.nil?
|
||||||
command.query['requestId'] = request_id unless request_id.nil?
|
command.query['requestId'] = request_id unless request_id.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?
|
||||||
|
@ -8351,7 +8354,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the specified interconnect. Gets a list of available interconnects by
|
# Returns the specified interconnect. Get a list of available interconnects by
|
||||||
# making a list() request.
|
# making a list() request.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -8771,7 +8774,7 @@ module Google
|
||||||
|
|
||||||
# Retrieves the list of licenses available in the specified project. This method
|
# Retrieves the list of licenses available in the specified project. This method
|
||||||
# does not get any licenses that belong to other projects, including licenses
|
# does not get any licenses that belong to other projects, including licenses
|
||||||
# attached to publicly-available images, like Debian 8. If you want to get a
|
# attached to publicly-available images, like Debian 9. If you want to get a
|
||||||
# list of publicly-available licenses, use this method to make a request to the
|
# list of publicly-available licenses, use this method to make a request to the
|
||||||
# respective image project, such as debian-cloud or windows-cloud.
|
# respective image project, such as debian-cloud or windows-cloud.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
|
@ -10950,6 +10953,546 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Returns the specified regional disk type. Gets a list of available disk types
|
||||||
|
# by making a list() request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# The name of the region for this request.
|
||||||
|
# @param [String] disk_type
|
||||||
|
# Name of the disk type to return.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::DiskType] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::DiskType]
|
||||||
|
#
|
||||||
|
# @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_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::DiskType::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::DiskType
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['diskType'] = disk_type unless disk_type.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 a list of regional disk types available to the specified project.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# The name of the region for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::RegionDiskTypeList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::RegionDiskTypeList]
|
||||||
|
#
|
||||||
|
# @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_region_disk_types(project, region, 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}/regions/{region}/diskTypes', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::RegionDiskTypeList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::RegionDiskTypeList
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.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
|
||||||
|
|
||||||
|
# Creates a snapshot of this regional disk.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] disk
|
||||||
|
# Name of the regional persistent disk to snapshot.
|
||||||
|
# @param [Google::Apis::ComputeV1::Snapshot] snapshot_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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @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 create_region_disk_snapshot(project, region, disk, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::Snapshot::Representation
|
||||||
|
command.request_object = snapshot_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['region'] = region unless region.nil?
|
||||||
|
command.params['disk'] = disk unless disk.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
|
||||||
|
|
||||||
|
# Deletes the specified regional persistent disk. Deleting a regional disk
|
||||||
|
# removes all the replicas of its data permanently and is irreversible. However,
|
||||||
|
# deleting a disk does not delete any snapshots previously made from the disk.
|
||||||
|
# You must separately delete snapshots.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] disk
|
||||||
|
# Name of the regional persistent disk to delete.
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @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 delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['disk'] = disk unless disk.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
|
||||||
|
|
||||||
|
# Returns a specified regional persistent disk.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] disk
|
||||||
|
# Name of the regional persistent disk to return.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Disk] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::Disk]
|
||||||
|
#
|
||||||
|
# @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_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Disk::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Disk
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['disk'] = disk unless disk.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
|
||||||
|
|
||||||
|
# Creates a persistent regional disk in the specified project using the data
|
||||||
|
# included in the request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [Google::Apis::ComputeV1::Disk] disk_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] source_image
|
||||||
|
# Optional. Source image to restore onto a disk.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @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 insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/disks', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::Disk::Representation
|
||||||
|
command.request_object = disk_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['region'] = region unless region.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['sourceImage'] = source_image unless source_image.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 the list of persistent disks contained within the specified region.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::DiskList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::DiskList]
|
||||||
|
#
|
||||||
|
# @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_region_disks(project, region, 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}/regions/{region}/disks', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::DiskList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::DiskList
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.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
|
||||||
|
|
||||||
|
# Resizes the specified regional persistent disk.
|
||||||
|
# @param [String] project
|
||||||
|
# The project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] disk
|
||||||
|
# Name of the regional persistent disk.
|
||||||
|
# @param [Google::Apis::ComputeV1::RegionDisksResizeRequest] region_disks_resize_request_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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @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 resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::RegionDisksResizeRequest::Representation
|
||||||
|
command.request_object = region_disks_resize_request_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['region'] = region unless region.nil?
|
||||||
|
command.params['disk'] = disk unless disk.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
|
||||||
|
|
||||||
|
# Sets the labels on the target regional disk.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# The region for this request.
|
||||||
|
# @param [String] resource
|
||||||
|
# Name of the resource for this request.
|
||||||
|
# @param [Google::Apis::ComputeV1::RegionSetLabelsRequest] region_set_labels_request_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
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @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 set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::RegionSetLabelsRequest::Representation
|
||||||
|
command.request_object = region_set_labels_request_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['region'] = region unless region.nil?
|
||||||
|
command.params['resource'] = resource unless resource.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
|
||||||
|
|
||||||
|
# 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::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::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_region_disk_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}/disks/{resource}/testIamPermissions', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
||||||
|
command.request_object = test_permissions_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::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
|
||||||
|
|
||||||
# Schedules a group action to remove the specified instances from the managed
|
# Schedules a group action to remove the specified instances from the managed
|
||||||
# instance group. Abandoning an instance does not delete the instance, but it
|
# instance group. Abandoning an instance does not delete the instance, but it
|
||||||
# does remove the instance from any target pools that are applied by the managed
|
# does remove the instance from any target pools that are applied by the managed
|
||||||
|
|
Loading…
Reference in New Issue