From 2d9b946679c7f9c8bc3b8f4d753bc98d92cfd4b8 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 9 Jun 2018 00:37:07 +0000 Subject: [PATCH] Autogenerated update (2018-06-09) Update: - bigquery_v2 - cloudtrace_v1 - cloudtrace_v2 - compute_beta - compute_v1 - jobs_v2 - partners_v2 --- api_names_out.yaml | 180 +++ generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 10 +- generated/google/apis/cloudtrace_v1.rb | 2 +- generated/google/apis/cloudtrace_v2.rb | 2 +- generated/google/apis/compute_beta.rb | 2 +- generated/google/apis/compute_beta/classes.rb | 1013 ++++++++++++++++- .../apis/compute_beta/representations.rb | 431 +++++++ generated/google/apis/compute_beta/service.rb | 605 ++++++++++ generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 96 +- .../google/apis/compute_v1/representations.rb | 33 + generated/google/apis/jobs_v2.rb | 2 +- generated/google/apis/jobs_v2/classes.rb | 9 +- generated/google/apis/jobs_v2/service.rb | 2 +- generated/google/apis/partners_v2.rb | 2 +- 16 files changed, 2375 insertions(+), 18 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 4ae0f109d..7d3951c4f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 260141e60..a6290248b 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -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' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 0087790b5..a853d9bea 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -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 diff --git a/generated/google/apis/cloudtrace_v1.rb b/generated/google/apis/cloudtrace_v1.rb index aee91dde6..f0c68bc78 100644 --- a/generated/google/apis/cloudtrace_v1.rb +++ b/generated/google/apis/cloudtrace_v1.rb @@ -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' diff --git a/generated/google/apis/cloudtrace_v2.rb b/generated/google/apis/cloudtrace_v2.rb index 4b787cf88..948251183 100644 --- a/generated/google/apis/cloudtrace_v2.rb +++ b/generated/google/apis/cloudtrace_v2.rb @@ -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' diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 0dbe9c621..6fcbeed7f 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -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' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index ab286fe86..cc1b0efd6 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -594,6 +594,12 @@ module Google # @return [String] attr_accessor :name + # The URL of the network in which to reserve the address. This field can only be + # used with INTERNAL type with VPC_PEERING purpose. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + # This signifies the networking tier used for configuring this Address and can # only take the following values: PREMIUM , STANDARD. # If this field is not specified, it is assumed to be PREMIUM. @@ -601,6 +607,16 @@ module Google # @return [String] attr_accessor :network_tier + # The prefix length if the resource reprensents an IP range. + # Corresponds to the JSON property `prefixLength` + # @return [Fixnum] + attr_accessor :prefix_length + + # The purpose of resource, only used with INTERNAL type. + # Corresponds to the JSON property `purpose` + # @return [String] + attr_accessor :purpose + # [Output Only] URL of the region where the regional address resides. This field # is not applicable to global addresses. You must specify this field as part of # the HTTP request URL. You cannot set this field in the request body. @@ -650,7 +666,10 @@ module Google @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) @network_tier = args[:network_tier] if args.key?(:network_tier) + @prefix_length = args[:prefix_length] if args.key?(:prefix_length) + @purpose = args[:purpose] if args.key?(:purpose) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @@ -2021,6 +2040,15 @@ module Google # @return [Fixnum] attr_accessor :max_connections + # The max number of simultaneous connections that a single backend network + # endpoint can handle. This is used to calculate the capacity of the group. Can + # be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION + # mode, either maxConnections or maxConnectionsPerEndpoint must be set. + # This cannot be used for internal load balancing. + # Corresponds to the JSON property `maxConnectionsPerEndpoint` + # @return [Fixnum] + attr_accessor :max_connections_per_endpoint + # The max number of simultaneous connections that a single backend instance can # handle. This is used to calculate the capacity of the group. Can be used in # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either @@ -2038,6 +2066,15 @@ module Google # @return [Fixnum] attr_accessor :max_rate + # The max requests per second (RPS) that a single backend network endpoint can + # handle. This is used to calculate the capacity of the group. Can be used in + # either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint + # must be set. + # This cannot be used for internal load balancing. + # Corresponds to the JSON property `maxRatePerEndpoint` + # @return [Float] + attr_accessor :max_rate_per_endpoint + # The max requests per second (RPS) that a single backend instance can handle. # This is used to calculate the capacity of the group. Can be used in either # balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be @@ -2065,8 +2102,10 @@ module Google @description = args[:description] if args.key?(:description) @group = args[:group] if args.key?(:group) @max_connections = args[:max_connections] if args.key?(:max_connections) + @max_connections_per_endpoint = args[:max_connections_per_endpoint] if args.key?(:max_connections_per_endpoint) @max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance) @max_rate = args[:max_rate] if args.key?(:max_rate) + @max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint) @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance) @max_utilization = args[:max_utilization] if args.key?(:max_utilization) end @@ -2827,6 +2866,25 @@ module Google end end + # + class BackendServiceReference + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `backendService` + # @return [String] + attr_accessor :backend_service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backend_service = args[:backend_service] if args.key?(:backend_service) + end + end + # class BackendServicesScopedList include Google::Apis::Core::Hashable @@ -5743,6 +5801,25 @@ module Google end end + # + class ForwardingRuleReference + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `forwardingRule` + # @return [String] + attr_accessor :forwarding_rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) + end + end + # class ForwardingRulesScopedList include Google::Apis::Core::Hashable @@ -5913,6 +5990,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, HTTP2 health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -5940,6 +6037,7 @@ module Google @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request_path = args[:request_path] if args.key?(:request_path) @response = args[:response] if args.key?(:response) @@ -5969,6 +6067,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, HTTP health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -5996,6 +6114,7 @@ module Google @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request_path = args[:request_path] if args.key?(:request_path) @response = args[:response] if args.key?(:response) @@ -6025,6 +6144,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, HTTPS health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -6052,6 +6191,7 @@ module Google @host = args[:host] if args.key?(:host) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request_path = args[:request_path] if args.key?(:request_path) @response = args[:response] if args.key?(:response) @@ -6366,6 +6506,51 @@ module Google end end + # + class HealthStatusForNetworkEndpoint + include Google::Apis::Core::Hashable + + # URL of the backend service associated with the health state of the network + # endpoint. + # Corresponds to the JSON property `backendService` + # @return [Google::Apis::ComputeBeta::BackendServiceReference] + attr_accessor :backend_service + + # URL of the forwarding rule associated with the health state of the network + # endpoint. + # Corresponds to the JSON property `forwardingRule` + # @return [Google::Apis::ComputeBeta::ForwardingRuleReference] + attr_accessor :forwarding_rule + + # A full or valid partial URL to a health check. For example, the following are + # valid URLs: + # - https://www.googleapis.com/compute/beta/projects/project-id/global/ + # httpHealthChecks/health-check + # - projects/project-id/global/httpHealthChecks/health-check + # - global/httpHealthChecks/health-check + # Corresponds to the JSON property `healthCheck` + # @return [Google::Apis::ComputeBeta::HealthCheckReference] + attr_accessor :health_check + + # Health state of the network endpoint determined based on the health checks + # configured. + # Corresponds to the JSON property `healthState` + # @return [String] + attr_accessor :health_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backend_service = args[:backend_service] if args.key?(:backend_service) + @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) + @health_check = args[:health_check] if args.key?(:health_check) + @health_state = args[:health_state] if args.key?(:health_state) + end + end + # UrlMaps A host-matching rule for a URL. If matched, will use the named # PathMatcher to select the BackendService. class HostRule @@ -12174,7 +12359,7 @@ module Google end end - # Next available tag: 12 + # A Managed Instance resource. class ManagedInstance include Google::Apis::Core::Hashable @@ -12543,6 +12728,697 @@ module Google end end + # The network endpoint. + class NetworkEndpoint + include Google::Apis::Core::Hashable + + # The name for a specific VM instance that the IP address belongs to. This is + # required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The + # instance must be in the same zone of network endpoint group. + # The name must be 1-63 characters long, and comply with RFC1035. + # Corresponds to the JSON property `instance` + # @return [String] + attr_accessor :instance + + # Optional IPv4 address of network endpoint. The IP address must belong to a VM + # in GCE (either the primary IP or as part of an aliased IP range). If the IP + # address is not specified, then the primary IP address for the VM instance in + # the network that the network endpoint group belongs to will be used. + # Corresponds to the JSON property `ipAddress` + # @return [String] + attr_accessor :ip_address + + # Optional port number of network endpoint. If not specified and the + # NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for + # the network endpoint group will be used. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance = args[:instance] if args.key?(:instance) + @ip_address = args[:ip_address] if args.key?(:ip_address) + @port = args[:port] if args.key?(:port) + end + end + + # Represents a collection of network endpoints. + class NetworkEndpointGroup + 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 the resource. Always compute#networkEndpointGroup for + # network endpoint group. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Load balancing specific fields for network endpoint group of type + # LOAD_BALANCING. + # Corresponds to the JSON property `loadBalancer` + # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup] + attr_accessor :load_balancer + + # 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 + + # Type of network endpoints in this network endpoint group. Only supported + # values for LOAD_BALANCING are GCE_VM_IP or GCE_VM_IP_PORT. + # Corresponds to the JSON property `networkEndpointType` + # @return [String] + attr_accessor :network_endpoint_type + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output only] Number of network endpoints in the network endpoint group. + # Corresponds to the JSON property `size` + # @return [Fixnum] + attr_accessor :size + + # Specify the type of this network endpoint group. Only LOAD_BALANCING is valid + # for now. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + 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) + @load_balancer = args[:load_balancer] if args.key?(:load_balancer) + @name = args[:name] if args.key?(:name) + @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type) + @self_link = args[:self_link] if args.key?(:self_link) + @size = args[:size] if args.key?(:size) + @type = args[:type] if args.key?(:type) + end + end + + # + class NetworkEndpointGroupAggregatedList + 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 NetworkEndpointGroupsScopedList resources. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] The resource type, which is always compute# + # networkEndpointGroupAggregatedList for aggregated lists of network endpoint + # groups. + # 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::ComputeBeta::NetworkEndpointGroupAggregatedList::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] + 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 + + # Load balancing specific fields for network endpoint group of type + # LOAD_BALANCING. + class NetworkEndpointGroupLbNetworkEndpointGroup + include Google::Apis::Core::Hashable + + # The default port used if the port number is not specified in the network + # endpoint. If the network endpoint type is GCE_VM_IP, this field must not be + # specified. + # Corresponds to the JSON property `defaultPort` + # @return [Fixnum] + attr_accessor :default_port + + # The URL of the network to which all network endpoints in the NEG belong. Uses " + # default" project network if unspecified. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Optional URL of the subnetwork to which all network endpoints in the NEG + # belong. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + # [Output Only] The URL of the zone where the network endpoint group is located. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_port = args[:default_port] if args.key?(:default_port) + @network = args[:network] if args.key?(:network) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + @zone = args[:zone] if args.key?(:zone) + end + end + + # + class NetworkEndpointGroupList + 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 NetworkEndpointGroup resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] The resource type, which is always compute# + # networkEndpointGroupList for network endpoint group lists. + # 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::ComputeBeta::NetworkEndpointGroupList::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] + 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 NetworkEndpointGroupsAttachEndpointsRequest + include Google::Apis::Core::Hashable + + # The list of network endpoints to be attached. + # Corresponds to the JSON property `networkEndpoints` + # @return [Array] + attr_accessor :network_endpoints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints) + end + end + + # + class NetworkEndpointGroupsDetachEndpointsRequest + include Google::Apis::Core::Hashable + + # The list of network endpoints to be detached. + # Corresponds to the JSON property `networkEndpoints` + # @return [Array] + attr_accessor :network_endpoints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints) + end + end + + # + class NetworkEndpointGroupsListEndpointsRequest + include Google::Apis::Core::Hashable + + # Optional query parameter for showing the health status of each network + # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, + # the health status of network endpoints will not be provided. + # Corresponds to the JSON property `healthStatus` + # @return [String] + attr_accessor :health_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @health_status = args[:health_status] if args.key?(:health_status) + end + end + + # + class NetworkEndpointGroupsListNetworkEndpoints + 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 NetworkEndpointWithHealthStatus resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] The resource type, which is always compute# + # networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in + # the specified network endpoint group. + # 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] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::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) + @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] + 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 NetworkEndpointGroupsScopedList + include Google::Apis::Core::Hashable + + # [Output Only] The list of network endpoint groups that are contained in this + # scope. + # Corresponds to the JSON property `networkEndpointGroups` + # @return [Array] + attr_accessor :network_endpoint_groups + + # [Output Only] An informational warning that replaces the list of network + # endpoint groups when the list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] An informational warning that replaces the list of network + # endpoint groups 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] + 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 NetworkEndpointWithHealthStatus + include Google::Apis::Core::Hashable + + # [Output only] The health status of network endpoint; + # Corresponds to the JSON property `healths` + # @return [Array] + attr_accessor :healths + + # The network endpoint. + # Corresponds to the JSON property `networkEndpoint` + # @return [Google::Apis::ComputeBeta::NetworkEndpoint] + attr_accessor :network_endpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @healths = args[:healths] if args.key?(:healths) + @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint) + end + end + # A network interface resource attached to an instance. class NetworkInterface include Google::Apis::Core::Hashable @@ -15041,6 +15917,25 @@ module Google 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] + 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 # Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==) class Project @@ -17662,6 +18557,26 @@ module Google # @return [String] attr_accessor :port_name + # Specifies how port is selected for health checking, can be one of following + # values: + # USE_FIXED_PORT: The port number in + # port + # is used for health checking. + # USE_NAMED_PORT: The + # portName + # is used for health checking. + # USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each + # network endpoint is used for health checking. For other backends, the port or + # named port specified in the Backend Service is used for health checking. + # If not specified, SSL health check follows behavior specified in + # port + # and + # portName + # fields. + # Corresponds to the JSON property `portSpecification` + # @return [String] + attr_accessor :port_specification + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -17691,6 +18606,7 @@ module Google def update!(**args) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) + @port_specification = args[:port_specification] if args.key?(:port_specification) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @request = args[:request] if args.key?(:request) @response = args[:response] if args.key?(:response) @@ -17778,6 +18694,44 @@ module Google end end + # + class SecurityPoliciesListPreconfiguredExpressionSetsResponse + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `preconfiguredExpressionSets` + # @return [Google::Apis::ComputeBeta::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::ComputeBeta::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 # with one or more 'targets'. Next available tag: 11 class SecurityPolicy @@ -23221,6 +24175,63 @@ module Google 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] + attr_accessor :aliases + + # List of available expressions. + # Corresponds to the JSON property `expressions` + # @return [Array] + 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 include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index f9c5dcbfb..37ad7594b 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -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 diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 3a5d7eaa3..949b39dc6 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -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. diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 5ed3cb674..41b0f6017 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -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' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 2e4c9d635..50b1dc232 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -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] + 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. diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 2986b8709..5676ebc1d 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -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 diff --git a/generated/google/apis/jobs_v2.rb b/generated/google/apis/jobs_v2.rb index 9a5517c01..0d615eac3 100644 --- a/generated/google/apis/jobs_v2.rb +++ b/generated/google/apis/jobs_v2.rb @@ -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' diff --git a/generated/google/apis/jobs_v2/classes.rb b/generated/google/apis/jobs_v2/classes.rb index ef8a1f59f..f18149c4f 100644 --- a/generated/google/apis/jobs_v2/classes.rb +++ b/generated/google/apis/jobs_v2/classes.rb @@ -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] @@ -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] @@ -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 diff --git a/generated/google/apis/jobs_v2/service.rb b/generated/google/apis/jobs_v2/service.rb index d8b8e910e..550ae2bcb 100644 --- a/generated/google/apis/jobs_v2/service.rb +++ b/generated/google/apis/jobs_v2/service.rb @@ -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. diff --git a/generated/google/apis/partners_v2.rb b/generated/google/apis/partners_v2.rb index c44183c7b..72540d68e 100644 --- a/generated/google/apis/partners_v2.rb +++ b/generated/google/apis/partners_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/partners/ module PartnersV2 VERSION = 'V2' - REVISION = '20180517' + REVISION = '20180605' end end end