diff --git a/api_names_out.yaml b/api_names_out.yaml index c8831d71c..888e9d94c 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -2726,6 +2726,7 @@ "/admin:directory_v1/Asps/items/item": item "/admin:directory_v1/Asps/kind": kind "/admin:directory_v1/Building": building +"/admin:directory_v1/Building/address": address "/admin:directory_v1/Building/buildingId": building_id "/admin:directory_v1/Building/buildingName": building_name "/admin:directory_v1/Building/coordinates": coordinates @@ -2734,6 +2735,15 @@ "/admin:directory_v1/Building/floorNames": floor_names "/admin:directory_v1/Building/floorNames/floor_name": floor_name "/admin:directory_v1/Building/kind": kind +"/admin:directory_v1/BuildingAddress": building_address +"/admin:directory_v1/BuildingAddress/addressLines": address_lines +"/admin:directory_v1/BuildingAddress/addressLines/address_line": address_line +"/admin:directory_v1/BuildingAddress/administrativeArea": administrative_area +"/admin:directory_v1/BuildingAddress/languageCode": language_code +"/admin:directory_v1/BuildingAddress/locality": locality +"/admin:directory_v1/BuildingAddress/postalCode": postal_code +"/admin:directory_v1/BuildingAddress/regionCode": region_code +"/admin:directory_v1/BuildingAddress/sublocality": sublocality "/admin:directory_v1/BuildingCoordinates": building_coordinates "/admin:directory_v1/BuildingCoordinates/latitude": latitude "/admin:directory_v1/BuildingCoordinates/longitude": longitude @@ -3497,6 +3507,7 @@ "/admin:directory_v1/directory.resources.buildings.get/buildingId": building_id "/admin:directory_v1/directory.resources.buildings.get/customer": customer "/admin:directory_v1/directory.resources.buildings.insert": insert_resource_building +"/admin:directory_v1/directory.resources.buildings.insert/coordinatesSource": coordinates_source "/admin:directory_v1/directory.resources.buildings.insert/customer": customer "/admin:directory_v1/directory.resources.buildings.list": list_resource_buildings "/admin:directory_v1/directory.resources.buildings.list/customer": customer @@ -3504,9 +3515,11 @@ "/admin:directory_v1/directory.resources.buildings.list/pageToken": page_token "/admin:directory_v1/directory.resources.buildings.patch": patch_resource_building "/admin:directory_v1/directory.resources.buildings.patch/buildingId": building_id +"/admin:directory_v1/directory.resources.buildings.patch/coordinatesSource": coordinates_source "/admin:directory_v1/directory.resources.buildings.patch/customer": customer "/admin:directory_v1/directory.resources.buildings.update": update_resource_building "/admin:directory_v1/directory.resources.buildings.update/buildingId": building_id +"/admin:directory_v1/directory.resources.buildings.update/coordinatesSource": coordinates_source "/admin:directory_v1/directory.resources.buildings.update/customer": customer "/admin:directory_v1/directory.resources.calendars.delete": delete_calendar_resource "/admin:directory_v1/directory.resources.calendars.delete/calendarResourceId": calendar_resource_id @@ -66687,6 +66700,7 @@ "/dlp:v2/GooglePrivacyDlpV2InfoType": google_privacy_dlp_v2_info_type "/dlp:v2/GooglePrivacyDlpV2InfoType/name": name "/dlp:v2/GooglePrivacyDlpV2InfoTypeDescription": google_privacy_dlp_v2_info_type_description +"/dlp:v2/GooglePrivacyDlpV2InfoTypeDescription/description": description "/dlp:v2/GooglePrivacyDlpV2InfoTypeDescription/displayName": display_name "/dlp:v2/GooglePrivacyDlpV2InfoTypeDescription/name": name "/dlp:v2/GooglePrivacyDlpV2InfoTypeDescription/supportedBy": supported_by @@ -72294,6 +72308,9 @@ "/firebasehosting:v1beta1/CertHttpChallenge": cert_http_challenge "/firebasehosting:v1beta1/CertHttpChallenge/path": path "/firebasehosting:v1beta1/CertHttpChallenge/token": token +"/firebasehosting:v1beta1/CloudRunRewrite": cloud_run_rewrite +"/firebasehosting:v1beta1/CloudRunRewrite/region": region +"/firebasehosting:v1beta1/CloudRunRewrite/serviceId": service_id "/firebasehosting:v1beta1/Domain": domain "/firebasehosting:v1beta1/Domain/domainName": domain_name "/firebasehosting:v1beta1/Domain/domainRedirect": domain_redirect @@ -72356,6 +72373,7 @@ "/firebasehosting:v1beta1/Rewrite/function": function "/firebasehosting:v1beta1/Rewrite/glob": glob "/firebasehosting:v1beta1/Rewrite/path": path +"/firebasehosting:v1beta1/Rewrite/run": run "/firebasehosting:v1beta1/ServingConfig": serving_config "/firebasehosting:v1beta1/ServingConfig/appAssociation": app_association "/firebasehosting:v1beta1/ServingConfig/cleanUrls": clean_urls diff --git a/generated/google/apis/admin_directory_v1.rb b/generated/google/apis/admin_directory_v1.rb index 5b1c978b4..283a03747 100644 --- a/generated/google/apis/admin_directory_v1.rb +++ b/generated/google/apis/admin_directory_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/directory/ module AdminDirectoryV1 VERSION = 'DirectoryV1' - REVISION = '20190118' + REVISION = '20190128' # View and manage customer related information AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer' diff --git a/generated/google/apis/admin_directory_v1/classes.rb b/generated/google/apis/admin_directory_v1/classes.rb index 97f0ecd3e..401f80f97 100644 --- a/generated/google/apis/admin_directory_v1/classes.rb +++ b/generated/google/apis/admin_directory_v1/classes.rb @@ -254,6 +254,11 @@ module Google class Building include Google::Apis::Core::Hashable + # JSON template for the postal address of a building in Directory API. + # Corresponds to the JSON property `address` + # @return [Google::Apis::AdminDirectoryV1::BuildingAddress] + attr_accessor :address + # Unique identifier for the building. The maximum length is 100 characters. # Corresponds to the JSON property `buildingId` # @return [String] @@ -298,6 +303,7 @@ module Google # Update properties of this object def update!(**args) + @address = args[:address] if args.key?(:address) @building_id = args[:building_id] if args.key?(:building_id) @building_name = args[:building_name] if args.key?(:building_name) @coordinates = args[:coordinates] if args.key?(:coordinates) @@ -308,6 +314,98 @@ module Google end end + # JSON template for the postal address of a building in Directory API. + class BuildingAddress + include Google::Apis::Core::Hashable + + # Unstructured address lines describing the lower levels of an address. Because + # values in addressLines do not have type information and may sometimes contain + # multiple values in a single field (e.g. "Austin, TX"), it is important that + # the line order is clear. The order of address lines should be "envelope order" + # for the country/region of the address. In places where this can vary (e.g. + # Japan), address_language is used to make it explicit (e.g. "ja" for large-to- + # small ordering and "ja-Latn" or "en" for small-to-large). This way, the most + # specific line of an address can be selected based on the language. The minimum + # permitted structural representation of an address consists of a regionCode + # with all remaining information placed in the addressLines. It would be + # possible to format such an address very approximately without geocoding, but + # no semantic reasoning could be made about any of the address components until + # it was at least partially resolved. Creating an address only containing a + # regionCode and addressLines, and then geocoding is the recommended way to + # handle completely unstructured addresses (as opposed to guessing which parts + # of the address should be localities or administrative areas). + # Corresponds to the JSON property `addressLines` + # @return [Array] + attr_accessor :address_lines + + # Optional. Highest administrative subdivision which is used for postal + # addresses of a country or region. For example, this can be a state, a province, + # an oblast, or a prefecture. Specifically, for Spain this is the province and + # not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many + # countries don't use an administrative area in postal addresses. E.g. in + # Switzerland this should be left unpopulated. + # Corresponds to the JSON property `administrativeArea` + # @return [String] + attr_accessor :administrative_area + + # Optional. BCP-47 language code of the contents of this address (if known). + # This is often the UI language of the input form or is expected to match one of + # the languages used in the address' country/region, or their transliterated + # equivalents. This can affect formatting in certain countries, but is not + # critical to the correctness of the data and will never affect any validation + # or other non-formatting related operations. If this value is not known, it + # should be omitted (rather than specifying a possibly incorrect default). + # Examples: "zh-Hant", "ja", "ja-Latn", "en". + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Optional. Generally refers to the city/town portion of the address. Examples: + # US city, IT comune, UK post town. In regions of the world where localities are + # not well defined or do not fit into this structure well, leave locality empty + # and use addressLines. + # Corresponds to the JSON property `locality` + # @return [String] + attr_accessor :locality + + # Optional. Postal code of the address. Not all countries use or require postal + # codes to be present, but where they are used, they may trigger additional + # validation with other parts of the address (e.g. state/zip validation in the U. + # S.A.). + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # Required. CLDR region code of the country/region of the address. This is never + # inferred and it is up to the user to ensure the value is correct. See http:// + # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/ + # territory_information.html + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + # Optional. Sublocality of the address. For example, this can be neighborhoods, + # boroughs, districts. + # Corresponds to the JSON property `sublocality` + # @return [String] + attr_accessor :sublocality + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address_lines = args[:address_lines] if args.key?(:address_lines) + @administrative_area = args[:administrative_area] if args.key?(:administrative_area) + @language_code = args[:language_code] if args.key?(:language_code) + @locality = args[:locality] if args.key?(:locality) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @region_code = args[:region_code] if args.key?(:region_code) + @sublocality = args[:sublocality] if args.key?(:sublocality) + end + end + # JSON template for coordinates of a building in Directory API. class BuildingCoordinates include Google::Apis::Core::Hashable diff --git a/generated/google/apis/admin_directory_v1/representations.rb b/generated/google/apis/admin_directory_v1/representations.rb index cf3fa6e1a..1ae62ef3d 100644 --- a/generated/google/apis/admin_directory_v1/representations.rb +++ b/generated/google/apis/admin_directory_v1/representations.rb @@ -58,6 +58,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BuildingAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BuildingCoordinates class Representation < Google::Apis::Core::JsonRepresentation; end @@ -592,6 +598,8 @@ module Google class Building # @private class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address', class: Google::Apis::AdminDirectoryV1::BuildingAddress, decorator: Google::Apis::AdminDirectoryV1::BuildingAddress::Representation + property :building_id, as: 'buildingId' property :building_name, as: 'buildingName' property :coordinates, as: 'coordinates', class: Google::Apis::AdminDirectoryV1::BuildingCoordinates, decorator: Google::Apis::AdminDirectoryV1::BuildingCoordinates::Representation @@ -603,6 +611,19 @@ module Google end end + class BuildingAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :address_lines, as: 'addressLines' + property :administrative_area, as: 'administrativeArea' + property :language_code, as: 'languageCode' + property :locality, as: 'locality' + property :postal_code, as: 'postalCode' + property :region_code, as: 'regionCode' + property :sublocality, as: 'sublocality' + end + end + class BuildingCoordinates # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/admin_directory_v1/service.rb b/generated/google/apis/admin_directory_v1/service.rb index e36cc9604..7ac8bc3f6 100644 --- a/generated/google/apis/admin_directory_v1/service.rb +++ b/generated/google/apis/admin_directory_v1/service.rb @@ -2183,6 +2183,8 @@ module Google # The unique ID for the customer's G Suite account. As an account administrator, # you can also use the my_customer alias to represent your account's customer ID. # @param [Google::Apis::AdminDirectoryV1::Building] building_object + # @param [String] coordinates_source + # Source from which Building.coordinates are derived. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2202,13 +2204,14 @@ 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_resource_building(customer, building_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_resource_building(customer, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'customer/{customer}/resources/buildings', options) command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation command.request_object = building_object command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation command.response_class = Google::Apis::AdminDirectoryV1::Building command.params['customer'] = customer unless customer.nil? + command.query['coordinatesSource'] = coordinates_source unless coordinates_source.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? @@ -2262,6 +2265,8 @@ module Google # @param [String] building_id # The ID of the building to update. # @param [Google::Apis::AdminDirectoryV1::Building] building_object + # @param [String] coordinates_source + # Source from which Building.coordinates are derived. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2281,7 +2286,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 patch_resource_building(customer, building_id, building_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'customer/{customer}/resources/buildings/{buildingId}', options) command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation command.request_object = building_object @@ -2289,6 +2294,7 @@ module Google command.response_class = Google::Apis::AdminDirectoryV1::Building command.params['customer'] = customer unless customer.nil? command.params['buildingId'] = building_id unless building_id.nil? + command.query['coordinatesSource'] = coordinates_source unless coordinates_source.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? @@ -2302,6 +2308,8 @@ module Google # @param [String] building_id # The ID of the building to update. # @param [Google::Apis::AdminDirectoryV1::Building] building_object + # @param [String] coordinates_source + # Source from which Building.coordinates are derived. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2321,7 +2329,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 update_resource_building(customer, building_id, building_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'customer/{customer}/resources/buildings/{buildingId}', options) command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation command.request_object = building_object @@ -2329,6 +2337,7 @@ module Google command.response_class = Google::Apis::AdminDirectoryV1::Building command.params['customer'] = customer unless customer.nil? command.params['buildingId'] = building_id unless building_id.nil? + command.query['coordinatesSource'] = coordinates_source unless coordinates_source.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/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 9ace59ec2..898175bbd 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 = '20190129' + REVISION = '20190205' # 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/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 807e198dd..55703c505 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -2589,6 +2589,12 @@ module Google class GooglePrivacyDlpV2InfoTypeDescription include Google::Apis::Core::Hashable + # Description of the infotype. Translated when language is provided in the + # request. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # Human readable form of the infoType name. # Corresponds to the JSON property `displayName` # @return [String] @@ -2610,6 +2616,7 @@ module Google # Update properties of this object def update!(**args) + @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @supported_by = args[:supported_by] if args.key?(:supported_by) diff --git a/generated/google/apis/dlp_v2/representations.rb b/generated/google/apis/dlp_v2/representations.rb index ca99ebac2..c7c831a12 100644 --- a/generated/google/apis/dlp_v2/representations.rb +++ b/generated/google/apis/dlp_v2/representations.rb @@ -1744,6 +1744,7 @@ module Google class GooglePrivacyDlpV2InfoTypeDescription # @private class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' property :display_name, as: 'displayName' property :name, as: 'name' collection :supported_by, as: 'supportedBy' diff --git a/generated/google/apis/firebasehosting_v1beta1.rb b/generated/google/apis/firebasehosting_v1beta1.rb index d7a9c2009..71e22a86d 100644 --- a/generated/google/apis/firebasehosting_v1beta1.rb +++ b/generated/google/apis/firebasehosting_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://firebase.google.com/docs/hosting/ module FirebasehostingV1beta1 VERSION = 'V1beta1' - REVISION = '20190114' + REVISION = '20190205' # 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/firebasehosting_v1beta1/classes.rb b/generated/google/apis/firebasehosting_v1beta1/classes.rb index c6056a445..95d940271 100644 --- a/generated/google/apis/firebasehosting_v1beta1/classes.rb +++ b/generated/google/apis/firebasehosting_v1beta1/classes.rb @@ -102,6 +102,36 @@ module Google end end + # A configured rewrite that will direct any requests to a Cloud Run service. If + # the Cloud Run service does not exist when setting or updating your Firebase + # Hosting configuration then the request will fail. Any errors from the Cloud + # Run service (including when the service has been deleted) will be passed back + # down to the end user. + class CloudRunRewrite + include Google::Apis::Core::Hashable + + # Optional. The region where the Cloud Run service is hosted. Defaults to + # `us-central1` if not supplied. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Required. User supplied ID of the Cloud Run service. + # Corresponds to the JSON property `serviceId` + # @return [String] + attr_accessor :service_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @region = args[:region] if args.key?(:region) + @service_id = args[:service_id] if args.key?(:service_id) + end + end + # The intended behavior and status information of a domain. class Domain include Google::Apis::Core::Hashable @@ -553,6 +583,15 @@ module Google # @return [String] attr_accessor :path + # A configured rewrite that will direct any requests to a Cloud Run service. If + # the Cloud Run service does not exist when setting or updating your Firebase + # Hosting configuration then the request will fail. Any errors from the Cloud + # Run service (including when the service has been deleted) will be passed back + # down to the end user. + # Corresponds to the JSON property `run` + # @return [Google::Apis::FirebasehostingV1beta1::CloudRunRewrite] + attr_accessor :run + def initialize(**args) update!(**args) end @@ -563,6 +602,7 @@ module Google @function = args[:function] if args.key?(:function) @glob = args[:glob] if args.key?(:glob) @path = args[:path] if args.key?(:path) + @run = args[:run] if args.key?(:run) end end diff --git a/generated/google/apis/firebasehosting_v1beta1/representations.rb b/generated/google/apis/firebasehosting_v1beta1/representations.rb index 8ac8e0f88..05bd73749 100644 --- a/generated/google/apis/firebasehosting_v1beta1/representations.rb +++ b/generated/google/apis/firebasehosting_v1beta1/representations.rb @@ -40,6 +40,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CloudRunRewrite + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Domain class Representation < Google::Apis::Core::JsonRepresentation; end @@ -166,6 +172,14 @@ module Google end end + class CloudRunRewrite + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :region, as: 'region' + property :service_id, as: 'serviceId' + end + end + class Domain # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -290,6 +304,8 @@ module Google property :function, as: 'function' property :glob, as: 'glob' property :path, as: 'path' + property :run, as: 'run', class: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite, decorator: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite::Representation + end end diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index d2e0959e6..fcbe61c70 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20190131' + REVISION = '20190201' # 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/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 065c4c901..8e56763d5 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -695,43 +695,6 @@ module Google end end - # The patch service account request. - class PatchServiceAccountRequest - include Google::Apis::Core::Hashable - - # A service account in the Identity and Access Management API. - # To create a service account, specify the `project_id` and the `account_id` - # for the account. The `account_id` is unique within the project, and is used - # to generate the service account email address and a stable - # `unique_id`. - # If the account already exists, the account's resource name is returned - # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller - # can use the name in other methods to access the account. - # All other methods can identify the service account using the format - # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. - # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from - # the account. The `ACCOUNT` value can be the `email` address or the - # `unique_id` of the service account. - # Corresponds to the JSON property `serviceAccount` - # @return [Google::Apis::IamV1::ServiceAccount] - attr_accessor :service_account - - # - # Corresponds to the JSON property `updateMask` - # @return [String] - attr_accessor :update_mask - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_account = args[:service_account] if args.key?(:service_account) - @update_mask = args[:update_mask] if args.key?(:update_mask) - end - end - # A permission which can be included by a role. class Permission include Google::Apis::Core::Hashable diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index 1469b800b..222a46c19 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -124,12 +124,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class PatchServiceAccountRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Permission class Representation < Google::Apis::Core::JsonRepresentation; end @@ -406,15 +400,6 @@ module Google end end - class PatchServiceAccountRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation - - property :update_mask, as: 'updateMask' - end - end - class Permission # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index d237b20b4..ace396813 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -792,50 +792,6 @@ module Google execute_or_queue_command(command, &block) end - # Patches a ServiceAccount. - # Currently, only the following fields are updatable: - # `display_name` and `description`. - # Only fields specified in the request are garaunteed to be returned in - # the response. Other fields in the response may be empty. - # Note: The field mask is required. - # @param [String] name - # The resource name of the service account in the following format: - # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. - # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the - # project from the `account` and the `ACCOUNT` value can be the `email` - # address or the `unique_id` of the service account. - # In responses the resource name will always be in the format - # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. - # @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_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::IamV1::ServiceAccount] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::ServiceAccount] - # - # @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_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/{+name}', options) - command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation - command.request_object = patch_service_account_request_object - command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation - command.response_class = Google::Apis::IamV1::ServiceAccount - 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 - # Sets the IAM access control policy for a # ServiceAccount. # @param [String] resource @@ -871,6 +827,10 @@ module Google execute_or_queue_command(command, &block) end + # **Note**: This method is in the process of being deprecated. Call the + # [`signBlob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/ + # signBlob) + # method of the Cloud IAM Service Account Credentials API instead. # Signs a blob using a service account's system-managed private key. # @param [String] name # The resource name of the service account in the following format: @@ -908,6 +868,10 @@ module Google execute_or_queue_command(command, &block) end + # **Note**: This method is in the process of being deprecated. Call the + # [`signJwt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/ + # signJwt) + # method of the Cloud IAM Service Account Credentials API instead. # Signs a JWT using a service account's system-managed private key. # If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an # an expiry time of one hour by default. If you request an expiry time of diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 6c2b5f2e7..22abee1ee 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -18,14 +18,14 @@ require 'google/apis/speech_v1/representations.rb' module Google module Apis - # Cloud Speech API + # Cloud Speech-to-Text API # # Converts audio to text by applying powerful neural network models. # # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1 VERSION = 'V1' - REVISION = '20190114' + REVISION = '20190201' # 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/speech_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb index fa75b6525..f47fafe3b 100644 --- a/generated/google/apis/speech_v1/classes.rb +++ b/generated/google/apis/speech_v1/classes.rb @@ -382,8 +382,8 @@ module Google # 16000 is optimal. For best results, set the sampling rate of the audio # source to 16000 Hz. If that's not possible, use the native sample rate of # the audio source (instead of re-sampling). - # This field is optional for `FLAC` and `WAV` audio files and required - # for all other audio formats. For details, see AudioEncoding. + # This field is optional for `FLAC`, `WAV`. and 'MP3' audio files, and is + # required for all other audio formats. For details, see AudioEncoding. # Corresponds to the JSON property `sampleRateHertz` # @return [Fixnum] attr_accessor :sample_rate_hertz diff --git a/generated/google/apis/speech_v1/service.rb b/generated/google/apis/speech_v1/service.rb index 47073f31c..d7e628ffc 100644 --- a/generated/google/apis/speech_v1/service.rb +++ b/generated/google/apis/speech_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module SpeechV1 - # Cloud Speech API + # Cloud Speech-to-Text API # # Converts audio to text by applying powerful neural network models. # diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index 1817f08f4..af32b94a5 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -18,14 +18,14 @@ require 'google/apis/speech_v1p1beta1/representations.rb' module Google module Apis - # Cloud Speech API + # Cloud Speech-to-Text API # # Converts audio to text by applying powerful neural network models. # # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20190114' + REVISION = '20190201' # 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/speech_v1p1beta1/classes.rb b/generated/google/apis/speech_v1p1beta1/classes.rb index b5a639e33..94df43173 100644 --- a/generated/google/apis/speech_v1p1beta1/classes.rb +++ b/generated/google/apis/speech_v1p1beta1/classes.rb @@ -454,8 +454,8 @@ module Google # 16000 is optimal. For best results, set the sampling rate of the audio # source to 16000 Hz. If that's not possible, use the native sample rate of # the audio source (instead of re-sampling). - # This field is optional for `FLAC` and `WAV` audio files and required - # for all other audio formats. For details, see AudioEncoding. + # This field is optional for `FLAC`, `WAV`. and 'MP3' audio files, and is + # required for all other audio formats. For details, see AudioEncoding. # Corresponds to the JSON property `sampleRateHertz` # @return [Fixnum] attr_accessor :sample_rate_hertz diff --git a/generated/google/apis/speech_v1p1beta1/service.rb b/generated/google/apis/speech_v1p1beta1/service.rb index 45591d345..0afde4b2f 100644 --- a/generated/google/apis/speech_v1p1beta1/service.rb +++ b/generated/google/apis/speech_v1p1beta1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module SpeechV1p1beta1 - # Cloud Speech API + # Cloud Speech-to-Text API # # Converts audio to text by applying powerful neural network models. # diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index f0e2bd5ec..fca8cd9c1 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage/transfer module StoragetransferV1 VERSION = 'V1' - REVISION = '20190128' + REVISION = '20190204' # 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/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index b393f4610..367ecb079 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -23,8 +23,9 @@ module Google module StoragetransferV1 # AWS access key (see - # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws- - # security-credentials.html)). + # [AWS Security + # Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security- + # credentials.html)). class AwsAccessKey include Google::Apis::Core::Hashable @@ -57,15 +58,17 @@ module Google include Google::Apis::Core::Hashable # AWS access key (see - # [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws- - # security-credentials.html)). + # [AWS Security + # Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security- + # credentials.html)). # Corresponds to the JSON property `awsAccessKey` # @return [Google::Apis::StoragetransferV1::AwsAccessKey] attr_accessor :aws_access_key # S3 Bucket name (see - # [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create- - # bucket-get-location-example.html)). + # [Creating a + # bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get- + # location-example.html)). # Required. # Corresponds to the JSON property `bucketName` # @return [String] @@ -363,9 +366,10 @@ module Google # If `includePrefixes` is specified, objects that satisfy the object # conditions must have names that start with one of the `includePrefixes` - # and that do not start with any of the `excludePrefixes`. If `includePrefixes` - # is not specified, all objects except those that have names starting with - # one of the `excludePrefixes` must satisfy the object conditions. + # and that do not start with any of the `excludePrefixes`. If + # `includePrefixes` is not specified, all objects except those that have + # names starting with one of the `excludePrefixes` must satisfy the object + # conditions. # Requirements: # * Each include-prefix and exclude-prefix can contain any sequence of # Unicode characters, of max length 1024 bytes when UTF8-encoded, and @@ -851,7 +855,7 @@ module Google # @return [String] attr_accessor :name - # The ID of the Google Cloud Platform Console project that owns the job. + # The ID of the Google Cloud Platform Project that owns the job. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id @@ -918,7 +922,7 @@ module Google # @return [String] attr_accessor :name - # The ID of the Google Cloud Platform Console project that owns the operation. + # The ID of the Google Cloud Platform Project that owns the operation. # Required. # Corresponds to the JSON property `projectId` # @return [String]