diff --git a/api_names_out.yaml b/api_names_out.yaml index dc35c491a..95a3cd8ed 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8841,12 +8841,15 @@ "/appengine:v1beta/Version/threadsafe": threadsafe "/appengine:v1beta/Version/versionUrl": version_url "/appengine:v1beta/Version/vm": vm +"/appengine:v1beta/Version/vpcAccessConnector": vpc_access_connector "/appengine:v1beta/Version/zones": zones "/appengine:v1beta/Version/zones/zone": zone "/appengine:v1beta/Volume": volume "/appengine:v1beta/Volume/name": name "/appengine:v1beta/Volume/sizeGb": size_gb "/appengine:v1beta/Volume/volumeType": volume_type +"/appengine:v1beta/VpcAccessConnector": vpc_access_connector +"/appengine:v1beta/VpcAccessConnector/name": name "/appengine:v1beta/ZipInfo": zip_info "/appengine:v1beta/ZipInfo/filesCount": files_count "/appengine:v1beta/ZipInfo/sourceUrl": source_url @@ -10106,6 +10109,7 @@ "/bigquery:v2/JobConfiguration/dryRun": dry_run "/bigquery:v2/JobConfiguration/extract": extract "/bigquery:v2/JobConfiguration/jobTimeoutMs": job_timeout_ms +"/bigquery:v2/JobConfiguration/jobType": job_type "/bigquery:v2/JobConfiguration/labels": labels "/bigquery:v2/JobConfiguration/labels/label": label "/bigquery:v2/JobConfiguration/load": load @@ -35400,6 +35404,7 @@ "/content:v2/Account/adultContent": adult_content "/content:v2/Account/adwordsLinks": adwords_links "/content:v2/Account/adwordsLinks/adwords_link": adwords_link +"/content:v2/Account/businessInformation": business_information "/content:v2/Account/googleMyBusinessLink": google_my_business_link "/content:v2/Account/id": id "/content:v2/Account/kind": kind @@ -35411,9 +35416,23 @@ "/content:v2/Account/websiteUrl": website_url "/content:v2/Account/youtubeChannelLinks": youtube_channel_links "/content:v2/Account/youtubeChannelLinks/youtube_channel_link": youtube_channel_link +"/content:v2/AccountAddress": account_address +"/content:v2/AccountAddress/country": country +"/content:v2/AccountAddress/locality": locality +"/content:v2/AccountAddress/postalCode": postal_code +"/content:v2/AccountAddress/region": region +"/content:v2/AccountAddress/streetAddress": street_address "/content:v2/AccountAdwordsLink": account_adwords_link "/content:v2/AccountAdwordsLink/adwordsId": adwords_id "/content:v2/AccountAdwordsLink/status": status +"/content:v2/AccountBusinessInformation": account_business_information +"/content:v2/AccountBusinessInformation/address": address +"/content:v2/AccountBusinessInformation/customerService": customer_service +"/content:v2/AccountBusinessInformation/phoneNumber": phone_number +"/content:v2/AccountCustomerService": account_customer_service +"/content:v2/AccountCustomerService/email": email +"/content:v2/AccountCustomerService/phoneNumber": phone_number +"/content:v2/AccountCustomerService/url": url "/content:v2/AccountGoogleMyBusinessLink": account_google_my_business_link "/content:v2/AccountGoogleMyBusinessLink/gmbEmail": gmb_email "/content:v2/AccountGoogleMyBusinessLink/status": status @@ -36168,6 +36187,10 @@ "/content:v2/OrdersCancelResponse": orders_cancel_response "/content:v2/OrdersCancelResponse/executionStatus": execution_status "/content:v2/OrdersCancelResponse/kind": kind +"/content:v2/OrdersCancelTestOrderByCustomerRequest": orders_cancel_test_order_by_customer_request +"/content:v2/OrdersCancelTestOrderByCustomerRequest/reason": reason +"/content:v2/OrdersCancelTestOrderByCustomerResponse": orders_cancel_test_order_by_customer_response +"/content:v2/OrdersCancelTestOrderByCustomerResponse/kind": kind "/content:v2/OrdersCreateTestOrderRequest": orders_create_test_order_request "/content:v2/OrdersCreateTestOrderRequest/country": country "/content:v2/OrdersCreateTestOrderRequest/templateName": template_name @@ -37085,6 +37108,9 @@ "/content:v2/content.orders.cancellineitem": cancel_order_line_item "/content:v2/content.orders.cancellineitem/merchantId": merchant_id "/content:v2/content.orders.cancellineitem/orderId": order_id +"/content:v2/content.orders.canceltestorderbycustomer": canceltestorderbycustomer_order +"/content:v2/content.orders.canceltestorderbycustomer/merchantId": merchant_id +"/content:v2/content.orders.canceltestorderbycustomer/orderId": order_id "/content:v2/content.orders.createtestorder": create_test_order "/content:v2/content.orders.createtestorder/merchantId": merchant_id "/content:v2/content.orders.custombatch": custom_order_batch @@ -37477,6 +37503,10 @@ "/content:v2sandbox/OrdersCancelResponse": orders_cancel_response "/content:v2sandbox/OrdersCancelResponse/executionStatus": execution_status "/content:v2sandbox/OrdersCancelResponse/kind": kind +"/content:v2sandbox/OrdersCancelTestOrderByCustomerRequest": orders_cancel_test_order_by_customer_request +"/content:v2sandbox/OrdersCancelTestOrderByCustomerRequest/reason": reason +"/content:v2sandbox/OrdersCancelTestOrderByCustomerResponse": orders_cancel_test_order_by_customer_response +"/content:v2sandbox/OrdersCancelTestOrderByCustomerResponse/kind": kind "/content:v2sandbox/OrdersCreateTestOrderRequest": orders_create_test_order_request "/content:v2sandbox/OrdersCreateTestOrderRequest/country": country "/content:v2sandbox/OrdersCreateTestOrderRequest/templateName": template_name @@ -37815,6 +37845,9 @@ "/content:v2sandbox/content.orders.cancellineitem": cancellineitem_order "/content:v2sandbox/content.orders.cancellineitem/merchantId": merchant_id "/content:v2sandbox/content.orders.cancellineitem/orderId": order_id +"/content:v2sandbox/content.orders.canceltestorderbycustomer": canceltestorderbycustomer_order +"/content:v2sandbox/content.orders.canceltestorderbycustomer/merchantId": merchant_id +"/content:v2sandbox/content.orders.canceltestorderbycustomer/orderId": order_id "/content:v2sandbox/content.orders.createtestorder": createtestorder_order "/content:v2sandbox/content.orders.createtestorder/merchantId": merchant_id "/content:v2sandbox/content.orders.custombatch": custombatch_order @@ -57751,6 +57784,7 @@ "/dlp:v2/dlp.organizations.deidentifyTemplates.get": get_organization_deidentify_template "/dlp:v2/dlp.organizations.deidentifyTemplates.get/name": name "/dlp:v2/dlp.organizations.deidentifyTemplates.list": list_organization_deidentify_templates +"/dlp:v2/dlp.organizations.deidentifyTemplates.list/orderBy": order_by "/dlp:v2/dlp.organizations.deidentifyTemplates.list/pageSize": page_size "/dlp:v2/dlp.organizations.deidentifyTemplates.list/pageToken": page_token "/dlp:v2/dlp.organizations.deidentifyTemplates.list/parent": parent @@ -57763,6 +57797,7 @@ "/dlp:v2/dlp.organizations.inspectTemplates.get": get_organization_inspect_template "/dlp:v2/dlp.organizations.inspectTemplates.get/name": name "/dlp:v2/dlp.organizations.inspectTemplates.list": list_organization_inspect_templates +"/dlp:v2/dlp.organizations.inspectTemplates.list/orderBy": order_by "/dlp:v2/dlp.organizations.inspectTemplates.list/pageSize": page_size "/dlp:v2/dlp.organizations.inspectTemplates.list/pageToken": page_token "/dlp:v2/dlp.organizations.inspectTemplates.list/parent": parent @@ -57793,6 +57828,7 @@ "/dlp:v2/dlp.projects.deidentifyTemplates.get": get_project_deidentify_template "/dlp:v2/dlp.projects.deidentifyTemplates.get/name": name "/dlp:v2/dlp.projects.deidentifyTemplates.list": list_project_deidentify_templates +"/dlp:v2/dlp.projects.deidentifyTemplates.list/orderBy": order_by "/dlp:v2/dlp.projects.deidentifyTemplates.list/pageSize": page_size "/dlp:v2/dlp.projects.deidentifyTemplates.list/pageToken": page_token "/dlp:v2/dlp.projects.deidentifyTemplates.list/parent": parent @@ -57821,6 +57857,7 @@ "/dlp:v2/dlp.projects.inspectTemplates.get": get_project_inspect_template "/dlp:v2/dlp.projects.inspectTemplates.get/name": name "/dlp:v2/dlp.projects.inspectTemplates.list": list_project_inspect_templates +"/dlp:v2/dlp.projects.inspectTemplates.list/orderBy": order_by "/dlp:v2/dlp.projects.inspectTemplates.list/pageSize": page_size "/dlp:v2/dlp.projects.inspectTemplates.list/pageToken": page_token "/dlp:v2/dlp.projects.inspectTemplates.list/parent": parent @@ -65721,6 +65758,13 @@ "/iamcredentials:v1/GenerateIdTokenRequest/includeEmail": include_email "/iamcredentials:v1/GenerateIdTokenResponse": generate_id_token_response "/iamcredentials:v1/GenerateIdTokenResponse/token": token +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenRequest": generate_identity_binding_access_token_request +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenRequest/jwt": jwt +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenRequest/scope": scope +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenRequest/scope/scope": scope +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenResponse": generate_identity_binding_access_token_response +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenResponse/accessToken": access_token +"/iamcredentials:v1/GenerateIdentityBindingAccessTokenResponse/expireTime": expire_time "/iamcredentials:v1/SignBlobRequest": sign_blob_request "/iamcredentials:v1/SignBlobRequest/delegates": delegates "/iamcredentials:v1/SignBlobRequest/delegates/delegate": delegate @@ -65740,6 +65784,8 @@ "/iamcredentials:v1/iamcredentials.projects.serviceAccounts.generateAccessToken/name": name "/iamcredentials:v1/iamcredentials.projects.serviceAccounts.generateIdToken": generate_service_account_id_token "/iamcredentials:v1/iamcredentials.projects.serviceAccounts.generateIdToken/name": name +"/iamcredentials:v1/iamcredentials.projects.serviceAccounts.generateIdentityBindingAccessToken": generate_service_account_identity_binding_access_token +"/iamcredentials:v1/iamcredentials.projects.serviceAccounts.generateIdentityBindingAccessToken/name": name "/iamcredentials:v1/iamcredentials.projects.serviceAccounts.signBlob": sign_service_account_blob "/iamcredentials:v1/iamcredentials.projects.serviceAccounts.signBlob/name": name "/iamcredentials:v1/iamcredentials.projects.serviceAccounts.signJwt": sign_service_account_jwt @@ -75834,6 +75880,8 @@ "/servicecontrol:v1/AuditLog/requestMetadata": request_metadata "/servicecontrol:v1/AuditLog/resourceLocation": resource_location "/servicecontrol:v1/AuditLog/resourceName": resource_name +"/servicecontrol:v1/AuditLog/resourceOriginalState": resource_original_state +"/servicecontrol:v1/AuditLog/resourceOriginalState/resource_original_state": resource_original_state "/servicecontrol:v1/AuditLog/response": response "/servicecontrol:v1/AuditLog/response/response": response "/servicecontrol:v1/AuditLog/serviceData": service_data diff --git a/generated/google/apis/appengine_v1.rb b/generated/google/apis/appengine_v1.rb index 84d76095d..4d1c3f940 100644 --- a/generated/google/apis/appengine_v1.rb +++ b/generated/google/apis/appengine_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1 VERSION = 'V1' - REVISION = '20180726' + REVISION = '20180823' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1/classes.rb b/generated/google/apis/appengine_v1/classes.rb index a26621a9e..817f5467a 100644 --- a/generated/google/apis/appengine_v1/classes.rb +++ b/generated/google/apis/appengine_v1/classes.rb @@ -310,9 +310,11 @@ module Google class AutomaticScaling include Google::Apis::Core::Hashable - # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/ - # autoscaler/) should wait between changes to the number of virtual machines. - # Only applicable in the App Engine flexible environment. + # The time period that the Autoscaler (https://cloud.google.com/compute/docs/ + # autoscaler/) should wait before it starts collecting information from a new + # instance. This prevents the autoscaler from collecting information when the + # instance is initializing, during which the collected usage would not be + # reliable. Only applicable in the App Engine flexible environment. # Corresponds to the JSON property `coolDownPeriod` # @return [String] attr_accessor :cool_down_period diff --git a/generated/google/apis/appengine_v1beta.rb b/generated/google/apis/appengine_v1beta.rb index a220c8254..7fff26378 100644 --- a/generated/google/apis/appengine_v1beta.rb +++ b/generated/google/apis/appengine_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta VERSION = 'V1beta' - REVISION = '20180726' + REVISION = '20180823' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta/classes.rb b/generated/google/apis/appengine_v1beta/classes.rb index 08efe21ae..6278436a2 100644 --- a/generated/google/apis/appengine_v1beta/classes.rb +++ b/generated/google/apis/appengine_v1beta/classes.rb @@ -310,9 +310,11 @@ module Google class AutomaticScaling include Google::Apis::Core::Hashable - # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/ - # autoscaler/) should wait between changes to the number of virtual machines. - # Only applicable in the App Engine flexible environment. + # The time period that the Autoscaler (https://cloud.google.com/compute/docs/ + # autoscaler/) should wait before it starts collecting information from a new + # instance. This prevents the autoscaler from collecting information when the + # instance is initializing, during which the collected usage would not be + # reliable. Only applicable in the App Engine flexible environment. # Corresponds to the JSON property `coolDownPeriod` # @return [String] attr_accessor :cool_down_period @@ -3077,6 +3079,11 @@ module Google attr_accessor :vm alias_method :vm?, :vm + # VPC access connector specification. + # Corresponds to the JSON property `vpcAccessConnector` + # @return [Google::Apis::AppengineV1beta::VpcAccessConnector] + attr_accessor :vpc_access_connector + # The Google Compute Engine zones that are supported by this version in the App # Engine flexible environment. # Corresponds to the JSON property `zones` @@ -3123,6 +3130,7 @@ module Google @threadsafe = args[:threadsafe] if args.key?(:threadsafe) @version_url = args[:version_url] if args.key?(:version_url) @vm = args[:vm] if args.key?(:vm) + @vpc_access_connector = args[:vpc_access_connector] if args.key?(:vpc_access_connector) @zones = args[:zones] if args.key?(:zones) end end @@ -3159,6 +3167,26 @@ module Google end end + # VPC access connector specification. + class VpcAccessConnector + include Google::Apis::Core::Hashable + + # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/ + # us-central1/connectors/c1. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + # The zip file information for a zip deployment. class ZipInfo include Google::Apis::Core::Hashable diff --git a/generated/google/apis/appengine_v1beta/representations.rb b/generated/google/apis/appengine_v1beta/representations.rb index 3fb487d9c..6a2d8c496 100644 --- a/generated/google/apis/appengine_v1beta/representations.rb +++ b/generated/google/apis/appengine_v1beta/representations.rb @@ -454,6 +454,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VpcAccessConnector + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ZipInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1233,6 +1239,8 @@ module Google property :threadsafe, as: 'threadsafe' property :version_url, as: 'versionUrl' property :vm, as: 'vm' + property :vpc_access_connector, as: 'vpcAccessConnector', class: Google::Apis::AppengineV1beta::VpcAccessConnector, decorator: Google::Apis::AppengineV1beta::VpcAccessConnector::Representation + collection :zones, as: 'zones' end end @@ -1246,6 +1254,13 @@ module Google end end + class VpcAccessConnector + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + class ZipInfo # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/appengine_v1beta4.rb b/generated/google/apis/appengine_v1beta4.rb index 6de160ab3..d4e59d633 100644 --- a/generated/google/apis/appengine_v1beta4.rb +++ b/generated/google/apis/appengine_v1beta4.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta4 VERSION = 'V1beta4' - REVISION = '20180707' + REVISION = '20180823' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta4/classes.rb b/generated/google/apis/appengine_v1beta4/classes.rb index b03bdf5b7..0b8d8cc26 100644 --- a/generated/google/apis/appengine_v1beta4/classes.rb +++ b/generated/google/apis/appengine_v1beta4/classes.rb @@ -176,9 +176,11 @@ module Google class AutomaticScaling include Google::Apis::Core::Hashable - # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/ - # autoscaler/) should wait between changes to the number of virtual machines. - # Only applicable for VM runtimes. + # The time period that the Autoscaler (https://cloud.google.com/compute/docs/ + # autoscaler/) should wait before it starts collecting information from a new + # instance. This prevents the autoscaler from collecting information when the + # instance is initializing, during which the collected usage would not be + # reliable. Only applicable in the App Engine flexible environment. # Corresponds to the JSON property `coolDownPeriod` # @return [String] attr_accessor :cool_down_period diff --git a/generated/google/apis/appengine_v1beta5.rb b/generated/google/apis/appengine_v1beta5.rb index 075307ffa..30b4004a1 100644 --- a/generated/google/apis/appengine_v1beta5.rb +++ b/generated/google/apis/appengine_v1beta5.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta5 VERSION = 'V1beta5' - REVISION = '20180707' + REVISION = '20180823' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta5/classes.rb b/generated/google/apis/appengine_v1beta5/classes.rb index 64163ed8b..223deb160 100644 --- a/generated/google/apis/appengine_v1beta5/classes.rb +++ b/generated/google/apis/appengine_v1beta5/classes.rb @@ -176,9 +176,11 @@ module Google class AutomaticScaling include Google::Apis::Core::Hashable - # Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/ - # autoscaler/) should wait between changes to the number of virtual machines. - # Only applicable for VM runtimes. + # The time period that the Autoscaler (https://cloud.google.com/compute/docs/ + # autoscaler/) should wait before it starts collecting information from a new + # instance. This prevents the autoscaler from collecting information when the + # instance is initializing, during which the collected usage would not be + # reliable. Only applicable in the App Engine flexible environment. # Corresponds to the JSON property `coolDownPeriod` # @return [String] attr_accessor :cool_down_period diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index d08394bc0..9a569546c 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 = '20180809' + REVISION = '20180826' # 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 e6ed85650..3ac7dad37 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -1367,6 +1367,12 @@ module Google # @return [Fixnum] attr_accessor :job_timeout_ms + # [Output-only] The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or + # UNKNOWN. + # Corresponds to the JSON property `jobType` + # @return [String] + attr_accessor :job_type + # The labels associated with this job. You can use these to organize and group # your jobs. Label keys and values can be no longer than 63 characters, can only # contain lowercase letters, numeric characters, underscores and dashes. @@ -1396,6 +1402,7 @@ module Google @dry_run = args[:dry_run] if args.key?(:dry_run) @extract = args[:extract] if args.key?(:extract) @job_timeout_ms = args[:job_timeout_ms] if args.key?(:job_timeout_ms) + @job_type = args[:job_type] if args.key?(:job_type) @labels = args[:labels] if args.key?(:labels) @load = args[:load] if args.key?(:load) @query = args[:query] if args.key?(:query) @@ -1733,7 +1740,7 @@ module Google attr_accessor :create_disposition # [Optional] Specifies the default dataset to use for unqualified table names in - # the query. + # the query. Note that this does not alter behavior of unqualified dataset names. # Corresponds to the JSON property `defaultDataset` # @return [Google::Apis::BigqueryV2::DatasetReference] attr_accessor :default_dataset @@ -2184,20 +2191,18 @@ module Google attr_accessor :cache_hit alias_method :cache_hit?, :cache_hit - # [Output-only, Beta] The DDL operation performed, possibly dependent on the pre- - # existence of the DDL target. Possible values (new values might be added in the - # future): "CREATE": The query created the DDL target. "SKIP": No-op. Example - # cases: the query is CREATE TABLE IF NOT EXISTS while the table already exists, - # or the query is DROP TABLE IF EXISTS while the table does not exist. "REPLACE": - # The query replaced the DDL target. Example case: the query is CREATE OR - # REPLACE TABLE, and the table already exists. "DROP": The query deleted the DDL - # target. + # The DDL operation performed, possibly dependent on the pre-existence of the + # DDL target. Possible values (new values might be added in the future): "CREATE" + # : The query created the DDL target. "SKIP": No-op. Example cases: the query is + # CREATE TABLE IF NOT EXISTS while the table already exists, or the query is + # DROP TABLE IF EXISTS while the table does not exist. "REPLACE": The query + # replaced the DDL target. Example case: the query is CREATE OR REPLACE TABLE, + # and the table already exists. "DROP": The query deleted the DDL target. # Corresponds to the JSON property `ddlOperationPerformed` # @return [String] attr_accessor :ddl_operation_performed - # [Output-only, Beta] The DDL target table. Present only for CREATE/DROP TABLE/ - # VIEW queries. + # The DDL target table. Present only for CREATE/DROP TABLE/VIEW queries. # Corresponds to the JSON property `ddlTargetTable` # @return [Google::Apis::BigqueryV2::TableReference] attr_accessor :ddl_target_table @@ -2250,15 +2255,15 @@ module Google # @return [Google::Apis::BigqueryV2::TableSchema] attr_accessor :schema - # [Output-only, Beta] The type of query statement, if valid. Possible values ( - # new values might be added in the future): "SELECT": SELECT query. "INSERT": - # INSERT query; see https://cloud.google.com/bigquery/docs/reference/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 "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. " + # The type of query statement, if valid. Possible values (new values might be + # added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see + # https://cloud.google.com/bigquery/docs/reference/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 "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. @@ -2292,8 +2297,8 @@ module Google # @return [Fixnum] attr_accessor :total_slot_ms - # [Output-only, Beta] Standard SQL only: list of undeclared query parameters - # detected during a dry run validation. + # Standard SQL only: list of undeclared query parameters detected during a dry + # run validation. # Corresponds to the JSON property `undeclaredQueryParameters` # @return [Array] attr_accessor :undeclared_query_parameters diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 0b2d3fc45..4f64ae364 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -739,6 +739,7 @@ module Google property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation property :job_timeout_ms, :numeric_string => true, as: 'jobTimeoutMs' + property :job_type, as: 'jobType' hash :labels, as: 'labels' property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation diff --git a/generated/google/apis/cloudtasks_v2beta3.rb b/generated/google/apis/cloudtasks_v2beta3.rb index 16aa3b0e1..99fd6a101 100644 --- a/generated/google/apis/cloudtasks_v2beta3.rb +++ b/generated/google/apis/cloudtasks_v2beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tasks/ module CloudtasksV2beta3 VERSION = 'V2beta3' - REVISION = '20180827' + REVISION = '20180830' # 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/cloudtasks_v2beta3/classes.rb b/generated/google/apis/cloudtasks_v2beta3/classes.rb index ff4992adf..fb11f8ab4 100644 --- a/generated/google/apis/cloudtasks_v2beta3/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta3/classes.rb @@ -83,12 +83,11 @@ module Google # `https://www.googleapis.com/auth/cloud-platform` # The task will be delivered to the App Engine app which belongs to the same # project as the queue. For more information, see - # [How Requests are - # Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests- - # are-routed) + # [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/ + # python/how-requests-are-routed) # and how routing is affected by - # [dispatch - # files](https://cloud.google.com/appengine/docs/python/config/dispatchref). + # [dispatch files](https://cloud.google.com/appengine/docs/python/config/ + # dispatchref). # The AppEngineRouting used to construct the URL that the task is # delivered to can be set at the queue-level or task-level: # * If set, @@ -167,9 +166,8 @@ module Google # * `X-AppEngine-*` # In addition, Cloud Tasks sets some headers when the task is dispatched, # such as headers containing information about the task; see - # [request - # headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/ - # creating-handlers#reading_request_headers). + # [request headers](https://cloud.google.com/appengine/docs/python/taskqueue/ + # push/creating-handlers#reading_request_headers). # These headers are set only when the task is dispatched, so they are not # visible when the task is returned in a Cloud Tasks response. # Although there is no specific limit for the maximum number of headers or @@ -906,10 +904,10 @@ module Google # token is removed from the bucket. Tasks will be dispatched until # the queue's bucket runs out of tokens. The bucket will be # continuously refilled with new tokens based on - # max_tasks_dispatched_per_second. + # max_dispatches_per_second. # Cloud Tasks will pick the value of `max_burst_size` based on the # value of - # max_tasks_dispatched_per_second. + # max_dispatches_per_second. # For App Engine queues that were created or updated using # `queue.yaml/xml`, `max_burst_size` is equal to # [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/ @@ -918,9 +916,9 @@ module Google # UpdateQueue is called on a queue # created by `queue.yaml/xml`, `max_burst_size` will be reset based # on the value of - # max_tasks_dispatched_per_second, + # max_dispatches_per_second, # regardless of whether - # max_tasks_dispatched_per_second + # max_dispatches_per_second # is updated. # Corresponds to the JSON property `maxBurstSize` # @return [Fixnum] @@ -982,10 +980,16 @@ module Google class RetryConfig include Google::Apis::Core::Hashable - # The maximum number of attempts for a task. - # Cloud Tasks will attempt the task `max_attempts` times (that - # is, if the first attempt fails, then there will be - # `max_attempts - 1` retries). Must be > 0. + # Number of attempts per task. + # Cloud Tasks will attempt the task `max_attempts` times (that is, if the + # first attempt fails, then there will be `max_attempts - 1` retries). Must + # be >= -1. + # If unspecified when the queue is created, Cloud Tasks will pick the + # default. + # -1 indicates unlimited attempts. + # This field has the same meaning as + # [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/ + # standard/python/config/queueref#retry_parameters). # Corresponds to the JSON property `maxAttempts` # @return [Fixnum] attr_accessor :max_attempts @@ -1062,12 +1066,6 @@ module Google # @return [String] attr_accessor :min_backoff - # If true, then the number of attempts is unlimited. - # Corresponds to the JSON property `unlimitedAttempts` - # @return [Boolean] - attr_accessor :unlimited_attempts - alias_method :unlimited_attempts?, :unlimited_attempts - def initialize(**args) update!(**args) end @@ -1079,7 +1077,6 @@ module Google @max_doublings = args[:max_doublings] if args.key?(:max_doublings) @max_retry_duration = args[:max_retry_duration] if args.key?(:max_retry_duration) @min_backoff = args[:min_backoff] if args.key?(:min_backoff) - @unlimited_attempts = args[:unlimited_attempts] if args.key?(:unlimited_attempts) end end @@ -1256,12 +1253,11 @@ module Google # `https://www.googleapis.com/auth/cloud-platform` # The task will be delivered to the App Engine app which belongs to the same # project as the queue. For more information, see - # [How Requests are - # Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests- - # are-routed) + # [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/ + # python/how-requests-are-routed) # and how routing is affected by - # [dispatch - # files](https://cloud.google.com/appengine/docs/python/config/dispatchref). + # [dispatch files](https://cloud.google.com/appengine/docs/python/config/ + # dispatchref). # The AppEngineRouting used to construct the URL that the task is # delivered to can be set at the queue-level or task-level: # * If set, diff --git a/generated/google/apis/cloudtasks_v2beta3/representations.rb b/generated/google/apis/cloudtasks_v2beta3/representations.rb index 9f6b4d5b6..e3aa4b3cf 100644 --- a/generated/google/apis/cloudtasks_v2beta3/representations.rb +++ b/generated/google/apis/cloudtasks_v2beta3/representations.rb @@ -358,7 +358,6 @@ module Google property :max_doublings, as: 'maxDoublings' property :max_retry_duration, as: 'maxRetryDuration' property :min_backoff, as: 'minBackoff' - property :unlimited_attempts, as: 'unlimitedAttempts' end end diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 0eb79e81b..99df3b034 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20180821' + REVISION = '20180829' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 313e080ca..88736bfbd 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -41,6 +41,11 @@ module Google # @return [Array] attr_accessor :adwords_links + # The business information of the account. + # Corresponds to the JSON property `businessInformation` + # @return [Google::Apis::ContentV2::AccountBusinessInformation] + attr_accessor :business_information + # The GMB account which is linked or in the process of being linked with the # Merchant Center account. # Corresponds to the JSON property `googleMyBusinessLink` @@ -101,6 +106,7 @@ module Google def update!(**args) @adult_content = args[:adult_content] if args.key?(:adult_content) @adwords_links = args[:adwords_links] if args.key?(:adwords_links) + @business_information = args[:business_information] if args.key?(:business_information) @google_my_business_link = args[:google_my_business_link] if args.key?(:google_my_business_link) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @@ -113,6 +119,51 @@ module Google end end + # + class AccountAddress + include Google::Apis::Core::Hashable + + # CLDR country code (e.g. "US"). + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # City, town or commune. May also include dependent localities or sublocalities ( + # e.g. neighborhoods or suburbs). + # Corresponds to the JSON property `locality` + # @return [String] + attr_accessor :locality + + # Postal code or ZIP (e.g. "94043"). + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # Top-level administrative subdivision of the country. For example, a state like + # California ("CA") or a province like Quebec ("QC"). + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Street-level part of the address. + # Corresponds to the JSON property `streetAddress` + # @return [String] + attr_accessor :street_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country = args[:country] if args.key?(:country) + @locality = args[:locality] if args.key?(:locality) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @region = args[:region] if args.key?(:region) + @street_address = args[:street_address] if args.key?(:street_address) + end + end + # class AccountAdwordsLink include Google::Apis::Core::Hashable @@ -146,6 +197,68 @@ module Google end end + # + class AccountBusinessInformation + include Google::Apis::Core::Hashable + + # The address of the business. + # Corresponds to the JSON property `address` + # @return [Google::Apis::ContentV2::AccountAddress] + attr_accessor :address + + # The customer service information of the business. + # Corresponds to the JSON property `customerService` + # @return [Google::Apis::ContentV2::AccountCustomerService] + attr_accessor :customer_service + + # The phone number of the business. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @customer_service = args[:customer_service] if args.key?(:customer_service) + @phone_number = args[:phone_number] if args.key?(:phone_number) + end + end + + # + class AccountCustomerService + include Google::Apis::Core::Hashable + + # Customer service email. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Customer service phone number. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # Customer service URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @url = args[:url] if args.key?(:url) + end + end + # class AccountGoogleMyBusinessLink include Google::Apis::Core::Hashable @@ -5436,6 +5549,45 @@ module Google end end + # + class OrdersCancelTestOrderByCustomerRequest + include Google::Apis::Core::Hashable + + # The reason for the cancellation. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reason = args[:reason] if args.key?(:reason) + end + end + + # + class OrdersCancelTestOrderByCustomerResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # ordersCancelTestOrderByCustomerResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + end + end + # class OrdersCreateTestOrderRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index 9be4d95a8..5ad2daf0d 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -28,12 +28,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AccountAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccountAdwordsLink class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AccountBusinessInformation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountCustomerService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccountGoogleMyBusinessLink class Representation < Google::Apis::Core::JsonRepresentation; end @@ -862,6 +880,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OrdersCancelTestOrderByCustomerRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrdersCancelTestOrderByCustomerResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OrdersCreateTestOrderRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1522,6 +1552,8 @@ module Google property :adult_content, as: 'adultContent' collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation + property :business_information, as: 'businessInformation', class: Google::Apis::ContentV2::AccountBusinessInformation, decorator: Google::Apis::ContentV2::AccountBusinessInformation::Representation + property :google_my_business_link, as: 'googleMyBusinessLink', class: Google::Apis::ContentV2::AccountGoogleMyBusinessLink, decorator: Google::Apis::ContentV2::AccountGoogleMyBusinessLink::Representation property :id, :numeric_string => true, as: 'id' @@ -1537,6 +1569,17 @@ module Google end end + class AccountAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country, as: 'country' + property :locality, as: 'locality' + property :postal_code, as: 'postalCode' + property :region, as: 'region' + property :street_address, as: 'streetAddress' + end + end + class AccountAdwordsLink # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1545,6 +1588,26 @@ module Google end end + class AccountBusinessInformation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address', class: Google::Apis::ContentV2::AccountAddress, decorator: Google::Apis::ContentV2::AccountAddress::Representation + + property :customer_service, as: 'customerService', class: Google::Apis::ContentV2::AccountCustomerService, decorator: Google::Apis::ContentV2::AccountCustomerService::Representation + + property :phone_number, as: 'phoneNumber' + end + end + + class AccountCustomerService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + property :phone_number, as: 'phoneNumber' + property :url, as: 'url' + end + end + class AccountGoogleMyBusinessLink # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3045,6 +3108,20 @@ module Google end end + class OrdersCancelTestOrderByCustomerRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reason, as: 'reason' + end + end + + class OrdersCancelTestOrderByCustomerResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + end + end + class OrdersCreateTestOrderRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index d2d0e7451..c7e5ff852 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -2248,6 +2248,46 @@ module Google execute_or_queue_command(command, &block) end + # Sandbox only. Cancels a test order for customer-initiated cancellation. + # @param [Fixnum] merchant_id + # The ID of the account that manages the order. This cannot be a multi-client + # account. + # @param [String] order_id + # The ID of the test order to cancel. + # @param [Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest] orders_cancel_test_order_by_customer_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::ContentV2::OrdersCancelTestOrderByCustomerResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse] + # + # @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 canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options) + command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation + command.request_object = orders_cancel_test_order_by_customer_request_object + command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation + command.response_class = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.params['orderId'] = order_id unless order_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 + # Sandbox only. Creates a test order. # @param [Fixnum] merchant_id # The ID of the account that should manage the order. This cannot be a multi- diff --git a/generated/google/apis/content_v2sandbox.rb b/generated/google/apis/content_v2sandbox.rb index 90878b9cf..408fa46a9 100644 --- a/generated/google/apis/content_v2sandbox.rb +++ b/generated/google/apis/content_v2sandbox.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2sandbox VERSION = 'V2sandbox' - REVISION = '20180821' + REVISION = '20180829' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2sandbox/classes.rb b/generated/google/apis/content_v2sandbox/classes.rb index 1e6a90296..256de60b2 100644 --- a/generated/google/apis/content_v2sandbox/classes.rb +++ b/generated/google/apis/content_v2sandbox/classes.rb @@ -1871,6 +1871,45 @@ module Google end end + # + class OrdersCancelTestOrderByCustomerRequest + include Google::Apis::Core::Hashable + + # The reason for the cancellation. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reason = args[:reason] if args.key?(:reason) + end + end + + # + class OrdersCancelTestOrderByCustomerResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # ordersCancelTestOrderByCustomerResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + end + end + # class OrdersCreateTestOrderRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2sandbox/representations.rb b/generated/google/apis/content_v2sandbox/representations.rb index 7d04db37a..e17d7cee6 100644 --- a/generated/google/apis/content_v2sandbox/representations.rb +++ b/generated/google/apis/content_v2sandbox/representations.rb @@ -298,6 +298,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OrdersCancelTestOrderByCustomerRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrdersCancelTestOrderByCustomerResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OrdersCreateTestOrderRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1140,6 +1152,20 @@ module Google end end + class OrdersCancelTestOrderByCustomerRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reason, as: 'reason' + end + end + + class OrdersCancelTestOrderByCustomerResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + end + end + class OrdersCreateTestOrderRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2sandbox/service.rb b/generated/google/apis/content_v2sandbox/service.rb index 18acadd26..42142ac98 100644 --- a/generated/google/apis/content_v2sandbox/service.rb +++ b/generated/google/apis/content_v2sandbox/service.rb @@ -454,6 +454,46 @@ module Google execute_or_queue_command(command, &block) end + # Sandbox only. Cancels a test order for customer-initiated cancellation. + # @param [Fixnum] merchant_id + # The ID of the account that manages the order. This cannot be a multi-client + # account. + # @param [String] order_id + # The ID of the test order to cancel. + # @param [Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerRequest] orders_cancel_test_order_by_customer_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::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse] + # + # @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 canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options) + command.request_representation = Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerRequest::Representation + command.request_object = orders_cancel_test_order_by_customer_request_object + command.response_representation = Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse::Representation + command.response_class = Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.params['orderId'] = order_id unless order_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 + # Sandbox only. Creates a test order. # @param [Fixnum] merchant_id # The ID of the account that should manage the order. This cannot be a multi- diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 93f474dbd..20c49739a 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20180821' + REVISION = '20180830' # 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/dlp_v2/service.rb b/generated/google/apis/dlp_v2/service.rb index 3fb4dbdd6..2ade8e40e 100644 --- a/generated/google/apis/dlp_v2/service.rb +++ b/generated/google/apis/dlp_v2/service.rb @@ -198,6 +198,17 @@ module Google # @param [String] parent # The parent resource name, for example projects/my-project-id or # organizations/my-org-id. + # @param [String] order_by + # Optional comma separated list of fields to order by, + # followed by `asc` or `desc` postfix. This list is case-insensitive, + # default sorting order is ascending, redundant space characters are + # insignificant. + # Example: `name asc,update_time, create_time desc` + # Supported fields are: + # - `create_time`: corresponds to time the template was created. + # - `update_time`: corresponds to time the template was last updated. + # - `name`: corresponds to template's name. + # - `display_name`: corresponds to template's display name. # @param [Fixnum] page_size # Optional size of the page, can be limited by server. If zero server returns # a page of max size 100. @@ -221,11 +232,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_deidentify_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_organization_deidentify_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -377,6 +389,17 @@ module Google # @param [String] parent # The parent resource name, for example projects/my-project-id or # organizations/my-org-id. + # @param [String] order_by + # Optional comma separated list of fields to order by, + # followed by `asc` or `desc` postfix. This list is case-insensitive, + # default sorting order is ascending, redundant space characters are + # insignificant. + # Example: `name asc,update_time, create_time desc` + # Supported fields are: + # - `create_time`: corresponds to time the template was created. + # - `update_time`: corresponds to time the template was last updated. + # - `name`: corresponds to template's name. + # - `display_name`: corresponds to template's display name. # @param [Fixnum] page_size # Optional size of the page, can be limited by server. If zero server returns # a page of max size 100. @@ -400,11 +423,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_inspect_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_organization_inspect_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -857,6 +881,17 @@ module Google # @param [String] parent # The parent resource name, for example projects/my-project-id or # organizations/my-org-id. + # @param [String] order_by + # Optional comma separated list of fields to order by, + # followed by `asc` or `desc` postfix. This list is case-insensitive, + # default sorting order is ascending, redundant space characters are + # insignificant. + # Example: `name asc,update_time, create_time desc` + # Supported fields are: + # - `create_time`: corresponds to time the template was created. + # - `update_time`: corresponds to time the template was last updated. + # - `name`: corresponds to template's name. + # - `display_name`: corresponds to template's display name. # @param [Fixnum] page_size # Optional size of the page, can be limited by server. If zero server returns # a page of max size 100. @@ -880,11 +915,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_deidentify_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_deidentify_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse command.params['parent'] = parent unless parent.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -1277,6 +1313,17 @@ module Google # @param [String] parent # The parent resource name, for example projects/my-project-id or # organizations/my-org-id. + # @param [String] order_by + # Optional comma separated list of fields to order by, + # followed by `asc` or `desc` postfix. This list is case-insensitive, + # default sorting order is ascending, redundant space characters are + # insignificant. + # Example: `name asc,update_time, create_time desc` + # Supported fields are: + # - `create_time`: corresponds to time the template was created. + # - `update_time`: corresponds to time the template was last updated. + # - `name`: corresponds to template's name. + # - `display_name`: corresponds to template's display name. # @param [Fixnum] page_size # Optional size of the page, can be limited by server. If zero server returns # a page of max size 100. @@ -1300,11 +1347,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_inspect_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_inspect_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options) command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse command.params['parent'] = parent unless parent.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -1458,8 +1506,8 @@ module Google # insignificant. # Example: `name asc,update_time, create_time desc` # Supported fields are: - # - `create_time`: corresponds to time the triggeredJob was created. - # - `update_time`: corresponds to time the triggeredJob was last updated. + # - `create_time`: corresponds to time the JobTrigger was created. + # - `update_time`: corresponds to time the JobTrigger was last updated. # - `name`: corresponds to JobTrigger's name. # - `display_name`: corresponds to JobTrigger's display name. # - `status`: corresponds to JobTrigger's status. diff --git a/generated/google/apis/iamcredentials_v1.rb b/generated/google/apis/iamcredentials_v1.rb index 8ec34955a..1e6959289 100644 --- a/generated/google/apis/iamcredentials_v1.rb +++ b/generated/google/apis/iamcredentials_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials module IamcredentialsV1 VERSION = 'V1' - REVISION = '20180727' + REVISION = '20180824' # 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/iamcredentials_v1/classes.rb b/generated/google/apis/iamcredentials_v1/classes.rb index a1cebfe16..f5df55861 100644 --- a/generated/google/apis/iamcredentials_v1/classes.rb +++ b/generated/google/apis/iamcredentials_v1/classes.rb @@ -152,6 +152,103 @@ module Google end end + # + class GenerateIdentityBindingAccessTokenRequest + include Google::Apis::Core::Hashable + + # Required. Input token. + # Must be in JWT format according to + # RFC7523 (https://tools.ietf.org/html/rfc7523) + # and must have 'kid' field in the header. + # Supported signing algorithms: RS256 (RS512, ES256, ES512 coming soon). + # Mandatory payload fields (along the lines of RFC 7523, section 3): + # - iss: issuer of the token. Must provide a discovery document at + # $iss/.well-known/openid-configuration . The document needs to be + # formatted according to section 4.2 of the OpenID Connect Discovery + # 1.0 specification. + # - iat: Issue time in seconds since epoch. Must be in the past. + # - exp: Expiration time in seconds since epoch. Must be less than 48 hours + # after iat. We recommend to create tokens that last shorter than 6 + # hours to improve security unless business reasons mandate longer + # expiration times. Shorter token lifetimes are generally more secure + # since tokens that have been exfiltrated by attackers can be used for + # a shorter time. you can configure the maximum lifetime of the + # incoming token in the configuration of the mapper. + # The resulting Google token will expire within an hour or at "exp", + # whichever is earlier. + # - sub: JWT subject, identity asserted in the JWT. + # - aud: Configured in the mapper policy. By default the service account + # email. + # Claims from the incoming token can be transferred into the output token + # accoding to the mapper configuration. The outgoing claim size is limited. + # Outgoing claims size must be less than 4kB serialized as JSON without + # whitespace. + # Example header: + # ` + # "alg": "RS256", + # "kid": "92a4265e14ab04d4d228a48d10d4ca31610936f8" + # ` + # Example payload: + # ` + # "iss": "https://accounts.google.com", + # "iat": 1517963104, + # "exp": 1517966704, + # "aud": "https://iamcredentials.googleapis.com/google.iam.credentials.v1. + # CloudGaia", + # "sub": "113475438248934895348", + # "my_claims": ` + # "additional_claim": "value" + # ` + # ` + # Corresponds to the JSON property `jwt` + # @return [String] + attr_accessor :jwt + + # Code to identify the scopes to be included in the OAuth 2.0 access token. + # See https://developers.google.com/identity/protocols/googlescopes for more + # information. + # At least one value required. + # Corresponds to the JSON property `scope` + # @return [Array] + attr_accessor :scope + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jwt = args[:jwt] if args.key?(:jwt) + @scope = args[:scope] if args.key?(:scope) + end + end + + # + class GenerateIdentityBindingAccessTokenResponse + include Google::Apis::Core::Hashable + + # The OAuth 2.0 access token. + # Corresponds to the JSON property `accessToken` + # @return [String] + attr_accessor :access_token + + # Token expiration time. + # The expiration time is always set. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @access_token = args[:access_token] if args.key?(:access_token) + @expire_time = args[:expire_time] if args.key?(:expire_time) + end + end + # class SignBlobRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/iamcredentials_v1/representations.rb b/generated/google/apis/iamcredentials_v1/representations.rb index 36e16881b..dbf7496ea 100644 --- a/generated/google/apis/iamcredentials_v1/representations.rb +++ b/generated/google/apis/iamcredentials_v1/representations.rb @@ -46,6 +46,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GenerateIdentityBindingAccessTokenRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GenerateIdentityBindingAccessTokenResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SignBlobRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -103,6 +115,22 @@ module Google end end + class GenerateIdentityBindingAccessTokenRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :jwt, as: 'jwt' + collection :scope, as: 'scope' + end + end + + class GenerateIdentityBindingAccessTokenResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_token, as: 'accessToken' + property :expire_time, as: 'expireTime' + end + end + class SignBlobRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/iamcredentials_v1/service.rb b/generated/google/apis/iamcredentials_v1/service.rb index d5cb9e4aa..bf4b554c9 100644 --- a/generated/google/apis/iamcredentials_v1/service.rb +++ b/generated/google/apis/iamcredentials_v1/service.rb @@ -121,6 +121,43 @@ module Google execute_or_queue_command(command, &block) end + # + # @param [String] name + # The resource name of the service account for which the credentials + # are requested, in the following format: + # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. + # Using `-` as a wildcard for the project will infer the project from + # the account. + # @param [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest] generate_identity_binding_access_token_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse] + # + # @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 generate_service_account_identity_binding_access_token(name, generate_identity_binding_access_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:generateIdentityBindingAccessToken', options) + command.request_representation = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest::Representation + command.request_object = generate_identity_binding_access_token_request_object + command.response_representation = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse::Representation + command.response_class = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Signs a blob using a service account's system-managed private key. # @param [String] name # The resource name of the service account for which the credentials diff --git a/generated/google/apis/language_v1beta2.rb b/generated/google/apis/language_v1beta2.rb index c46f10609..8aa748b59 100644 --- a/generated/google/apis/language_v1beta2.rb +++ b/generated/google/apis/language_v1beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta2 VERSION = 'V1beta2' - REVISION = '20180603' + REVISION = '20180827' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/language_v1beta2/classes.rb b/generated/google/apis/language_v1beta2/classes.rb index c79cbbaae..d8f60ae66 100644 --- a/generated/google/apis/language_v1beta2/classes.rb +++ b/generated/google/apis/language_v1beta2/classes.rb @@ -161,6 +161,7 @@ module Google # Represents the feeling associated with the entire text or entities in # the text. + # Next ID: 5 # Corresponds to the JSON property `documentSentiment` # @return [Google::Apis::LanguageV1beta2::Sentiment] attr_accessor :document_sentiment @@ -266,6 +267,7 @@ module Google # All available features for sentiment, syntax, and semantic analysis. # Setting each one to true will enable that specific analysis for the input. + # Next ID: 10 # Corresponds to the JSON property `features` # @return [Google::Apis::LanguageV1beta2::Features] attr_accessor :features @@ -293,6 +295,7 @@ module Google # Represents the feeling associated with the entire text or entities in # the text. + # Next ID: 5 # Corresponds to the JSON property `documentSentiment` # @return [Google::Apis::LanguageV1beta2::Sentiment] attr_accessor :document_sentiment @@ -519,6 +522,7 @@ module Google # Represents the feeling associated with the entire text or entities in # the text. + # Next ID: 5 # Corresponds to the JSON property `sentiment` # @return [Google::Apis::LanguageV1beta2::Sentiment] attr_accessor :sentiment @@ -550,6 +554,7 @@ module Google # Represents the feeling associated with the entire text or entities in # the text. + # Next ID: 5 # Corresponds to the JSON property `sentiment` # @return [Google::Apis::LanguageV1beta2::Sentiment] attr_accessor :sentiment @@ -578,6 +583,7 @@ module Google # All available features for sentiment, syntax, and semantic analysis. # Setting each one to true will enable that specific analysis for the input. + # Next ID: 10 class Features include Google::Apis::Core::Hashable @@ -718,6 +724,7 @@ module Google # Represents the feeling associated with the entire text or entities in # the text. + # Next ID: 5 # Corresponds to the JSON property `sentiment` # @return [Google::Apis::LanguageV1beta2::Sentiment] attr_accessor :sentiment @@ -740,6 +747,7 @@ module Google # Represents the feeling associated with the entire text or entities in # the text. + # Next ID: 5 class Sentiment include Google::Apis::Core::Hashable diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 5bcc8fd84..90cf41a45 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20180815' + REVISION = '20180825' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 81f6d20bc..01a330da2 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -188,6 +188,17 @@ module Google # @return [String] attr_accessor :resource_name + # The resource's original state before mutation. Present only for + # operations which have successfully modified the targeted resource(s). + # In general, this field should contain all changed fields, except those + # that are already been included in `request`, `response`, `metadata` or + # `service_data` fields. + # When the JSON object represented here has a proto equivalent, + # the proto name will be indicated in the `@type` property. + # Corresponds to the JSON property `resourceOriginalState` + # @return [Hash] + attr_accessor :resource_original_state + # The operation response. This may not include all response elements, # such as those that are too large, privacy-sensitive, or duplicated # elsewhere in the log record. @@ -269,6 +280,7 @@ module Google @request_metadata = args[:request_metadata] if args.key?(:request_metadata) @resource_location = args[:resource_location] if args.key?(:resource_location) @resource_name = args[:resource_name] if args.key?(:resource_name) + @resource_original_state = args[:resource_original_state] if args.key?(:resource_original_state) @response = args[:response] if args.key?(:response) @service_data = args[:service_data] if args.key?(:service_data) @service_name = args[:service_name] if args.key?(:service_name) diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 1be025e64..4fa44291d 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -332,6 +332,7 @@ module Google property :resource_location, as: 'resourceLocation', class: Google::Apis::ServicecontrolV1::ResourceLocation, decorator: Google::Apis::ServicecontrolV1::ResourceLocation::Representation property :resource_name, as: 'resourceName' + hash :resource_original_state, as: 'resourceOriginalState' hash :response, as: 'response' hash :service_data, as: 'serviceData' property :service_name, as: 'serviceName' diff --git a/generated/google/apis/spanner_v1.rb b/generated/google/apis/spanner_v1.rb index 57989667f..ea54e2e3a 100644 --- a/generated/google/apis/spanner_v1.rb +++ b/generated/google/apis/spanner_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/spanner/ module SpannerV1 VERSION = 'V1' - REVISION = '20180625' + REVISION = '20180823' # 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/spanner_v1/classes.rb b/generated/google/apis/spanner_v1/classes.rb index 32568cda8..f1f7abd7c 100644 --- a/generated/google/apis/spanner_v1/classes.rb +++ b/generated/google/apis/spanner_v1/classes.rb @@ -213,6 +213,14 @@ module Google class Binding include Google::Apis::Core::Hashable + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SpannerV1::Expr] + attr_accessor :condition + # Specifies the identities requesting access for a Cloud Platform resource. # `members` can have the following values: # * `allUsers`: A special identifier that represents anyone who is @@ -233,7 +241,6 @@ module Google # Role that is assigned to `members`. # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - # Required # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -244,6 +251,7 @@ module Google # Update properties of this object def update!(**args) + @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end @@ -817,6 +825,53 @@ module Google end end + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable + + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + end + end + # Message representing a single field of a struct. class Field include Google::Apis::Core::Hashable diff --git a/generated/google/apis/spanner_v1/representations.rb b/generated/google/apis/spanner_v1/representations.rb index accf43199..348e5592b 100644 --- a/generated/google/apis/spanner_v1/representations.rb +++ b/generated/google/apis/spanner_v1/representations.rb @@ -106,6 +106,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Expr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Field class Representation < Google::Apis::Core::JsonRepresentation; end @@ -393,6 +399,8 @@ module Google class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation + collection :members, as: 'members' property :role, as: 'role' end @@ -506,6 +514,16 @@ module Google end end + class Expr + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end + class Field # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/spanner_v1/service.rb b/generated/google/apis/spanner_v1/service.rb index c60fcf7be..658f24703 100644 --- a/generated/google/apis/spanner_v1/service.rb +++ b/generated/google/apis/spanner_v1/service.rb @@ -1291,7 +1291,9 @@ module Google # must be used by the PartitionQueryRequest used to create the # partition tokens and the ExecuteSqlRequests that use the partition tokens. # Partition tokens become invalid when the session used to create them - # is deleted or begins a new transaction. + # is deleted, is idle for too long, begins a new transaction, or becomes too + # old. When any of these happen, it is not possible to resume the query, and + # the whole operation must be restarted from the beginning. # @param [String] session # Required. The session used to create the partitions. # @param [Google::Apis::SpannerV1::PartitionQueryRequest] partition_query_request_object @@ -1329,9 +1331,13 @@ module Google # by StreamingRead to specify a subset of the read # result to read. The same session and read-only transaction must be used by # the PartitionReadRequest used to create the partition tokens and the - # ReadRequests that use the partition tokens. + # ReadRequests that use the partition tokens. There are no ordering + # guarantees on rows returned among the returned partition tokens, or even + # within each individual StreamingRead call issued with a partition_token. # Partition tokens become invalid when the session used to create them - # is deleted or begins a new transaction. + # is deleted, is idle for too long, begins a new transaction, or becomes too + # old. When any of these happen, it is not possible to resume the read, and + # the whole operation must be restarted from the beginning. # @param [String] session # Required. The session used to create the partitions. # @param [Google::Apis::SpannerV1::PartitionReadRequest] partition_read_request_object diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index ac4461855..e9916905e 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20180820' + REVISION = '20180827' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'