Autogenerated update (2018-06-09)

Update:
- bigquery_v2
- cloudtrace_v1
- cloudtrace_v2
- compute_beta
- compute_v1
- jobs_v2
- partners_v2
This commit is contained in:
Google APIs 2018-06-09 00:37:07 +00:00
parent 17fb47d340
commit 2d9b946679
16 changed files with 2375 additions and 18 deletions

View File

@ -23142,7 +23142,10 @@
"/compute:beta/Address/labels": labels
"/compute:beta/Address/labels/label": label
"/compute:beta/Address/name": name
"/compute:beta/Address/network": network
"/compute:beta/Address/networkTier": network_tier
"/compute:beta/Address/prefixLength": prefix_length
"/compute:beta/Address/purpose": purpose
"/compute:beta/Address/region": region
"/compute:beta/Address/selfLink": self_link
"/compute:beta/Address/status": status
@ -23306,8 +23309,10 @@
"/compute:beta/Backend/description": description
"/compute:beta/Backend/group": group
"/compute:beta/Backend/maxConnections": max_connections
"/compute:beta/Backend/maxConnectionsPerEndpoint": max_connections_per_endpoint
"/compute:beta/Backend/maxConnectionsPerInstance": max_connections_per_instance
"/compute:beta/Backend/maxRate": max_rate
"/compute:beta/Backend/maxRatePerEndpoint": max_rate_per_endpoint
"/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance
"/compute:beta/Backend/maxUtilization": max_utilization
"/compute:beta/BackendBucket": backend_bucket
@ -23407,6 +23412,8 @@
"/compute:beta/BackendServiceList/warning/data/datum/key": key
"/compute:beta/BackendServiceList/warning/data/datum/value": value
"/compute:beta/BackendServiceList/warning/message": message
"/compute:beta/BackendServiceReference": backend_service_reference
"/compute:beta/BackendServiceReference/backendService": backend_service
"/compute:beta/BackendServicesScopedList": backend_services_scoped_list
"/compute:beta/BackendServicesScopedList/backendServices": backend_services
"/compute:beta/BackendServicesScopedList/backendServices/backend_service": backend_service
@ -23760,6 +23767,8 @@
"/compute:beta/ForwardingRuleList/warning/data/datum/key": key
"/compute:beta/ForwardingRuleList/warning/data/datum/value": value
"/compute:beta/ForwardingRuleList/warning/message": message
"/compute:beta/ForwardingRuleReference": forwarding_rule_reference
"/compute:beta/ForwardingRuleReference/forwardingRule": forwarding_rule
"/compute:beta/ForwardingRulesScopedList": forwarding_rules_scoped_list
"/compute:beta/ForwardingRulesScopedList/forwardingRules": forwarding_rules
"/compute:beta/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule
@ -23780,6 +23789,7 @@
"/compute:beta/HTTP2HealthCheck/host": host
"/compute:beta/HTTP2HealthCheck/port": port
"/compute:beta/HTTP2HealthCheck/portName": port_name
"/compute:beta/HTTP2HealthCheck/portSpecification": port_specification
"/compute:beta/HTTP2HealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTP2HealthCheck/requestPath": request_path
"/compute:beta/HTTP2HealthCheck/response": response
@ -23787,6 +23797,7 @@
"/compute:beta/HTTPHealthCheck/host": host
"/compute:beta/HTTPHealthCheck/port": port
"/compute:beta/HTTPHealthCheck/portName": port_name
"/compute:beta/HTTPHealthCheck/portSpecification": port_specification
"/compute:beta/HTTPHealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTPHealthCheck/requestPath": request_path
"/compute:beta/HTTPHealthCheck/response": response
@ -23794,6 +23805,7 @@
"/compute:beta/HTTPSHealthCheck/host": host
"/compute:beta/HTTPSHealthCheck/port": port
"/compute:beta/HTTPSHealthCheck/portName": port_name
"/compute:beta/HTTPSHealthCheck/portSpecification": port_specification
"/compute:beta/HTTPSHealthCheck/proxyHeader": proxy_header
"/compute:beta/HTTPSHealthCheck/requestPath": request_path
"/compute:beta/HTTPSHealthCheck/response": response
@ -23836,6 +23848,11 @@
"/compute:beta/HealthStatus/instance": instance
"/compute:beta/HealthStatus/ipAddress": ip_address
"/compute:beta/HealthStatus/port": port
"/compute:beta/HealthStatusForNetworkEndpoint": health_status_for_network_endpoint
"/compute:beta/HealthStatusForNetworkEndpoint/backendService": backend_service
"/compute:beta/HealthStatusForNetworkEndpoint/forwardingRule": forwarding_rule
"/compute:beta/HealthStatusForNetworkEndpoint/healthCheck": health_check
"/compute:beta/HealthStatusForNetworkEndpoint/healthState": health_state
"/compute:beta/HostRule": host_rule
"/compute:beta/HostRule/description": description
"/compute:beta/HostRule/hosts": hosts
@ -24613,6 +24630,89 @@
"/compute:beta/Network/selfLink": self_link
"/compute:beta/Network/subnetworks": subnetworks
"/compute:beta/Network/subnetworks/subnetwork": subnetwork
"/compute:beta/NetworkEndpoint": network_endpoint
"/compute:beta/NetworkEndpoint/instance": instance
"/compute:beta/NetworkEndpoint/ipAddress": ip_address
"/compute:beta/NetworkEndpoint/port": port
"/compute:beta/NetworkEndpointGroup": network_endpoint_group
"/compute:beta/NetworkEndpointGroup/creationTimestamp": creation_timestamp
"/compute:beta/NetworkEndpointGroup/description": description
"/compute:beta/NetworkEndpointGroup/id": id
"/compute:beta/NetworkEndpointGroup/kind": kind
"/compute:beta/NetworkEndpointGroup/loadBalancer": load_balancer
"/compute:beta/NetworkEndpointGroup/name": name
"/compute:beta/NetworkEndpointGroup/networkEndpointType": network_endpoint_type
"/compute:beta/NetworkEndpointGroup/selfLink": self_link
"/compute:beta/NetworkEndpointGroup/size": size
"/compute:beta/NetworkEndpointGroup/type": type
"/compute:beta/NetworkEndpointGroupAggregatedList": network_endpoint_group_aggregated_list
"/compute:beta/NetworkEndpointGroupAggregatedList/id": id
"/compute:beta/NetworkEndpointGroupAggregatedList/items": items
"/compute:beta/NetworkEndpointGroupAggregatedList/items/item": item
"/compute:beta/NetworkEndpointGroupAggregatedList/kind": kind
"/compute:beta/NetworkEndpointGroupAggregatedList/nextPageToken": next_page_token
"/compute:beta/NetworkEndpointGroupAggregatedList/selfLink": self_link
"/compute:beta/NetworkEndpointGroupAggregatedList/warning": warning
"/compute:beta/NetworkEndpointGroupAggregatedList/warning/code": code
"/compute:beta/NetworkEndpointGroupAggregatedList/warning/data": data
"/compute:beta/NetworkEndpointGroupAggregatedList/warning/data/datum": datum
"/compute:beta/NetworkEndpointGroupAggregatedList/warning/data/datum/key": key
"/compute:beta/NetworkEndpointGroupAggregatedList/warning/data/datum/value": value
"/compute:beta/NetworkEndpointGroupAggregatedList/warning/message": message
"/compute:beta/NetworkEndpointGroupLbNetworkEndpointGroup": network_endpoint_group_lb_network_endpoint_group
"/compute:beta/NetworkEndpointGroupLbNetworkEndpointGroup/defaultPort": default_port
"/compute:beta/NetworkEndpointGroupLbNetworkEndpointGroup/network": network
"/compute:beta/NetworkEndpointGroupLbNetworkEndpointGroup/subnetwork": subnetwork
"/compute:beta/NetworkEndpointGroupLbNetworkEndpointGroup/zone": zone
"/compute:beta/NetworkEndpointGroupList": network_endpoint_group_list
"/compute:beta/NetworkEndpointGroupList/id": id
"/compute:beta/NetworkEndpointGroupList/items": items
"/compute:beta/NetworkEndpointGroupList/items/item": item
"/compute:beta/NetworkEndpointGroupList/kind": kind
"/compute:beta/NetworkEndpointGroupList/nextPageToken": next_page_token
"/compute:beta/NetworkEndpointGroupList/selfLink": self_link
"/compute:beta/NetworkEndpointGroupList/warning": warning
"/compute:beta/NetworkEndpointGroupList/warning/code": code
"/compute:beta/NetworkEndpointGroupList/warning/data": data
"/compute:beta/NetworkEndpointGroupList/warning/data/datum": datum
"/compute:beta/NetworkEndpointGroupList/warning/data/datum/key": key
"/compute:beta/NetworkEndpointGroupList/warning/data/datum/value": value
"/compute:beta/NetworkEndpointGroupList/warning/message": message
"/compute:beta/NetworkEndpointGroupsAttachEndpointsRequest": network_endpoint_groups_attach_endpoints_request
"/compute:beta/NetworkEndpointGroupsAttachEndpointsRequest/networkEndpoints": network_endpoints
"/compute:beta/NetworkEndpointGroupsAttachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
"/compute:beta/NetworkEndpointGroupsDetachEndpointsRequest": network_endpoint_groups_detach_endpoints_request
"/compute:beta/NetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints": network_endpoints
"/compute:beta/NetworkEndpointGroupsDetachEndpointsRequest/networkEndpoints/network_endpoint": network_endpoint
"/compute:beta/NetworkEndpointGroupsListEndpointsRequest": network_endpoint_groups_list_endpoints_request
"/compute:beta/NetworkEndpointGroupsListEndpointsRequest/healthStatus": health_status
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints": network_endpoint_groups_list_network_endpoints
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/id": id
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/items": items
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/items/item": item
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/kind": kind
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/nextPageToken": next_page_token
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning": warning
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning/code": code
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning/data": data
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning/data/datum": datum
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning/data/datum/key": key
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning/data/datum/value": value
"/compute:beta/NetworkEndpointGroupsListNetworkEndpoints/warning/message": message
"/compute:beta/NetworkEndpointGroupsScopedList": network_endpoint_groups_scoped_list
"/compute:beta/NetworkEndpointGroupsScopedList/networkEndpointGroups": network_endpoint_groups
"/compute:beta/NetworkEndpointGroupsScopedList/networkEndpointGroups/network_endpoint_group": network_endpoint_group
"/compute:beta/NetworkEndpointGroupsScopedList/warning": warning
"/compute:beta/NetworkEndpointGroupsScopedList/warning/code": code
"/compute:beta/NetworkEndpointGroupsScopedList/warning/data": data
"/compute:beta/NetworkEndpointGroupsScopedList/warning/data/datum": datum
"/compute:beta/NetworkEndpointGroupsScopedList/warning/data/datum/key": key
"/compute:beta/NetworkEndpointGroupsScopedList/warning/data/datum/value": value
"/compute:beta/NetworkEndpointGroupsScopedList/warning/message": message
"/compute:beta/NetworkEndpointWithHealthStatus": network_endpoint_with_health_status
"/compute:beta/NetworkEndpointWithHealthStatus/healths": healths
"/compute:beta/NetworkEndpointWithHealthStatus/healths/health": health
"/compute:beta/NetworkEndpointWithHealthStatus/networkEndpoint": network_endpoint
"/compute:beta/NetworkInterface": network_interface
"/compute:beta/NetworkInterface/accessConfigs": access_configs
"/compute:beta/NetworkInterface/accessConfigs/access_config": access_config
@ -24915,6 +25015,9 @@
"/compute:beta/Policy/rules": rules
"/compute:beta/Policy/rules/rule": rule
"/compute:beta/Policy/version": version
"/compute:beta/PreconfiguredWafSet": preconfigured_waf_set
"/compute:beta/PreconfiguredWafSet/expressionSets": expression_sets
"/compute:beta/PreconfiguredWafSet/expressionSets/expression_set": expression_set
"/compute:beta/Project": project
"/compute:beta/Project/commonInstanceMetadata": common_instance_metadata
"/compute:beta/Project/creationTimestamp": creation_timestamp
@ -25257,6 +25360,7 @@
"/compute:beta/SSLHealthCheck": ssl_health_check
"/compute:beta/SSLHealthCheck/port": port
"/compute:beta/SSLHealthCheck/portName": port_name
"/compute:beta/SSLHealthCheck/portSpecification": port_specification
"/compute:beta/SSLHealthCheck/proxyHeader": proxy_header
"/compute:beta/SSLHealthCheck/request": request
"/compute:beta/SSLHealthCheck/response": response
@ -25277,6 +25381,10 @@
"/compute:beta/SecurityPoliciesList/items/item": item
"/compute:beta/SecurityPoliciesList/kind": kind
"/compute:beta/SecurityPoliciesList/nextPageToken": next_page_token
"/compute:beta/SecurityPoliciesListPreconfiguredExpressionSetsResponse": security_policies_list_preconfigured_expression_sets_response
"/compute:beta/SecurityPoliciesListPreconfiguredExpressionSetsResponse/preconfiguredExpressionSets": preconfigured_expression_sets
"/compute:beta/SecurityPoliciesWafConfig": security_policies_waf_config
"/compute:beta/SecurityPoliciesWafConfig/wafRules": waf_rules
"/compute:beta/SecurityPolicy": security_policy
"/compute:beta/SecurityPolicy/creationTimestamp": creation_timestamp
"/compute:beta/SecurityPolicy/description": description
@ -25949,6 +26057,14 @@
"/compute:beta/VpnTunnelsScopedList/warning/data/datum/key": key
"/compute:beta/VpnTunnelsScopedList/warning/data/datum/value": value
"/compute:beta/VpnTunnelsScopedList/warning/message": message
"/compute:beta/WafExpressionSet": waf_expression_set
"/compute:beta/WafExpressionSet/aliases": aliases
"/compute:beta/WafExpressionSet/aliases/alias": alias
"/compute:beta/WafExpressionSet/expressions": expressions
"/compute:beta/WafExpressionSet/expressions/expression": expression
"/compute:beta/WafExpressionSet/id": id
"/compute:beta/WafExpressionSetExpression": waf_expression_set_expression
"/compute:beta/WafExpressionSetExpression/id": id
"/compute:beta/XpnHostList": xpn_host_list
"/compute:beta/XpnHostList/id": id
"/compute:beta/XpnHostList/items": items
@ -26924,6 +27040,54 @@
"/compute:beta/compute.machineTypes.list/pageToken": page_token
"/compute:beta/compute.machineTypes.list/project": project
"/compute:beta/compute.machineTypes.list/zone": zone
"/compute:beta/compute.networkEndpointGroups.aggregatedList": aggregated_network_endpoint_group_list
"/compute:beta/compute.networkEndpointGroups.aggregatedList/filter": filter
"/compute:beta/compute.networkEndpointGroups.aggregatedList/maxResults": max_results
"/compute:beta/compute.networkEndpointGroups.aggregatedList/orderBy": order_by
"/compute:beta/compute.networkEndpointGroups.aggregatedList/pageToken": page_token
"/compute:beta/compute.networkEndpointGroups.aggregatedList/project": project
"/compute:beta/compute.networkEndpointGroups.attachNetworkEndpoints": attach_network_endpoint_group_network_endpoints
"/compute:beta/compute.networkEndpointGroups.attachNetworkEndpoints/networkEndpointGroup": network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.attachNetworkEndpoints/project": project
"/compute:beta/compute.networkEndpointGroups.attachNetworkEndpoints/requestId": request_id
"/compute:beta/compute.networkEndpointGroups.attachNetworkEndpoints/zone": zone
"/compute:beta/compute.networkEndpointGroups.delete": delete_network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.delete/networkEndpointGroup": network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.delete/project": project
"/compute:beta/compute.networkEndpointGroups.delete/requestId": request_id
"/compute:beta/compute.networkEndpointGroups.delete/zone": zone
"/compute:beta/compute.networkEndpointGroups.detachNetworkEndpoints": detach_network_endpoint_group_network_endpoints
"/compute:beta/compute.networkEndpointGroups.detachNetworkEndpoints/networkEndpointGroup": network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.detachNetworkEndpoints/project": project
"/compute:beta/compute.networkEndpointGroups.detachNetworkEndpoints/requestId": request_id
"/compute:beta/compute.networkEndpointGroups.detachNetworkEndpoints/zone": zone
"/compute:beta/compute.networkEndpointGroups.get": get_network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.get/networkEndpointGroup": network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.get/project": project
"/compute:beta/compute.networkEndpointGroups.get/zone": zone
"/compute:beta/compute.networkEndpointGroups.insert": insert_network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.insert/project": project
"/compute:beta/compute.networkEndpointGroups.insert/requestId": request_id
"/compute:beta/compute.networkEndpointGroups.insert/zone": zone
"/compute:beta/compute.networkEndpointGroups.list": list_network_endpoint_groups
"/compute:beta/compute.networkEndpointGroups.list/filter": filter
"/compute:beta/compute.networkEndpointGroups.list/maxResults": max_results
"/compute:beta/compute.networkEndpointGroups.list/orderBy": order_by
"/compute:beta/compute.networkEndpointGroups.list/pageToken": page_token
"/compute:beta/compute.networkEndpointGroups.list/project": project
"/compute:beta/compute.networkEndpointGroups.list/zone": zone
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints": list_network_endpoint_group_network_endpoints
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/filter": filter
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/maxResults": max_results
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/networkEndpointGroup": network_endpoint_group
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/orderBy": order_by
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/pageToken": page_token
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/project": project
"/compute:beta/compute.networkEndpointGroups.listNetworkEndpoints/zone": zone
"/compute:beta/compute.networkEndpointGroups.testIamPermissions": test_network_endpoint_group_iam_permissions
"/compute:beta/compute.networkEndpointGroups.testIamPermissions/project": project
"/compute:beta/compute.networkEndpointGroups.testIamPermissions/resource": resource
"/compute:beta/compute.networkEndpointGroups.testIamPermissions/zone": zone
"/compute:beta/compute.networks.addPeering": add_network_peering
"/compute:beta/compute.networks.addPeering/network": network
"/compute:beta/compute.networks.addPeering/project": project
@ -27475,6 +27639,12 @@
"/compute:beta/compute.securityPolicies.list/orderBy": order_by
"/compute:beta/compute.securityPolicies.list/pageToken": page_token
"/compute:beta/compute.securityPolicies.list/project": project
"/compute:beta/compute.securityPolicies.listPreconfiguredExpressionSets": list_security_policy_preconfigured_expression_sets
"/compute:beta/compute.securityPolicies.listPreconfiguredExpressionSets/filter": filter
"/compute:beta/compute.securityPolicies.listPreconfiguredExpressionSets/maxResults": max_results
"/compute:beta/compute.securityPolicies.listPreconfiguredExpressionSets/orderBy": order_by
"/compute:beta/compute.securityPolicies.listPreconfiguredExpressionSets/pageToken": page_token
"/compute:beta/compute.securityPolicies.listPreconfiguredExpressionSets/project": project
"/compute:beta/compute.securityPolicies.patch": patch_security_policy
"/compute:beta/compute.securityPolicies.patch/project": project
"/compute:beta/compute.securityPolicies.patch/requestId": request_id
@ -28397,6 +28567,11 @@
"/compute:v1/DiskAggregatedList/warning/data/datum/key": key
"/compute:v1/DiskAggregatedList/warning/data/datum/value": value
"/compute:v1/DiskAggregatedList/warning/message": message
"/compute:v1/DiskInstantiationConfig": disk_instantiation_config
"/compute:v1/DiskInstantiationConfig/autoDelete": auto_delete
"/compute:v1/DiskInstantiationConfig/customImage": custom_image
"/compute:v1/DiskInstantiationConfig/deviceName": device_name
"/compute:v1/DiskInstantiationConfig/instantiateFrom": instantiate_from
"/compute:v1/DiskList": disk_list
"/compute:v1/DiskList/id": id
"/compute:v1/DiskList/items": items
@ -29011,6 +29186,8 @@
"/compute:v1/InstanceTemplate/name": name
"/compute:v1/InstanceTemplate/properties": properties
"/compute:v1/InstanceTemplate/selfLink": self_link
"/compute:v1/InstanceTemplate/sourceInstance": source_instance
"/compute:v1/InstanceTemplate/sourceInstanceParams": source_instance_params
"/compute:v1/InstanceTemplateList": instance_template_list
"/compute:v1/InstanceTemplateList/id": id
"/compute:v1/InstanceTemplateList/items": items
@ -29844,6 +30021,9 @@
"/compute:v1/SnapshotList/warning/data/datum/key": key
"/compute:v1/SnapshotList/warning/data/datum/value": value
"/compute:v1/SnapshotList/warning/message": message
"/compute:v1/SourceInstanceParams": source_instance_params
"/compute:v1/SourceInstanceParams/diskConfigs": disk_configs
"/compute:v1/SourceInstanceParams/diskConfigs/disk_config": disk_config
"/compute:v1/SslCertificate": ssl_certificate
"/compute:v1/SslCertificate/certificate": certificate
"/compute:v1/SslCertificate/creationTimestamp": creation_timestamp

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20180517'
REVISION = '20180603'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -2139,10 +2139,12 @@ module Google
# standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://
# cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-
# language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/
# reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR
# REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE]
# TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE
# [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW query.
# reference/standard-sql/data-manipulation-language "MERGE": MERGE query; see
# https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
# manipulation-language "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS
# SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "
# DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS
# SELECT ... "DROP_VIEW": DROP VIEW query.
# Corresponds to the JSON property `statementType`
# @return [String]
attr_accessor :statement_type

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -376,6 +376,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BackendServiceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BackendServicesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -742,6 +748,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ForwardingRuleReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ForwardingRulesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -826,6 +838,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HealthStatusForNetworkEndpoint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HostRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1630,6 +1648,120 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpoint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupAggregatedList
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 NetworkEndpointGroupLbNetworkEndpointGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupList
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 NetworkEndpointGroupsAttachEndpointsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupsDetachEndpointsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupsListEndpointsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkEndpointGroupsListNetworkEndpoints
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 NetworkEndpointGroupsScopedList
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 NetworkEndpointWithHealthStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkInterface
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1990,6 +2122,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PreconfiguredWafSet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Project
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2404,6 +2542,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
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 Representation < Google::Apis::Core::JsonRepresentation; end
@ -3202,6 +3352,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
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 Representation < Google::Apis::Core::JsonRepresentation; end
@ -3404,7 +3566,10 @@ module Google
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :name, as: 'name'
property :network, as: 'network'
property :network_tier, as: 'networkTier'
property :prefix_length, as: 'prefixLength'
property :purpose, as: 'purpose'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :status, as: 'status'
@ -3742,8 +3907,10 @@ module Google
property :description, as: 'description'
property :group, as: 'group'
property :max_connections, as: 'maxConnections'
property :max_connections_per_endpoint, as: 'maxConnectionsPerEndpoint'
property :max_connections_per_instance, as: 'maxConnectionsPerInstance'
property :max_rate, as: 'maxRate'
property :max_rate_per_endpoint, as: 'maxRatePerEndpoint'
property :max_rate_per_instance, as: 'maxRatePerInstance'
property :max_utilization, as: 'maxUtilization'
end
@ -3931,6 +4098,13 @@ module Google
end
end
class BackendServiceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backend_service, as: 'backendService'
end
end
class BackendServicesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4616,6 +4790,13 @@ module Google
end
end
class ForwardingRuleReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :forwarding_rule, as: 'forwardingRule'
end
end
class ForwardingRulesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4665,6 +4846,7 @@ module Google
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
@ -4677,6 +4859,7 @@ module Google
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
@ -4689,6 +4872,7 @@ module Google
property :host, as: 'host'
property :port, as: 'port'
property :port_name, as: 'portName'
property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request_path, as: 'requestPath'
property :response, as: 'response'
@ -4773,6 +4957,19 @@ module Google
end
end
class HealthStatusForNetworkEndpoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :backend_service, as: 'backendService', class: Google::Apis::ComputeBeta::BackendServiceReference, decorator: Google::Apis::ComputeBeta::BackendServiceReference::Representation
property :forwarding_rule, as: 'forwardingRule', class: Google::Apis::ComputeBeta::ForwardingRuleReference, decorator: Google::Apis::ComputeBeta::ForwardingRuleReference::Representation
property :health_check, as: 'healthCheck', class: Google::Apis::ComputeBeta::HealthCheckReference, decorator: Google::Apis::ComputeBeta::HealthCheckReference::Representation
property :health_state, as: 'healthState'
end
end
class HostRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6311,6 +6508,198 @@ module Google
end
end
class NetworkEndpoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance, as: 'instance'
property :ip_address, as: 'ipAddress'
property :port, as: 'port'
end
end
class NetworkEndpointGroup
# @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 :load_balancer, as: 'loadBalancer', class: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup::Representation
property :name, as: 'name'
property :network_endpoint_type, as: 'networkEndpointType'
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :type, as: 'type'
end
end
class NetworkEndpointGroupAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::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 NetworkEndpointGroupLbNetworkEndpointGroup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :default_port, as: 'defaultPort'
property :network, as: 'network'
property :subnetwork, as: 'subnetwork'
property :zone, as: 'zone'
end
end
class NetworkEndpointGroupList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::NetworkEndpointGroup, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkEndpointGroupList::Warning, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NetworkEndpointGroupList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupList::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 NetworkEndpointGroupsAttachEndpointsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeBeta::NetworkEndpoint, decorator: Google::Apis::ComputeBeta::NetworkEndpoint::Representation
end
end
class NetworkEndpointGroupsDetachEndpointsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeBeta::NetworkEndpoint, decorator: Google::Apis::ComputeBeta::NetworkEndpoint::Representation
end
end
class NetworkEndpointGroupsListEndpointsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :health_status, as: 'healthStatus'
end
end
class NetworkEndpointGroupsListNetworkEndpoints
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus, decorator: Google::Apis::ComputeBeta::NetworkEndpointWithHealthStatus::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Warning, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::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 NetworkEndpointGroupsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :network_endpoint_groups, as: 'networkEndpointGroups', class: Google::Apis::ComputeBeta::NetworkEndpointGroup, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Warning, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::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 NetworkEndpointWithHealthStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :healths, as: 'healths', class: Google::Apis::ComputeBeta::HealthStatusForNetworkEndpoint, decorator: Google::Apis::ComputeBeta::HealthStatusForNetworkEndpoint::Representation
property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeBeta::NetworkEndpoint, decorator: Google::Apis::ComputeBeta::NetworkEndpoint::Representation
end
end
class NetworkInterface
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -6955,6 +7344,14 @@ module Google
end
end
class PreconfiguredWafSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :expression_sets, as: 'expressionSets', class: Google::Apis::ComputeBeta::WafExpressionSet, decorator: Google::Apis::ComputeBeta::WafExpressionSet::Representation
end
end
class Project
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -7657,6 +8054,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :port, as: 'port'
property :port_name, as: 'portName'
property :port_specification, as: 'portSpecification'
property :proxy_header, as: 'proxyHeader'
property :request, as: 'request'
property :response, as: 'response'
@ -7683,6 +8081,22 @@ module Google
end
end
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :preconfigured_expression_sets, as: 'preconfiguredExpressionSets', class: Google::Apis::ComputeBeta::SecurityPoliciesWafConfig, decorator: Google::Apis::ComputeBeta::SecurityPoliciesWafConfig::Representation
end
end
class SecurityPoliciesWafConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :waf_rules, as: 'wafRules', class: Google::Apis::ComputeBeta::PreconfiguredWafSet, decorator: Google::Apis::ComputeBeta::PreconfiguredWafSet::Representation
end
end
class SecurityPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -9079,6 +9493,23 @@ module Google
end
end
class WafExpressionSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases'
collection :expressions, as: 'expressions', class: Google::Apis::ComputeBeta::WafExpressionSetExpression, decorator: Google::Apis::ComputeBeta::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
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -10705,6 +10705,539 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of network endpoint groups and sorts them by zone.
# @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::ComputeBeta::NetworkEndpointGroupAggregatedList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList]
#
# @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_network_endpoint_group_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/networkEndpointGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList
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
# Attach a list of network endpoints to the specified network endpoint group.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the network endpoint group is located. It should
# comply with RFC1035.
# @param [String] network_endpoint_group
# The name of the network endpoint group where you are attaching network
# endpoints to. It should comply with RFC1035.
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest] network_endpoint_groups_attach_endpoints_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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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 attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest::Representation
command.request_object = network_endpoint_groups_attach_endpoints_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.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 network endpoint group. The network endpoints in the NEG
# and the VM instances they belong to are not terminated when the NEG is deleted.
# Note that the NEG cannot be deleted if there are backend services referencing
# it.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the network endpoint group is located. It should
# comply with RFC1035.
# @param [String] network_endpoint_group
# The name of the network endpoint group to delete. It should comply with
# RFC1035.
# @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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.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
# Detach a list of network endpoints from the specified network endpoint group.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the network endpoint group is located. It should
# comply with RFC1035.
# @param [String] network_endpoint_group
# The name of the network endpoint group where you are removing network
# endpoints. It should comply with RFC1035.
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest] network_endpoint_groups_detach_endpoints_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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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 detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest::Representation
command.request_object = network_endpoint_groups_detach_endpoints_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.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 network endpoint group. Gets a list of available network
# endpoint groups by making a list() request.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the network endpoint group is located. It should
# comply with RFC1035.
# @param [String] network_endpoint_group
# The name of the network endpoint group. It should comply with RFC1035.
# @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::ComputeBeta::NetworkEndpointGroup] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroup]
#
# @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_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.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 network endpoint group in the specified project using the parameters
# that are included in the request.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where you want to create the network endpoint group. It
# should comply with RFC1035.
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroup] network_endpoint_group_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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options)
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
command.request_object = network_endpoint_group_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.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 the list of network endpoint groups that are located in the
# specified project and zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the network endpoint group is located. It should
# comply with RFC1035.
# @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::ComputeBeta::NetworkEndpointGroupList] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
#
# @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_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options)
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.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
# Lists the network endpoints in the specified network endpoint group.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone where the network endpoint group is located. It should
# comply with RFC1035.
# @param [String] network_endpoint_group
# The name of the network endpoint group from which you want to generate a list
# of included network endpoints. It should comply with RFC1035.
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
# @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::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints]
#
# @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_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, 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(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest::Representation
command.request_object = network_endpoint_groups_list_endpoints_request_object
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.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
# Returns permissions that a caller has on the specified resource.
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] resource
# Name of the resource for this request.
# @param [Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
command.request_object = test_permissions_request_object
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.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
# Adds a peering to the specified network.
# @param [String] project
# Project ID for this request.
@ -16925,6 +17458,78 @@ module Google
execute_or_queue_command(command, &block)
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::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation
command.response_class = Google::Apis::ComputeBeta::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.
# @param [String] project
# Project ID for this request.

