From 3a1ff08fe6c228a30e78204adac14883db5e7338 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 19 Sep 2017 00:36:22 +0000 Subject: [PATCH] Autogenerated update (2017-09-19) Update: - adexperiencereport_v1 - androiddeviceprovisioning_v1 - androidmanagement_v1 - bigquerydatatransfer_v1 - genomics_v1 - genomics_v1alpha2 - storage_v1 --- api_names_out.yaml | 3 ++ .../google/apis/adexperiencereport_v1.rb | 2 +- .../apis/adexperiencereport_v1/classes.rb | 6 ---- .../adexperiencereport_v1/representations.rb | 1 - .../apis/androiddeviceprovisioning_v1.rb | 2 +- .../androiddeviceprovisioning_v1/classes.rb | 26 +++++++++-------- .../androiddeviceprovisioning_v1/service.rb | 12 ++++---- generated/google/apis/androidmanagement_v1.rb | 2 +- .../apis/androidmanagement_v1/classes.rb | 17 ++++++----- .../apis/androidpublisher_v2/service.rb | 2 +- .../google/apis/bigquerydatatransfer_v1.rb | 2 +- .../apis/bigquerydatatransfer_v1/classes.rb | 6 ++-- .../apis/deploymentmanager_v2/service.rb | 2 +- generated/google/apis/dns_v1/service.rb | 2 +- generated/google/apis/genomics_v1.rb | 2 +- generated/google/apis/genomics_v1/classes.rb | 2 +- generated/google/apis/genomics_v1alpha2.rb | 2 +- .../google/apis/genomics_v1alpha2/classes.rb | 2 +- .../google/apis/sqladmin_v1beta4/service.rb | 2 +- generated/google/apis/storage_v1.rb | 2 +- generated/google/apis/storage_v1/service.rb | 28 ++++++++++--------- generated/google/apis/youtube_v3/service.rb | 2 +- 22 files changed, 65 insertions(+), 62 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 06656dcec..ef276aa5d 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -54673,12 +54673,14 @@ "/storage:v1/storage.buckets.insert/predefinedDefaultObjectAcl": predefined_default_object_acl "/storage:v1/storage.buckets.insert/project": project "/storage:v1/storage.buckets.insert/projection": projection +"/storage:v1/storage.buckets.insert/userProject": user_project "/storage:v1/storage.buckets.list": list_buckets "/storage:v1/storage.buckets.list/maxResults": max_results "/storage:v1/storage.buckets.list/pageToken": page_token "/storage:v1/storage.buckets.list/prefix": prefix "/storage:v1/storage.buckets.list/project": project "/storage:v1/storage.buckets.list/projection": projection +"/storage:v1/storage.buckets.list/userProject": user_project "/storage:v1/storage.buckets.patch": patch_bucket "/storage:v1/storage.buckets.patch/bucket": bucket "/storage:v1/storage.buckets.patch/ifMetagenerationMatch": if_metageneration_match @@ -54909,6 +54911,7 @@ "/storage:v1/storage.objects.watchAll/versions": versions "/storage:v1/storage.projects.serviceAccount.get": get_project_service_account "/storage:v1/storage.projects.serviceAccount.get/projectId": project_id +"/storage:v1/storage.projects.serviceAccount.get/userProject": user_project "/storage:v1/userIp": user_ip "/storage:v1beta1/Bucket": bucket "/storage:v1beta1/Bucket/acl": acl diff --git a/generated/google/apis/adexperiencereport_v1.rb b/generated/google/apis/adexperiencereport_v1.rb index 0b8133d0f..4ca475049 100644 --- a/generated/google/apis/adexperiencereport_v1.rb +++ b/generated/google/apis/adexperiencereport_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-experience-report/ module AdexperiencereportV1 VERSION = 'V1' - REVISION = '20170819' + REVISION = '20170918' # Test scope for access to the Zoo service AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo' diff --git a/generated/google/apis/adexperiencereport_v1/classes.rb b/generated/google/apis/adexperiencereport_v1/classes.rb index bad20babd..299309a2a 100644 --- a/generated/google/apis/adexperiencereport_v1/classes.rb +++ b/generated/google/apis/adexperiencereport_v1/classes.rb @@ -26,11 +26,6 @@ module Google class PlatformSummary include Google::Apis::Core::Hashable - # The status of the site reviewed for abusive ads. - # Corresponds to the JSON property `abusiveStatus` - # @return [String] - attr_accessor :abusive_status - # The status of the site reviewed for the Better Ads Standards. # Corresponds to the JSON property `betterAdsStatus` # @return [String] @@ -73,7 +68,6 @@ module Google # Update properties of this object def update!(**args) - @abusive_status = args[:abusive_status] if args.key?(:abusive_status) @better_ads_status = args[:better_ads_status] if args.key?(:better_ads_status) @enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time) @filter_status = args[:filter_status] if args.key?(:filter_status) diff --git a/generated/google/apis/adexperiencereport_v1/representations.rb b/generated/google/apis/adexperiencereport_v1/representations.rb index 53e377460..f1a45ed26 100644 --- a/generated/google/apis/adexperiencereport_v1/representations.rb +++ b/generated/google/apis/adexperiencereport_v1/representations.rb @@ -43,7 +43,6 @@ module Google class PlatformSummary # @private class Representation < Google::Apis::Core::JsonRepresentation - property :abusive_status, as: 'abusiveStatus' property :better_ads_status, as: 'betterAdsStatus' property :enforcement_time, as: 'enforcementTime' property :filter_status, as: 'filterStatus' diff --git a/generated/google/apis/androiddeviceprovisioning_v1.rb b/generated/google/apis/androiddeviceprovisioning_v1.rb index 81c11713c..7f6ea6088 100644 --- a/generated/google/apis/androiddeviceprovisioning_v1.rb +++ b/generated/google/apis/androiddeviceprovisioning_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/zero-touch/ module AndroiddeviceprovisioningV1 VERSION = 'V1' - REVISION = '20170909' + REVISION = '20170916' end end end diff --git a/generated/google/apis/androiddeviceprovisioning_v1/classes.rb b/generated/google/apis/androiddeviceprovisioning_v1/classes.rb index 08a8bfc1f..70551c085 100644 --- a/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +++ b/generated/google/apis/androiddeviceprovisioning_v1/classes.rb @@ -98,36 +98,38 @@ module Google end end - # Company + # A customer resource in the zero-touch enrollment API. class Company include Google::Apis::Core::Hashable - # Admin emails. - # Admins are able to operate on the portal. - # This field is a write-only field at creation time. + # Input only. Optional. Email address of customer's users in the admin role. + # Each email address must be associated with a Google Account. # Corresponds to the JSON property `adminEmails` # @return [Array] attr_accessor :admin_emails - # Company ID. + # Output only. The ID of the company. Assigned by the server. # Corresponds to the JSON property `companyId` # @return [Fixnum] attr_accessor :company_id - # Company name. + # Required. The name of the company. For example _XYZ Corp_. Characters + # allowed are: Latin letters, numerals, hyphens, and spaces. Displayed to the + # customer's employees in the zero-touch enrollment portal. # Corresponds to the JSON property `companyName` # @return [String] attr_accessor :company_name - # The API resource name of the company in the format - # `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]`. + # Output only. The API resource name of the company in the format + # `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]`. Assigned by the server. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Owner emails. - # Owners are able to operate on the portal, and modify admins or other - # owners. This field is a write-only field at creation time. + # Input only. Email address of customer's users in the owner role. At least + # one `owner_email` is required. Each email address must be associated with a + # Google Account. Owners share the same access as admins but can also add, + # delete, and edit your organization's portal users. # Corresponds to the JSON property `ownerEmails` # @return [Array] attr_accessor :owner_emails @@ -150,7 +152,7 @@ module Google class CreateCustomerRequest include Google::Apis::Core::Hashable - # Company + # A customer resource in the zero-touch enrollment API. # Corresponds to the JSON property `customer` # @return [Google::Apis::AndroiddeviceprovisioningV1::Company] attr_accessor :customer diff --git a/generated/google/apis/androiddeviceprovisioning_v1/service.rb b/generated/google/apis/androiddeviceprovisioning_v1/service.rb index 82b91f709..c4976b74d 100644 --- a/generated/google/apis/androiddeviceprovisioning_v1/service.rb +++ b/generated/google/apis/androiddeviceprovisioning_v1/service.rb @@ -80,11 +80,13 @@ module Google execute_or_queue_command(command, &block) end - # A customer for zero-touch enrollment will be created. - # After a Customer is created, their admins and owners will be able to manage - # devices on partner.android.com/zerotouch or via their API. + # Creates a customer for zero-touch enrollment. After the method returns + # successfully, admin and owner roles can manage devices and EMM configs + # by calling API methods or using their zero-touch enrollment portal. The API + # doesn't notify the customer that they have access. # @param [String] parent - # The parent resource in format `partners/[PARTNER_ID]'. + # Required. The parent resource ID in format `partners/[PARTNER_ID]` that + # identifies the reseller. # @param [Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest] create_customer_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -115,7 +117,7 @@ module Google execute_or_queue_command(command, &block) end - # List the customers that are enrolled to the reseller identified by the + # Lists the customers that are enrolled to the reseller identified by the # `partnerId` argument. This list includes customers that the reseller # created and customers that enrolled themselves using the portal. # @param [Fixnum] partner_id diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 5cec5a539..92f4b5820 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/management module AndroidmanagementV1 VERSION = 'V1' - REVISION = '20170905' + REVISION = '20170911' # Manage Android devices and apps for your customers AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index 66e10983b..813421255 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -1193,9 +1193,7 @@ module Google attr_accessor :non_compliance_reason # The package name indicating which application is out of compliance. If not set, - # then this condition matches any package name. If this field is set, then - # setting_name must be unset or set to applications; otherwise, the condition - # would never be satisfied. + # then this condition matches any package name. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name @@ -1577,12 +1575,13 @@ module Google # @return [String] attr_accessor :name - # Flag to specify if network escape hatch is enabled. If this flag has been - # enabled then upon device boot if device has no network connection, then an - # activity will be shown that allows the user to temporarily connect to a - # network to fetch the latest policy. The launched activity will time out if no - # network has been connected for a given while and will return to the previous - # activity that was shown. + # Whether the network escape hatch is enabled. If a network connection can't be + # made at boot time, the escape hatch prompts the user to temporarily connect to + # a network in order to refresh the device policy. After applying policy, the + # temporary network will be forgotten and the device will continue booting. This + # prevents being unable to connect to a network if there is no suitable network + # in the last policy and the device boots into an app in lock task mode, or the + # user is otherwise unable to reach device settings. # Corresponds to the JSON property `networkEscapeHatchEnabled` # @return [Boolean] attr_accessor :network_escape_hatch_enabled diff --git a/generated/google/apis/androidpublisher_v2/service.rb b/generated/google/apis/androidpublisher_v2/service.rb index 18f4bbfe9..71306d19f 100644 --- a/generated/google/apis/androidpublisher_v2/service.rb +++ b/generated/google/apis/androidpublisher_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'androidpublisher/v2/applications/') - @batch_path = 'batch' + @batch_path = 'batch/androidpublisher/v2' end # Commits/applies the changes made in this edit back to the app. diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 41a8181bc..6e652a403 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20170912' + REVISION = '20170917' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index 73d25ffd9..c265b8cd0 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -525,12 +525,14 @@ module Google class ScheduleTransferRunsRequest include Google::Apis::Core::Hashable - # End time of the range of transfer runs. + # End time of the range of transfer runs. For example, + # `"2017-05-30T00:00:00+00:00"`. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time - # Start time of the range of transfer runs. + # Start time of the range of transfer runs. For example, + # `"2017-05-25T00:00:00+00:00"`. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time diff --git a/generated/google/apis/deploymentmanager_v2/service.rb b/generated/google/apis/deploymentmanager_v2/service.rb index 8e01b96a1..4396cac15 100644 --- a/generated/google/apis/deploymentmanager_v2/service.rb +++ b/generated/google/apis/deploymentmanager_v2/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/') - @batch_path = 'batch' + @batch_path = 'batch/deploymentmanager/v2' end # Cancels and removes the preview currently associated with the deployment. diff --git a/generated/google/apis/dns_v1/service.rb b/generated/google/apis/dns_v1/service.rb index a10047f06..5ebb5f4d0 100644 --- a/generated/google/apis/dns_v1/service.rb +++ b/generated/google/apis/dns_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'dns/v1/projects/') - @batch_path = 'batch' + @batch_path = 'batch/dns/v1' end # Atomically update the ResourceRecordSet collection. diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index 54da115dd..a2e025b17 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV1 VERSION = 'V1' - REVISION = '20170824' + REVISION = '20170916' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/genomics_v1/classes.rb b/generated/google/apis/genomics_v1/classes.rb index b62ff109f..32bb07a9e 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -1262,7 +1262,7 @@ module Google # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If # importing Variants, an ImportVariantsResponse is returned. For pipelines and - # exports, an empty response is returned. + # exports, an Empty response is returned. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response diff --git a/generated/google/apis/genomics_v1alpha2.rb b/generated/google/apis/genomics_v1alpha2.rb index 9086d6ef0..0e7925ff8 100644 --- a/generated/google/apis/genomics_v1alpha2.rb +++ b/generated/google/apis/genomics_v1alpha2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV1alpha2 VERSION = 'V1alpha2' - REVISION = '20170824' + REVISION = '20170916' # 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/genomics_v1alpha2/classes.rb b/generated/google/apis/genomics_v1alpha2/classes.rb index 88c428b81..81f347e25 100644 --- a/generated/google/apis/genomics_v1alpha2/classes.rb +++ b/generated/google/apis/genomics_v1alpha2/classes.rb @@ -478,7 +478,7 @@ module Google # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If # importing Variants, an ImportVariantsResponse is returned. For pipelines and - # exports, an empty response is returned. + # exports, an Empty response is returned. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response diff --git a/generated/google/apis/sqladmin_v1beta4/service.rb b/generated/google/apis/sqladmin_v1beta4/service.rb index 5f4ca9702..e46fbeb37 100644 --- a/generated/google/apis/sqladmin_v1beta4/service.rb +++ b/generated/google/apis/sqladmin_v1beta4/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'sql/v1beta4/') - @batch_path = 'batch' + @batch_path = 'batch/sqladmin/v1beta4' end # Deletes the backup taken by a backup run. diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 1bafec85b..53076c0e5 100644 --- a/generated/google/apis/storage_v1.rb +++ b/generated/google/apis/storage_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/storage/docs/json_api/ module StorageV1 VERSION = 'V1' - REVISION = '20170824' + REVISION = '20170915' # 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/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb index 164c1b746..c650dd7ea 100644 --- a/generated/google/apis/storage_v1/service.rb +++ b/generated/google/apis/storage_v1/service.rb @@ -447,6 +447,8 @@ module Google # @param [String] projection # Set of properties to return. Defaults to noAcl, unless the bucket resource # specifies acl or defaultObjectAcl properties, when it defaults to full. + # @param [String] user_project + # The project to be billed for this request, for Requester Pays buckets. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -468,7 +470,7 @@ 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 insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b', options) command.request_representation = Google::Apis::StorageV1::Bucket::Representation command.request_object = bucket_object @@ -478,6 +480,7 @@ module Google command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil? command.query['project'] = project unless project.nil? command.query['projection'] = projection unless projection.nil? + command.query['userProject'] = user_project unless user_project.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? @@ -497,6 +500,8 @@ module Google # Filter results to buckets whose names begin with this prefix. # @param [String] projection # Set of properties to return. Defaults to noAcl. + # @param [String] user_project + # The project to be billed for this request, for Requester Pays buckets. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -518,7 +523,7 @@ 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_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b', options) command.response_representation = Google::Apis::StorageV1::Buckets::Representation command.response_class = Google::Apis::StorageV1::Buckets @@ -527,6 +532,7 @@ module Google command.query['prefix'] = prefix unless prefix.nil? command.query['project'] = project unless project.nil? command.query['projection'] = projection unless projection.nil? + command.query['userProject'] = user_project unless user_project.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? @@ -2011,7 +2017,7 @@ module Google execute_or_queue_command(command, &block) end - # Patches an object's metadata. + # Updates an object's metadata. This method supports patch semantics. # @param [String] bucket # Name of the bucket in which the object resides. # @param [String] object @@ -2051,8 +2057,6 @@ module Google # @param [String] user_ip # IP address of the site where the request originates. Use this if you want to # enforce per-user limits. - # @param [IO, String] download_dest - # IO stream or filename to receive content download # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -2065,13 +2069,8 @@ 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 patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) - if download_dest.nil? - command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options) - else - command = make_download_command(:patch, 'b/{bucket}/o/{object}', options) - command.download_dest = download_dest - end + def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options) command.request_representation = Google::Apis::StorageV1::Object::Representation command.request_object = object_object command.response_representation = Google::Apis::StorageV1::Object::Representation @@ -2465,6 +2464,8 @@ module Google # Get the email address of this project's Google Cloud Storage service account. # @param [String] project_id # Project ID + # @param [String] user_project + # The project to be billed for this request, for Requester Pays buckets. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2486,11 +2487,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 get_project_service_account(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_project_service_account(project_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options) command.response_representation = Google::Apis::StorageV1::ServiceAccount::Representation command.response_class = Google::Apis::StorageV1::ServiceAccount command.params['projectId'] = project_id unless project_id.nil? + command.query['userProject'] = user_project unless user_project.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? diff --git a/generated/google/apis/youtube_v3/service.rb b/generated/google/apis/youtube_v3/service.rb index 45f5c1179..07a659a9b 100644 --- a/generated/google/apis/youtube_v3/service.rb +++ b/generated/google/apis/youtube_v3/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'youtube/v3/') - @batch_path = 'batch' + @batch_path = 'batch/youtube/v3' end # Posts a bulletin for a specific channel. (The user submitting the request must