View File

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

View File

@ -3664,6 +3664,59 @@ module Google
end
end
# A specification of the desired way to instantiate a disk in the instance
# template when its created from a source instance.
class DiskInstantiationConfig
include Google::Apis::Core::Hashable
# Specifies whether the disk will be auto-deleted when the instance is deleted (
# but not when the disk is detached from the instance).
# Corresponds to the JSON property `autoDelete`
# @return [Boolean]
attr_accessor :auto_delete
alias_method :auto_delete?, :auto_delete
# The custom source image to be used to restore this disk when instantiating
# this instance template.
# Corresponds to the JSON property `customImage`
# @return [String]
attr_accessor :custom_image
# Specifies the device name of the disk to which the configurations apply to.
# Corresponds to the JSON property `deviceName`
# @return [String]
attr_accessor :device_name
# Specifies whether to include the disk and what image to use. Possible values
# are:
# - source-image: to use the same image that was used to create the source
# instance's corresponding disk. Applicable to the boot disk and additional read-
# write disks.
# - source-image-family: to use the same image family that was used to create
# the source instance's corresponding disk. Applicable to the boot disk and
# additional read-write disks.
# - custom-image: to use a user-provided image url for disk creation. Applicable
# to the boot disk and additional read-write disks.
# - attach-read-only: to attach a read-only disk. Applicable to read-only disks.
# - do-not-include: to exclude a disk from the template. Applicable to
# additional read-write disks, local SSDs, and read-only disks.
# Corresponds to the JSON property `instantiateFrom`
# @return [String]
attr_accessor :instantiate_from
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
@custom_image = args[:custom_image] if args.key?(:custom_image)
@device_name = args[:device_name] if args.key?(:device_name)
@instantiate_from = args[:instantiate_from] if args.key?(:instantiate_from)
end
end
# A list of Disk resources.
class DiskList
include Google::Apis::Core::Hashable
@ -8593,6 +8646,22 @@ module Google
# @return [String]
attr_accessor :self_link
# The source instance used to create the template. You can provide this as a
# partial or full URL to the resource. For example, the following are valid
# values:
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
# instance
# - projects/project/zones/zone/instances/instance
# Corresponds to the JSON property `sourceInstance`
# @return [String]
attr_accessor :source_instance
# A specification of the parameters to use when creating the instance template
# from a source instance.
# Corresponds to the JSON property `sourceInstanceParams`
# @return [Google::Apis::ComputeV1::SourceInstanceParams]
attr_accessor :source_instance_params
def initialize(**args)
update!(**args)
end
@ -8606,6 +8675,8 @@ module Google
@name = args[:name] if args.key?(:name)
@properties = args[:properties] if args.key?(:properties)
@self_link = args[:self_link] if args.key?(:self_link)
@source_instance = args[:source_instance] if args.key?(:source_instance)
@source_instance_params = args[:source_instance_params] if args.key?(:source_instance_params)
end
end
@ -11000,7 +11071,7 @@ module Google
end
end
# Next available tag: 12
# A Managed Instance resource.
class ManagedInstance
include Google::Apis::Core::Hashable
@ -15251,6 +15322,29 @@ module Google
end
end
# A specification of the parameters to use when creating the instance template
# from a source instance.
class SourceInstanceParams
include Google::Apis::Core::Hashable
# Attached disks configuration. If not provided, defaults are applied: For boot
# disk and any other R/W disks, new custom images will be created from each disk.
# For read-only disks, they will be attached in read-only mode. Local SSD disks
# will be created as blank volumes.
# Corresponds to the JSON property `diskConfigs`
# @return [Array<Google::Apis::ComputeV1::DiskInstantiationConfig>]
attr_accessor :disk_configs
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disk_configs = args[:disk_configs] if args.key?(:disk_configs)
end
end
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to the load balancer to serve secure connections from
# the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.

View File

@ -490,6 +490,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DiskInstantiationConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiskList
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2062,6 +2068,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SourceInstanceParams
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SslCertificate
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3657,6 +3669,16 @@ module Google
end
end
class DiskInstantiationConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_delete, as: 'autoDelete'
property :custom_image, as: 'customImage'
property :device_name, as: 'deviceName'
property :instantiate_from, as: 'instantiateFrom'
end
end
class DiskList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -4868,6 +4890,9 @@ module Google
property :properties, as: 'properties', class: Google::Apis::ComputeV1::InstanceProperties, decorator: Google::Apis::ComputeV1::InstanceProperties::Representation
property :self_link, as: 'selfLink'
property :source_instance, as: 'sourceInstance'
property :source_instance_params, as: 'sourceInstanceParams', class: Google::Apis::ComputeV1::SourceInstanceParams, decorator: Google::Apis::ComputeV1::SourceInstanceParams::Representation
end
end
@ -6569,6 +6594,14 @@ module Google
end
end
class SourceInstanceParams
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :disk_configs, as: 'diskConfigs', class: Google::Apis::ComputeV1::DiskInstantiationConfig, decorator: Google::Apis::ComputeV1::DiskInstantiationConfig::Representation
end
end
class SslCertificate
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/job-discovery/docs
module JobsV2
VERSION = 'V2'
REVISION = '20180514'
REVISION = '20180606'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -251,6 +251,7 @@ module Google
# and "Google", which the client wishes to use as the company displayed on
# the job. Best practice is to create a distinct company identifier for each
# distinct brand displayed.
# The maximum number of allowed characters is 255.
# Corresponds to the JSON property `distributorCompanyId`
# @return [String]
attr_accessor :distributor_company_id
@ -512,7 +513,7 @@ module Google
attr_accessor :type
# Required.
# Specify desired ** base compensation entry's **
# Specify desired `base compensation entry's`
# CompensationInfo.CompensationUnit.
# Corresponds to the JSON property `units`
# @return [Array<String>]
@ -1065,7 +1066,7 @@ module Google
attr_accessor :compensation_range
# Required.
# Specify desired ** base compensation entry's **
# Specify desired `base compensation entry's`
# ExtendedCompensationInfo.CompensationUnit.
# Corresponds to the JSON property `compensationUnits`
# @return [Array<String>]
@ -1873,7 +1874,7 @@ module Google
# for client identification and tracking of listings. A job is not allowed
# to be created if there is another job with the same requisition_id,
# company_name and language_code.
# The maximum number of allowed characters is 225.
# The maximum number of allowed characters is 255.
# Corresponds to the JSON property `requisitionId`
# @return [String]
attr_accessor :requisition_id
@ -2122,7 +2123,7 @@ module Google
# Optional.
# The query filter contains the keywords that match against the job
# title, description, and location fields.
# The maximum query size is 255 bytes.
# The maximum query size is 255 bytes/characters.
# Corresponds to the JSON property `query`
# @return [String]
attr_accessor :query

View File

@ -265,7 +265,7 @@ module Google
# Optional.
# The requisition ID, also known as posting ID, assigned by the company
# to the job.
# The number of allowable characters is 225.
# The maximum number of allowable characters is 225.
# @param [Fixnum] page_size
# Optional.
# The maximum number of jobs to be returned per page of results.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/partners/
module PartnersV2
VERSION = 'V2'
REVISION = '20180517'
REVISION = '20180605'
end
end
end