From 30be83622ad8194b9bd9e13c878e3488d15a9d25 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 29 Jul 2020 00:37:55 +0000 Subject: [PATCH] Autogenerated update (2020-07-29) Update: - cloudasset_v1 - cloudasset_v1p4beta1 - container_v1 - displayvideo_v1 - dlp_v2 - firebase_v1beta1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - people_v1 - spanner_v1 --- api_names_out.yaml | 43 +++++++ generated/google/apis/cloudasset_v1.rb | 2 +- .../google/apis/cloudasset_v1/classes.rb | 22 ++-- .../google/apis/cloudasset_v1/service.rb | 107 +++++++++------- generated/google/apis/cloudasset_v1p4beta1.rb | 2 +- generated/google/apis/container_v1.rb | 2 +- generated/google/apis/container_v1/classes.rb | 26 ++++ .../apis/container_v1/representations.rb | 15 +++ generated/google/apis/displayvideo_v1.rb | 2 +- .../google/apis/displayvideo_v1/classes.rb | 104 ++++++++++++++++ .../apis/displayvideo_v1/representations.rb | 36 ++++++ .../google/apis/displayvideo_v1/service.rb | 104 ++++++++++++++++ generated/google/apis/dlp_v2.rb | 2 +- generated/google/apis/dlp_v2/classes.rb | 9 +- generated/google/apis/firebase_v1beta1.rb | 2 +- .../google/apis/firebase_v1beta1/classes.rb | 9 ++ .../apis/firebase_v1beta1/representations.rb | 1 + generated/google/apis/genomics_v1.rb | 2 +- generated/google/apis/genomics_v1alpha2.rb | 2 +- generated/google/apis/genomics_v2alpha1.rb | 2 +- .../google/apis/genomics_v2alpha1/classes.rb | 78 +----------- .../apis/genomics_v2alpha1/representations.rb | 27 ---- .../google/apis/genomics_v2alpha1/service.rb | 34 ----- generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/classes.rb | 117 ++++++++++++++++-- .../google/apis/people_v1/representations.rb | 38 ++++++ generated/google/apis/people_v1/service.rb | 106 +++++++++------- generated/google/apis/spanner_v1.rb | 2 +- generated/google/apis/spanner_v1/classes.rb | 5 +- 29 files changed, 634 insertions(+), 269 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 57e5ee663..c432b0408 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -49482,6 +49482,7 @@ "/container:v1/AcceleratorConfig/acceleratorType": accelerator_type "/container:v1/AddonsConfig": addons_config "/container:v1/AddonsConfig/cloudRunConfig": cloud_run_config +"/container:v1/AddonsConfig/configConnectorConfig": config_connector_config "/container:v1/AddonsConfig/dnsCacheConfig": dns_cache_config "/container:v1/AddonsConfig/horizontalPodAutoscaling": horizontal_pod_autoscaling "/container:v1/AddonsConfig/httpLoadBalancing": http_load_balancing @@ -49605,6 +49606,8 @@ "/container:v1/CompleteIPRotationRequest/name": name "/container:v1/CompleteIPRotationRequest/projectId": project_id "/container:v1/CompleteIPRotationRequest/zone": zone +"/container:v1/ConfigConnectorConfig": config_connector_config +"/container:v1/ConfigConnectorConfig/enabled": enabled "/container:v1/ConsumptionMeteringConfig": consumption_metering_config "/container:v1/ConsumptionMeteringConfig/enabled": enabled "/container:v1/CreateClusterRequest": create_cluster_request @@ -84209,6 +84212,14 @@ "/displayvideo:v1/CreativeConfig/creativeType": creative_type "/displayvideo:v1/CreativeConfig/displayCreativeConfig": display_creative_config "/displayvideo:v1/CreativeConfig/videoCreativeConfig": video_creative_config +"/displayvideo:v1/CustomBiddingAlgorithm": custom_bidding_algorithm +"/displayvideo:v1/CustomBiddingAlgorithm/advertiserId": advertiser_id +"/displayvideo:v1/CustomBiddingAlgorithm/customBiddingAlgorithmId": custom_bidding_algorithm_id +"/displayvideo:v1/CustomBiddingAlgorithm/customBiddingAlgorithmType": custom_bidding_algorithm_type +"/displayvideo:v1/CustomBiddingAlgorithm/displayName": display_name +"/displayvideo:v1/CustomBiddingAlgorithm/entityStatus": entity_status +"/displayvideo:v1/CustomBiddingAlgorithm/name": name +"/displayvideo:v1/CustomBiddingAlgorithm/partnerId": partner_id "/displayvideo:v1/CustomList": custom_list "/displayvideo:v1/CustomList/customListId": custom_list_id "/displayvideo:v1/CustomList/displayName": display_name @@ -84539,6 +84550,10 @@ "/displayvideo:v1/ListCreativesResponse/creatives": creatives "/displayvideo:v1/ListCreativesResponse/creatives/creative": creative "/displayvideo:v1/ListCreativesResponse/nextPageToken": next_page_token +"/displayvideo:v1/ListCustomBiddingAlgorithmsResponse": list_custom_bidding_algorithms_response +"/displayvideo:v1/ListCustomBiddingAlgorithmsResponse/customBiddingAlgorithms": custom_bidding_algorithms +"/displayvideo:v1/ListCustomBiddingAlgorithmsResponse/customBiddingAlgorithms/custom_bidding_algorithm": custom_bidding_algorithm +"/displayvideo:v1/ListCustomBiddingAlgorithmsResponse/nextPageToken": next_page_token "/displayvideo:v1/ListCustomListsResponse": list_custom_lists_response "/displayvideo:v1/ListCustomListsResponse/customLists": custom_lists "/displayvideo:v1/ListCustomListsResponse/customLists/custom_list": custom_list @@ -84613,6 +84628,7 @@ "/displayvideo:v1/LookbackWindow/clickDays": click_days "/displayvideo:v1/LookbackWindow/impressionDays": impression_days "/displayvideo:v1/MaximizeSpendBidStrategy": maximize_spend_bid_strategy +"/displayvideo:v1/MaximizeSpendBidStrategy/customBiddingAlgorithmId": custom_bidding_algorithm_id "/displayvideo:v1/MaximizeSpendBidStrategy/maxAverageCpmBidAmountMicros": max_average_cpm_bid_amount_micros "/displayvideo:v1/MaximizeSpendBidStrategy/performanceGoalType": performance_goal_type "/displayvideo:v1/MeasurementConfig": measurement_config @@ -84708,6 +84724,7 @@ "/displayvideo:v1/PerformanceGoal/performanceGoalString": performance_goal_string "/displayvideo:v1/PerformanceGoal/performanceGoalType": performance_goal_type "/displayvideo:v1/PerformanceGoalBidStrategy": performance_goal_bid_strategy +"/displayvideo:v1/PerformanceGoalBidStrategy/customBiddingAlgorithmId": custom_bidding_algorithm_id "/displayvideo:v1/PerformanceGoalBidStrategy/maxAverageCpmBidAmountMicros": max_average_cpm_bid_amount_micros "/displayvideo:v1/PerformanceGoalBidStrategy/performanceGoalAmountMicros": performance_goal_amount_micros "/displayvideo:v1/PerformanceGoalBidStrategy/performanceGoalType": performance_goal_type @@ -85110,6 +85127,17 @@ "/displayvideo:v1/displayvideo.combinedAudiences.list/pageSize": page_size "/displayvideo:v1/displayvideo.combinedAudiences.list/pageToken": page_token "/displayvideo:v1/displayvideo.combinedAudiences.list/partnerId": partner_id +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.get": get_custom_bidding_algorithm +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.get/advertiserId": advertiser_id +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.get/customBiddingAlgorithmId": custom_bidding_algorithm_id +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.get/partnerId": partner_id +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list": list_custom_bidding_algorithms +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list/advertiserId": advertiser_id +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list/filter": filter +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list/orderBy": order_by +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list/pageSize": page_size +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list/pageToken": page_token +"/displayvideo:v1/displayvideo.customBiddingAlgorithms.list/partnerId": partner_id "/displayvideo:v1/displayvideo.customLists.get": get_custom_list "/displayvideo:v1/displayvideo.customLists.get/advertiserId": advertiser_id "/displayvideo:v1/displayvideo.customLists.get/customListId": custom_list_id @@ -92853,6 +92881,7 @@ "/firebase:v1beta1/FirebaseProject/projectId": project_id "/firebase:v1beta1/FirebaseProject/projectNumber": project_number "/firebase:v1beta1/FirebaseProject/resources": resources +"/firebase:v1beta1/FirebaseProject/state": state "/firebase:v1beta1/IosApp": ios_app "/firebase:v1beta1/IosApp/appId": app_id "/firebase:v1beta1/IosApp/appStoreId": app_store_id @@ -110759,6 +110788,11 @@ "/people:v1/BraggingRights": bragging_rights "/people:v1/BraggingRights/metadata": metadata "/people:v1/BraggingRights/value": value +"/people:v1/CalendarUrl": calendar_url +"/people:v1/CalendarUrl/formattedType": formatted_type +"/people:v1/CalendarUrl/metadata": metadata +"/people:v1/CalendarUrl/type": type +"/people:v1/CalendarUrl/url": url "/people:v1/ContactGroup": contact_group "/people:v1/ContactGroup/etag": etag "/people:v1/ContactGroup/formattedName": formatted_name @@ -110810,6 +110844,11 @@ "/people:v1/Event/formattedType": formatted_type "/people:v1/Event/metadata": metadata "/people:v1/Event/type": type +"/people:v1/ExternalId": external_id +"/people:v1/ExternalId/formattedType": formatted_type +"/people:v1/ExternalId/metadata": metadata +"/people:v1/ExternalId/type": type +"/people:v1/ExternalId/value": value "/people:v1/FieldMetadata": field_metadata "/people:v1/FieldMetadata/primary": primary "/people:v1/FieldMetadata/source": source @@ -110926,6 +110965,8 @@ "/people:v1/Person/birthdays/birthday": birthday "/people:v1/Person/braggingRights": bragging_rights "/people:v1/Person/braggingRights/bragging_right": bragging_right +"/people:v1/Person/calendarUrls": calendar_urls +"/people:v1/Person/calendarUrls/calendar_url": calendar_url "/people:v1/Person/coverPhotos": cover_photos "/people:v1/Person/coverPhotos/cover_photo": cover_photo "/people:v1/Person/emailAddresses": email_addresses @@ -110933,6 +110974,8 @@ "/people:v1/Person/etag": etag "/people:v1/Person/events": events "/people:v1/Person/events/event": event +"/people:v1/Person/externalIds": external_ids +"/people:v1/Person/externalIds/external_id": external_id "/people:v1/Person/fileAses": file_ases "/people:v1/Person/fileAses/file_ase": file_ase "/people:v1/Person/genders": genders diff --git a/generated/google/apis/cloudasset_v1.rb b/generated/google/apis/cloudasset_v1.rb index 83cc60bd9..590b834e5 100644 --- a/generated/google/apis/cloudasset_v1.rb +++ b/generated/google/apis/cloudasset_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1 VERSION = 'V1' - REVISION = '20200619' + REVISION = '20200724' # 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/cloudasset_v1/classes.rb b/generated/google/apis/cloudasset_v1/classes.rb index a5e37513e..2d3f46c2c 100644 --- a/generated/google/apis/cloudasset_v1/classes.rb +++ b/generated/google/apis/cloudasset_v1/classes.rb @@ -2111,21 +2111,23 @@ module Google end end - # A result of Resource Search, containing information of a cloud resoure. + # A result of Resource Search, containing information of a cloud resource. class ResourceSearchResult include Google::Apis::Core::Hashable - # The additional attributes of this resource. The attributes may vary from - # one resource type to another. Examples: `projectId` for Project, + # The additional searchable attributes of this resource. The attributes may + # vary from one resource type to another. Examples: `projectId` for Project, # `dnsName` for DNS ManagedZone. This field contains a subset of the resource # metadata fields that are returned by the List or Get APIs provided by the - # corresponding GCP service (e.g., Compute Engine). see [API - # references](https://cloud.google.com/asset-inventory/docs/supported-asset- - # types#supported_resource_types) - # of CAIS supported resource types. You can search values of these fields - # through free text search. However, you should not consume the field - # programically as the field names and values may change as the GCP service - # (e.g., Compute Engine) updates to a new incompatible API version. + # corresponding GCP service (e.g., Compute Engine). see [API references and + # supported searchable + # attributes](https://cloud.google.com/asset-inventory/docs/supported-asset- + # types#searchable_asset_types) + # for more information. + # You can search values of these fields through free text search. However, + # you should not consume the field programically as the field names and + # values may change as the GCP service updates to a new incompatible API + # version. # To search against the `additional_attributes`: # * use a free text query to match the attributes values. Example: to search # `additional_attributes = ` dnsName: "foobar" ``, you can issue a query diff --git a/generated/google/apis/cloudasset_v1/service.rb b/generated/google/apis/cloudasset_v1/service.rb index 4b9fd285f..907b36fd3 100644 --- a/generated/google/apis/cloudasset_v1/service.rb +++ b/generated/google/apis/cloudasset_v1/service.rb @@ -355,18 +355,23 @@ module Google execute_or_queue_command(command, &block) end - # Searches all the IAM policies within the given accessible scope (e.g., a - # project, a folder or an organization). Callers should have - # `cloud.assets.SearchAllIamPolicies` permission upon the requested scope, + # Searches all IAM policies within the specified scope, such as a project, + # folder, or organization. The caller must be granted the + # `cloudasset.assets.searchAllIamPolicies` permission on the desired scope, # otherwise the request will be rejected. # @param [String] scope - # Required. A scope can be a project, a folder or an organization. The search is - # limited to the IAM policies within the `scope`. + # Required. A scope can be a project, a folder, or an organization. The search + # is + # limited to the IAM policies within the `scope`. The caller must be granted + # the + # [`cloudasset.assets.searchAllIamPolicies`](http://cloud.google.com/asset- + # inventory/docs/access-control#required_permissions) + # permission on the desired scope. # The allowed values are: - # * projects/`PROJECT_ID` - # * projects/`PROJECT_NUMBER` - # * folders/`FOLDER_NUMBER` - # * organizations/`ORGANIZATION_NUMBER` + # * projects/`PROJECT_ID` (e.g., "projects/foo-bar") + # * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") + # * folders/`FOLDER_NUMBER` (e.g., "folders/1234567") + # * organizations/`ORGANIZATION_NUMBER` (e.g., "organizations/123456") # @param [Fixnum] page_size # Optional. The page size for search result pagination. Page size is capped at # 500 even @@ -380,26 +385,31 @@ module Google # previous response. The values of all other method parameters must be # identical to those in the previous call. # @param [String] query - # Optional. The query statement. An empty query can be specified to search all - # the IAM - # policies within the given `scope`. - # Examples: - # * `policy : "amy@gmail.com"` to find Cloud IAM policy bindings that - # specify user "amy@gmail.com". - # * `policy : "roles/compute.admin"` to find Cloud IAM policy bindings that - # specify the Compute Admin role. - # * `policy.role.permissions : "storage.buckets.update"` to find Cloud IAM - # policy bindings that specify a role containing "storage.buckets.update" - # permission. - # * `resource : "organizations/123"` to find Cloud IAM policy bindings that - # are set on "organizations/123". - # * `(resource : ("organizations/123" OR "folders/1234") AND policy : "amy")` - # to find Cloud IAM policy bindings that are set on "organizations/123" or - # "folders/1234", and also specify user "amy". - # See [how to construct a + # Optional. The query statement. See [how to construct a # query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies# # how_to_construct_a_query) - # for more details. + # for more information. If not specified or empty, it will search all the + # IAM policies within the specified `scope`. + # Examples: + # * `policy : "amy@gmail.com"` to find IAM policy bindings that specify user + # "amy@gmail.com". + # * `policy : "roles/compute.admin"` to find IAM policy bindings that specify + # the Compute Admin role. + # * `policy.role.permissions : "storage.buckets.update"` to find IAM policy + # bindings that specify a role containing "storage.buckets.update" + # permission. Note that if callers don't have `iam.roles.get` access to a + # role's included permissions, policy bindings that specify this role will + # be dropped from the search results. + # * `resource : "organizations/123456"` to find IAM policy bindings + # that are set on "organizations/123456". + # * `"Important"` to find IAM policy bindings that contain "Important" as a + # word in any of the searchable fields (except for the included + # permissions). + # * `"*por*"` to find IAM policy bindings which contain "por" as a substring + # in any of the searchable fields (except for the included permissions). + # * `(resource : ("instance1" OR "instance2") AND policy : "amy")` to find + # IAM policy bindings that are set on resources "instance1" or + # "instance2" and also specify user "amy". # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -430,18 +440,22 @@ module Google execute_or_queue_command(command, &block) end - # Searches all the resources within the given accessible scope (e.g., a - # project, a folder or an organization). Callers should have - # `cloud.assets.SearchAllResources` permission upon the requested scope, + # Searches all Cloud resources within the specified scope, such as a project, + # folder, or organization. The caller must be granted the + # `cloudasset.assets.searchAllResources` permission on the desired scope, # otherwise the request will be rejected. # @param [String] scope - # Required. A scope can be a project, a folder or an organization. The search is - # limited to the resources within the `scope`. + # Required. A scope can be a project, a folder, or an organization. The search + # is + # limited to the resources within the `scope`. The caller must be granted the + # [`cloudasset.assets.searchAllResources`](http://cloud.google.com/asset- + # inventory/docs/access-control#required_permissions) + # permission on the desired scope. # The allowed values are: - # * projects/`PROJECT_ID` - # * projects/`PROJECT_NUMBER` - # * folders/`FOLDER_NUMBER` - # * organizations/`ORGANIZATION_NUMBER` + # * projects/`PROJECT_ID` (e.g., "projects/foo-bar") + # * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") + # * folders/`FOLDER_NUMBER` (e.g., "folders/1234567") + # * organizations/`ORGANIZATION_NUMBER` (e.g., "organizations/123456") # @param [Array, String] asset_types # Optional. A list of asset types that this request searches for. If empty, it # will @@ -470,14 +484,21 @@ module Google # the previous response. The values of all other method parameters, must be # identical to those in the previous call. # @param [String] query - # Optional. The query statement. An empty query can be specified to search all - # the - # resources of certain `asset_types` within the given `scope`. + # Optional. The query statement. See [how to construct a + # query](http://cloud.google.com/asset-inventory/docs/searching-resources# + # how_to_construct_a_query) + # for more information. If not specified or empty, it will search all the + # resources within the specified `scope`. Note that the query string is + # compared against each Cloud IAM policy binding, including its members, + # roles, and Cloud IAM conditions. The returned Cloud IAM policies will only + # contain the bindings that match your query. To learn more about the IAM + # policy structure, see [IAM policy + # doc](https://cloud.google.com/iam/docs/policies#structure). # Examples: # * `name : "Important"` to find Cloud resources whose name contains # "Important" as a word. # * `displayName : "Impor*"` to find Cloud resources whose display name - # contains "Impor" as a word prefix. + # contains "Impor" as a prefix. # * `description : "*por*"` to find Cloud resources whose description # contains "por" as a substring. # * `location : "us-west*"` to find Cloud resources whose location is @@ -489,7 +510,7 @@ module Google # * `labels.env : *` to find Cloud resources which have a label "env". # * `"Important"` to find Cloud resources which contain "Important" as a word # in any of the searchable fields. - # * `"Impor*"` to find Cloud resources which contain "Impor" as a word prefix + # * `"Impor*"` to find Cloud resources which contain "Impor" as a prefix # in any of the searchable fields. # * `"*por*"` to find Cloud resources which contain "por" as a substring in # any of the searchable fields. @@ -497,10 +518,6 @@ module Google # resources which contain "Important" as a word in any of the searchable # fields and are also located in the "us-west1" region or the "global" # location. - # See [how to construct a - # query](https://cloud.google.com/asset-inventory/docs/searching-resources# - # how_to_construct_a_query) - # for more details. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/cloudasset_v1p4beta1.rb b/generated/google/apis/cloudasset_v1p4beta1.rb index b3b06f900..45597ac21 100644 --- a/generated/google/apis/cloudasset_v1p4beta1.rb +++ b/generated/google/apis/cloudasset_v1p4beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1p4beta1 VERSION = 'V1p4beta1' - REVISION = '20200613' + REVISION = '20200724' # 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/container_v1.rb b/generated/google/apis/container_v1.rb index 3c5713f02..074feeb7a 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20200709' + REVISION = '20200713' # 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/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index c81e2f594..398a1b1ce 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -58,6 +58,11 @@ module Google # @return [Google::Apis::ContainerV1::CloudRunConfig] attr_accessor :cloud_run_config + # Configuration options for the Config Connector add-on. + # Corresponds to the JSON property `configConnectorConfig` + # @return [Google::Apis::ContainerV1::ConfigConnectorConfig] + attr_accessor :config_connector_config + # Configuration for NodeLocal DNSCache # Corresponds to the JSON property `dnsCacheConfig` # @return [Google::Apis::ContainerV1::DnsCacheConfig] @@ -95,6 +100,7 @@ module Google # Update properties of this object def update!(**args) @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config) + @config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config) @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config) @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) @@ -1066,6 +1072,26 @@ module Google end end + # Configuration options for the Config Connector add-on. + class ConfigConnectorConfig + include Google::Apis::Core::Hashable + + # Whether Cloud Connector is enabled for this cluster. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + # Parameters for controlling consumption metering. class ConsumptionMeteringConfig include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 42679aab6..9f6cae65e 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -112,6 +112,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConfigConnectorConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConsumptionMeteringConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -563,6 +569,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1::CloudRunConfig, decorator: Google::Apis::ContainerV1::CloudRunConfig::Representation + property :config_connector_config, as: 'configConnectorConfig', class: Google::Apis::ContainerV1::ConfigConnectorConfig, decorator: Google::Apis::ContainerV1::ConfigConnectorConfig::Representation + property :dns_cache_config, as: 'dnsCacheConfig', class: Google::Apis::ContainerV1::DnsCacheConfig, decorator: Google::Apis::ContainerV1::DnsCacheConfig::Representation property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation @@ -788,6 +796,13 @@ module Google end end + class ConfigConnectorConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + end + end + class ConsumptionMeteringConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/displayvideo_v1.rb b/generated/google/apis/displayvideo_v1.rb index 6b5acc518..d096c90b8 100644 --- a/generated/google/apis/displayvideo_v1.rb +++ b/generated/google/apis/displayvideo_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/display-video/ module DisplayvideoV1 VERSION = 'V1' - REVISION = '20200724' + REVISION = '20200728' # Create, see, edit, and permanently delete your Display & Video 360 entities and reports AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video' diff --git a/generated/google/apis/displayvideo_v1/classes.rb b/generated/google/apis/displayvideo_v1/classes.rb index e4d145a31..81201b843 100644 --- a/generated/google/apis/displayvideo_v1/classes.rb +++ b/generated/google/apis/displayvideo_v1/classes.rb @@ -2933,6 +2933,66 @@ module Google end end + # A single custom bidding algorithm. + class CustomBiddingAlgorithm + include Google::Apis::Core::Hashable + + # Immutable. The unique ID of the advertiser that owns the custom bidding + # algorithm. + # Corresponds to the JSON property `advertiserId` + # @return [Fixnum] + attr_accessor :advertiser_id + + # Output only. The unique ID of the custom bidding algorithm. Assigned by the + # system. + # Corresponds to the JSON property `customBiddingAlgorithmId` + # @return [Fixnum] + attr_accessor :custom_bidding_algorithm_id + + # Required. Immutable. The type of custom bidding algorithm. + # Corresponds to the JSON property `customBiddingAlgorithmType` + # @return [String] + attr_accessor :custom_bidding_algorithm_type + + # Required. The display name of the custom bidding algorithm. Must be UTF-8 + # encoded with a maximum size of 240 bytes. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Controls whether or not the custom bidding algorithm can be used as a bidding + # strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * ` + # ENTITY_STATUS_ARCHIVED` + # Corresponds to the JSON property `entityStatus` + # @return [String] + attr_accessor :entity_status + + # Output only. The resource name of the custom bidding algorithm. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Immutable. The unique ID of the partner that owns the custom bidding algorithm. + # Corresponds to the JSON property `partnerId` + # @return [Fixnum] + attr_accessor :partner_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id) + @custom_bidding_algorithm_type = args[:custom_bidding_algorithm_type] if args.key?(:custom_bidding_algorithm_type) + @display_name = args[:display_name] if args.key?(:display_name) + @entity_status = args[:entity_status] if args.key?(:entity_status) + @name = args[:name] if args.key?(:name) + @partner_id = args[:partner_id] if args.key?(:partner_id) + end + end + # Describes a custom list entity, such as a custom affinity or custom intent # audience list. class CustomList @@ -5519,6 +5579,34 @@ module Google end end + # Response message for CustomBiddingAlgorithmService.ListCustomBiddingAlgorithms. + class ListCustomBiddingAlgorithmsResponse + include Google::Apis::Core::Hashable + + # The list of custom bidding algorithms. This list will be absent if empty. + # Corresponds to the JSON property `customBiddingAlgorithms` + # @return [Array] + attr_accessor :custom_bidding_algorithms + + # A token to retrieve the next page of results. Pass this value in the + # page_token field in the subsequent call to `ListCustomBiddingAlgorithmsRequest` + # method to retrieve the next page of results. If this field is null, it means + # this is the last page. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_bidding_algorithms = args[:custom_bidding_algorithms] if args.key?(:custom_bidding_algorithms) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # class ListCustomListsResponse include Google::Apis::Core::Hashable @@ -6034,6 +6122,13 @@ module Google class MaximizeSpendBidStrategy include Google::Apis::Core::Hashable + # The ID of the Custom Bidding Algorithm used by this strategy. Only applicable + # when performance_goal_type is set to ` + # BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. + # Corresponds to the JSON property `customBiddingAlgorithmId` + # @return [Fixnum] + attr_accessor :custom_bidding_algorithm_id + # The maximum average CPM that may be bid, in micros of the advertiser's # currency. Must be greater than or equal to a billable unit of the given # currency. For example, 1500000 represents 1.5 standard units of the currency. @@ -6055,6 +6150,7 @@ module Google # Update properties of this object def update!(**args) + @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id) @max_average_cpm_bid_amount_micros = args[:max_average_cpm_bid_amount_micros] if args.key?(:max_average_cpm_bid_amount_micros) @performance_goal_type = args[:performance_goal_type] if args.key?(:performance_goal_type) end @@ -6853,6 +6949,13 @@ module Google class PerformanceGoalBidStrategy include Google::Apis::Core::Hashable + # The ID of the Custom Bidding Algorithm used by this strategy. Only applicable + # when performance_goal_type is set to ` + # BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. + # Corresponds to the JSON property `customBiddingAlgorithmId` + # @return [Fixnum] + attr_accessor :custom_bidding_algorithm_id + # The maximum average CPM that may be bid, in micros of the advertiser's # currency. Must be greater than or equal to a billable unit of the given # currency. Not applicable when performance_goal_type is set to ` @@ -6900,6 +7003,7 @@ module Google # Update properties of this object def update!(**args) + @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id) @max_average_cpm_bid_amount_micros = args[:max_average_cpm_bid_amount_micros] if args.key?(:max_average_cpm_bid_amount_micros) @performance_goal_amount_micros = args[:performance_goal_amount_micros] if args.key?(:performance_goal_amount_micros) @performance_goal_type = args[:performance_goal_type] if args.key?(:performance_goal_type) diff --git a/generated/google/apis/displayvideo_v1/representations.rb b/generated/google/apis/displayvideo_v1/representations.rb index 1c0e2fc73..cb773efbe 100644 --- a/generated/google/apis/displayvideo_v1/representations.rb +++ b/generated/google/apis/displayvideo_v1/representations.rb @@ -454,6 +454,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CustomBiddingAlgorithm + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CustomList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -892,6 +898,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListCustomBiddingAlgorithmsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListCustomListsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2128,6 +2140,19 @@ module Google end end + class CustomBiddingAlgorithm + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :advertiser_id, :numeric_string => true, as: 'advertiserId' + property :custom_bidding_algorithm_id, :numeric_string => true, as: 'customBiddingAlgorithmId' + property :custom_bidding_algorithm_type, as: 'customBiddingAlgorithmType' + property :display_name, as: 'displayName' + property :entity_status, as: 'entityStatus' + property :name, as: 'name' + property :partner_id, :numeric_string => true, as: 'partnerId' + end + end + class CustomList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2838,6 +2863,15 @@ module Google end end + class ListCustomBiddingAlgorithmsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :custom_bidding_algorithms, as: 'customBiddingAlgorithms', class: Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm, decorator: Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListCustomListsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3004,6 +3038,7 @@ module Google class MaximizeSpendBidStrategy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :custom_bidding_algorithm_id, :numeric_string => true, as: 'customBiddingAlgorithmId' property :max_average_cpm_bid_amount_micros, :numeric_string => true, as: 'maxAverageCpmBidAmountMicros' property :performance_goal_type, as: 'performanceGoalType' end @@ -3218,6 +3253,7 @@ module Google class PerformanceGoalBidStrategy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :custom_bidding_algorithm_id, :numeric_string => true, as: 'customBiddingAlgorithmId' property :max_average_cpm_bid_amount_micros, :numeric_string => true, as: 'maxAverageCpmBidAmountMicros' property :performance_goal_amount_micros, :numeric_string => true, as: 'performanceGoalAmountMicros' property :performance_goal_type, as: 'performanceGoalType' diff --git a/generated/google/apis/displayvideo_v1/service.rb b/generated/google/apis/displayvideo_v1/service.rb index 8f7e06be0..543a77e44 100644 --- a/generated/google/apis/displayvideo_v1/service.rb +++ b/generated/google/apis/displayvideo_v1/service.rb @@ -2841,6 +2841,110 @@ module Google execute_or_queue_command(command, &block) end + # Gets a custom bidding algorithm. + # @param [Fixnum] custom_bidding_algorithm_id + # Required. The ID of the custom bidding algorithm to fetch. + # @param [Fixnum] advertiser_id + # The ID of the DV3 partner that has access to the custom bidding algorithm. + # @param [Fixnum] partner_id + # The ID of the DV3 partner that has access to the custom bidding algorithm. + # @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::DisplayvideoV1::CustomBiddingAlgorithm] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] + # + # @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_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}', options) + command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation + command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm + command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['partnerId'] = partner_id unless partner_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists custom bidding algorithms that are accessible to the current user and + # can be used in bidding stratgies. The order is defined by the order_by + # parameter. + # @param [Fixnum] advertiser_id + # The ID of the DV3 advertiser that has access to the custom bidding algorithm. + # @param [String] filter + # Allows filtering by custom bidding algorithm fields. Supported syntax: * + # Filter expressions are made up of one or more restrictions. * Restrictions can + # be combined by `AND`. A sequence of restrictions * implicitly uses `AND`. * A + # restriction has the form of ``field` `operator` `value``. * The operator must + # be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for + # the following field: - `displayName` * The operator must be `EQUALS (=)` for + # the following field: - `customBiddingAlgorithmType` * For `displayName`, the + # value is a string. We return all custom bidding algorithms whose display_name + # contains such string. * For `customBiddingAlgorithmType`, the value is a + # string. We return all algorithms whose custom_bidding_algorithm_type is equal + # to the given type. Examples: * All custom bidding algorithms for which the + # display name contains "politics": `displayName:politics`. * All custom bidding + # algorithms for which the type is "SCRIPT_BASED": `customBiddingAlgorithmType= + # SCRIPT_BASED` The length of this field should be no more than 500 characters. + # @param [String] order_by + # Field by which to sort the list. Acceptable values are: * `displayName` ( + # default) The default sorting order is ascending. To specify descending order + # for a field, a suffix "desc" should be added to the field name. Example: ` + # displayName desc`. + # @param [Fixnum] page_size + # Requested page size. Must be between `1` and `100`. If unspecified will + # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is + # specified. + # @param [String] page_token + # A token identifying a page of results the server should return. Typically, + # this is the value of next_page_token returned from the previous call to ` + # ListCustomBiddingAlgorithms` method. If not specified, the first page of + # results will be returned. + # @param [Fixnum] partner_id + # The ID of the DV3 partner that has access to the custom bidding algorithm. + # @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::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse] + # + # @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_custom_bidding_algorithms(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/customBiddingAlgorithms', options) + command.response_representation = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse::Representation + command.response_class = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['filter'] = filter unless filter.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['partnerId'] = partner_id unless partner_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets a custom list. # @param [Fixnum] custom_list_id # Required. The ID of the custom list to fetch. diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 57189cdfc..0f4a27e24 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 = '20200713' + REVISION = '20200726' # 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 744b69e71..f91cc2701 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -5376,10 +5376,11 @@ module Google # Template to use. References an instance of `DeidentifyTemplate`. # Any configuration directly specified in `reidentify_config` or - # `inspect_config` will override those set in the template. Singular fields - # that are set in this request will replace their corresponding fields in the - # template. Repeated fields are appended. Singular sub-messages and groups - # are recursively merged. + # `inspect_config` will override those set in the template. The + # `DeidentifyTemplate` used must include only reversible transformations. + # Singular fields that are set in this request will replace their + # corresponding fields in the template. Repeated fields are appended. + # Singular sub-messages and groups are recursively merged. # Corresponds to the JSON property `reidentifyTemplateName` # @return [String] attr_accessor :reidentify_template_name diff --git a/generated/google/apis/firebase_v1beta1.rb b/generated/google/apis/firebase_v1beta1.rb index 5490fc88e..a3f65a768 100644 --- a/generated/google/apis/firebase_v1beta1.rb +++ b/generated/google/apis/firebase_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://firebase.google.com module FirebaseV1beta1 VERSION = 'V1beta1' - REVISION = '20200724' + REVISION = '20200727' # 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/firebase_v1beta1/classes.rb b/generated/google/apis/firebase_v1beta1/classes.rb index 41eb1368a..f64010c31 100644 --- a/generated/google/apis/firebase_v1beta1/classes.rb +++ b/generated/google/apis/firebase_v1beta1/classes.rb @@ -507,6 +507,14 @@ module Google # @return [Google::Apis::FirebaseV1beta1::DefaultResources] attr_accessor :resources + # Output only. The lifecycle state of the Project. + # Updates to the state must be performed via + # com.google.cloudresourcemanager.v1.Projects.DeleteProject and + # com.google.cloudresourcemanager.v1.Projects.UndeleteProject + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + def initialize(**args) update!(**args) end @@ -518,6 +526,7 @@ module Google @project_id = args[:project_id] if args.key?(:project_id) @project_number = args[:project_number] if args.key?(:project_number) @resources = args[:resources] if args.key?(:resources) + @state = args[:state] if args.key?(:state) end end diff --git a/generated/google/apis/firebase_v1beta1/representations.rb b/generated/google/apis/firebase_v1beta1/representations.rb index 2aaaeafb7..6ced5864e 100644 --- a/generated/google/apis/firebase_v1beta1/representations.rb +++ b/generated/google/apis/firebase_v1beta1/representations.rb @@ -332,6 +332,7 @@ module Google property :project_number, :numeric_string => true, as: 'projectNumber' property :resources, as: 'resources', class: Google::Apis::FirebaseV1beta1::DefaultResources, decorator: Google::Apis::FirebaseV1beta1::DefaultResources::Representation + property :state, as: 'state' end end diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index db411eaf9..d4baa23ed 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 = '20200226' + REVISION = '20200727' # 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.rb b/generated/google/apis/genomics_v1alpha2.rb index d48cb4390..9fede10ef 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 = '20200226' + REVISION = '20200727' # 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_v2alpha1.rb b/generated/google/apis/genomics_v2alpha1.rb index 2b8929dba..d2dc40ae8 100644 --- a/generated/google/apis/genomics_v2alpha1.rb +++ b/generated/google/apis/genomics_v2alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV2alpha1 VERSION = 'V2alpha1' - REVISION = '20200610' + REVISION = '20200727' # 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_v2alpha1/classes.rb b/generated/google/apis/genomics_v2alpha1/classes.rb index 91f84f797..f4be222de 100644 --- a/generated/google/apis/genomics_v2alpha1/classes.rb +++ b/generated/google/apis/genomics_v2alpha1/classes.rb @@ -602,67 +602,6 @@ module Google end end - # Message that represents an arbitrary HTTP body. It should only be used for - # payload formats that can't be represented as JSON, such as raw binary or - # an HTML page. - # This message can be used both in streaming and non-streaming API methods in - # the request as well as the response. - # It can be used as a top-level request field, which is convenient if one - # wants to extract parameters from either the URL or HTTP template into the - # request fields and also want access to the raw HTTP body. - # Example: - # message GetResourceRequest ` - # // A unique request id. - # string request_id = 1; - # // The raw HTTP body is bound to this field. - # google.api.HttpBody http_body = 2; - # ` - # service ResourceService ` - # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); - # rpc UpdateResource(google.api.HttpBody) returns - # (google.protobuf.Empty); - # ` - # Example with streaming methods: - # service CaldavService ` - # rpc GetCalendar(stream google.api.HttpBody) - # returns (stream google.api.HttpBody); - # rpc UpdateCalendar(stream google.api.HttpBody) - # returns (stream google.api.HttpBody); - # ` - # Use of this type only changes how the request and response bodies are - # handled, all other features will continue to work unchanged. - class HttpBody - include Google::Apis::Core::Hashable - - # The HTTP Content-Type header value specifying the content type of the body. - # Corresponds to the JSON property `contentType` - # @return [String] - attr_accessor :content_type - - # The HTTP request/response body as raw binary. - # Corresponds to the JSON property `data` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :data - - # Application specific response metadata. Must be set in the first response - # for streaming APIs. - # Corresponds to the JSON property `extensions` - # @return [Array>] - attr_accessor :extensions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_type = args[:content_type] if args.key?(:content_type) - @data = args[:data] if args.key?(:data) - @extensions = args[:extensions] if args.key?(:extensions) - end - end - # The response message for Operations.ListOperations. class ListOperationsResponse include Google::Apis::Core::Hashable @@ -1314,19 +1253,6 @@ module Google end end - # The response to the UploadSOSReport method. - class UploadSosReportResponse - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # Carries information about a Compute Engine VM resource. class VirtualMachine include Google::Apis::Core::Hashable @@ -1377,7 +1303,9 @@ module Google # mounted into the Docker folder in a way that the images present in the # cache will not need to be pulled. The digests of the cached images must # match those of the tags used or the latest version will still be pulled. - # Only a single image is supported. + # The root directory of the ext4 image must contain `image` and `overlay2` + # directories copied from the Docker directory of a VM where the desired + # Docker images have already been pulled. Only a single image is supported. # Corresponds to the JSON property `dockerCacheImages` # @return [Array] attr_accessor :docker_cache_images diff --git a/generated/google/apis/genomics_v2alpha1/representations.rb b/generated/google/apis/genomics_v2alpha1/representations.rb index 87c67c593..df954b8c4 100644 --- a/generated/google/apis/genomics_v2alpha1/representations.rb +++ b/generated/google/apis/genomics_v2alpha1/representations.rb @@ -112,12 +112,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HttpBody - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -232,12 +226,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class UploadSosReportResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class VirtualMachine class Representation < Google::Apis::Core::JsonRepresentation; end @@ -403,15 +391,6 @@ module Google end end - class HttpBody - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content_type, as: 'contentType' - property :data, :base64 => true, as: 'data' - collection :extensions, as: 'extensions' - end - end - class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -591,12 +570,6 @@ module Google end end - class UploadSosReportResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class VirtualMachine # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/genomics_v2alpha1/service.rb b/generated/google/apis/genomics_v2alpha1/service.rb index fd2ae1bb4..c83af046a 100644 --- a/generated/google/apis/genomics_v2alpha1/service.rb +++ b/generated/google/apis/genomics_v2alpha1/service.rb @@ -303,40 +303,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # The worker uses this method to upload SOS reports for unexpected errors. - # @param [String] id - # The VM identity token for authenticating the VM instance. - # https://cloud.google.com/compute/docs/instances/verifying-instance-identity - # @param [Google::Apis::GenomicsV2alpha1::HttpBody] http_body_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::GenomicsV2alpha1::UploadSosReportResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV2alpha1::UploadSosReportResponse] - # - # @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 upload_worker_project_worker_sos_report(id, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2alpha1/workers/{+id}:uploadSosReport', options) - command.request_representation = Google::Apis::GenomicsV2alpha1::HttpBody::Representation - command.request_object = http_body_object - command.response_representation = Google::Apis::GenomicsV2alpha1::UploadSosReportResponse::Representation - command.response_class = Google::Apis::GenomicsV2alpha1::UploadSosReportResponse - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end protected diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 49d938ef0..a67f73cbc 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20200720' + REVISION = '20200727' # See, edit, download, and permanently delete your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index 92292755e..1a690dec4 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -252,6 +252,45 @@ module Google end end + # A person's calendar URL. + class CalendarUrl + include Google::Apis::Core::Hashable + + # Output only. The type of the calendar URL translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the calendar URL. The type can be custom or one of these + # predefined values: * `home` * `freeBusy` * `work` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The calendar 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) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @url = args[:url] if args.key?(:url) + end + end + # A contact group. class ContactGroup include Google::Apis::Core::Hashable @@ -429,11 +468,11 @@ module Google # Optional. A field mask to restrict which fields on the person are returned. # Multiple fields can be specified by separating them with commas. Defaults to # the copy mask with metadata and membership fields if not set. Valid values are: - # * addresses * ageRanges * biographies * birthdays * coverPhotos * - # emailAddresses * events * genders * imClients * interests * locales * - # memberships * metadata * names * nicknames * occupations * organizations * - # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls * - # userDefined + # * addresses * ageRanges * biographies * birthdays * calendarUrls * + # coverPhotos * emailAddresses * events * externalIds * genders * imClients * + # interests * locales * memberships * metadata * names * nicknames * occupations + # * organizations * phoneNumbers * photos * relations * residences * + # sipAddresses * skills * urls * userDefined # Corresponds to the JSON property `readMask` # @return [String] attr_accessor :read_mask @@ -700,6 +739,45 @@ module Google end end + # An identifier from an external entity related to the person. + class ExternalId + include Google::Apis::Core::Hashable + + # Output only. The type of the event translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the external ID. The type can be custom or one of these predefined + # values: * `account` * `customer` * `loginId` * `network` * `organization` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The value of the external ID. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + # Metadata about a field. class FieldMetadata include Google::Apis::Core::Hashable @@ -1465,12 +1543,12 @@ module Google # @return [Array] attr_accessor :age_ranges - # The person's biographies. + # The person's biographies. This field is a singleton for contact sources. # Corresponds to the JSON property `biographies` # @return [Array] attr_accessor :biographies - # The person's birthdays. + # The person's birthdays. This field is a singleton for contact sources. # Corresponds to the JSON property `birthdays` # @return [Array] attr_accessor :birthdays @@ -1480,6 +1558,11 @@ module Google # @return [Array] attr_accessor :bragging_rights + # The person's calendar URLs. + # Corresponds to the JSON property `calendarUrls` + # @return [Array] + attr_accessor :calendar_urls + # Output only. The person's cover photos. # Corresponds to the JSON property `coverPhotos` # @return [Array] @@ -1501,12 +1584,17 @@ module Google # @return [Array] attr_accessor :events + # The person's external IDs. + # Corresponds to the JSON property `externalIds` + # @return [Array] + attr_accessor :external_ids + # The person's file-ases. # Corresponds to the JSON property `fileAses` # @return [Array] attr_accessor :file_ases - # The person's genders. + # The person's genders. This field is a singleton for contact sources. # Corresponds to the JSON property `genders` # @return [Array] attr_accessor :genders @@ -1536,7 +1624,7 @@ module Google # @return [Google::Apis::PeopleV1::PersonMetadata] attr_accessor :metadata - # The person's names. + # The person's names. This field is a singleton for contact sources. # Corresponds to the JSON property `names` # @return [Array] attr_accessor :names @@ -1631,10 +1719,12 @@ module Google @biographies = args[:biographies] if args.key?(:biographies) @birthdays = args[:birthdays] if args.key?(:birthdays) @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) + @calendar_urls = args[:calendar_urls] if args.key?(:calendar_urls) @cover_photos = args[:cover_photos] if args.key?(:cover_photos) @email_addresses = args[:email_addresses] if args.key?(:email_addresses) @etag = args[:etag] if args.key?(:etag) @events = args[:events] if args.key?(:events) + @external_ids = args[:external_ids] if args.key?(:external_ids) @file_ases = args[:file_ases] if args.key?(:file_ases) @genders = args[:genders] if args.key?(:genders) @im_clients = args[:im_clients] if args.key?(:im_clients) @@ -2252,10 +2342,11 @@ module Google # Optional. A field mask to restrict which fields on the person are returned. # Multiple fields can be specified by separating them with commas. Defaults to # empty if not set, which will skip the post mutate get. Valid values are: * - # addresses * ageRanges * biographies * birthdays * coverPhotos * emailAddresses - # * events * genders * imClients * interests * locales * memberships * metadata * - # names * nicknames * occupations * organizations * phoneNumbers * photos * - # relations * residences * sipAddresses * skills * urls * userDefined + # addresses * ageRanges * biographies * birthdays * calendarUrls * coverPhotos * + # emailAddresses * events * externalIds * genders * imClients * interests * + # locales * memberships * metadata * names * nicknames * occupations * + # organizations * phoneNumbers * photos * relations * residences * sipAddresses * + # skills * urls * userDefined # Corresponds to the JSON property `personFields` # @return [String] attr_accessor :person_fields diff --git a/generated/google/apis/people_v1/representations.rb b/generated/google/apis/people_v1/representations.rb index cae5c3407..942d3ff57 100644 --- a/generated/google/apis/people_v1/representations.rb +++ b/generated/google/apis/people_v1/representations.rb @@ -58,6 +58,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CalendarUrl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ContactGroup class Representation < Google::Apis::Core::JsonRepresentation; end @@ -136,6 +142,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ExternalId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class FieldMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -436,6 +448,17 @@ module Google end end + class CalendarUrl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :url, as: 'url' + end + end + class ContactGroup # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -559,6 +582,17 @@ module Google end end + class ExternalId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :value, as: 'value' + end + end + class FieldMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -777,6 +811,8 @@ module Google collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation + collection :calendar_urls, as: 'calendarUrls', class: Google::Apis::PeopleV1::CalendarUrl, decorator: Google::Apis::PeopleV1::CalendarUrl::Representation + collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation @@ -784,6 +820,8 @@ module Google property :etag, as: 'etag' collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation + collection :external_ids, as: 'externalIds', class: Google::Apis::PeopleV1::ExternalId, decorator: Google::Apis::PeopleV1::ExternalId::Representation + collection :file_ases, as: 'fileAses', class: Google::Apis::PeopleV1::FileAs, decorator: Google::Apis::PeopleV1::FileAs::Representation collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index 8c28833d0..b01a3c25a 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -382,16 +382,19 @@ module Google execute_or_queue_command(command, &block) end - # Create a new contact and return the person resource for that contact. + # Create a new contact and return the person resource for that contact. The + # request throws a 400 error if more than one field is specified on a field that + # is a singleton for contact sources: * biographies * birthdays * genders * + # names # @param [Google::Apis::PeopleV1::Person] person_object # @param [String] person_fields # Required. A field mask to restrict which fields on each person are returned. # Multiple fields can be specified by separating them with commas. Defaults to # all fields if not set. Valid values are: * addresses * ageRanges * biographies - # * birthdays * coverPhotos * emailAddresses * events * genders * imClients * - # interests * locales * memberships * metadata * names * nicknames * occupations - # * organizations * phoneNumbers * photos * relations * residences * - # sipAddresses * skills * urls * userDefined + # * birthdays * calendarUrls * coverPhotos * emailAddresses * events * + # externalIds * genders * imClients * interests * locales * memberships * + # metadata * names * nicknames * occupations * organizations * phoneNumbers * + # photos * relations * residences * sipAddresses * skills * urls * userDefined # @param [Array, String] sources # Optional. A mask of what source types to return. Defaults to ReadSourceType. # CONTACT and ReadSourceType.PROFILE if not set. @@ -462,10 +465,11 @@ module Google # Optional. A field mask to restrict which fields on the person are returned. # Multiple fields can be specified by separating them with commas. Defaults to # empty if not set, which will skip the post mutate get. Valid values are: * - # addresses * ageRanges * biographies * birthdays * coverPhotos * emailAddresses - # * events * genders * imClients * interests * locales * memberships * metadata * - # names * nicknames * occupations * organizations * phoneNumbers * photos * - # relations * residences * sipAddresses * skills * urls * userDefined + # addresses * ageRanges * biographies * birthdays * calendarUrls * coverPhotos * + # emailAddresses * events * externalIds * genders * imClients * interests * + # locales * memberships * metadata * names * nicknames * occupations * + # organizations * phoneNumbers * photos * relations * residences * sipAddresses * + # skills * urls * userDefined # @param [Array, String] sources # Optional. A mask of what source types to return. Defaults to ReadSourceType. # CONTACT and ReadSourceType.PROFILE if not set. @@ -511,11 +515,11 @@ module Google # @param [String] person_fields # Required. A field mask to restrict which fields on the person are returned. # Multiple fields can be specified by separating them with commas. Valid values - # are: * addresses * ageRanges * biographies * birthdays * coverPhotos * - # emailAddresses * events * genders * imClients * interests * locales * - # memberships * metadata * names * nicknames * occupations * organizations * - # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls * - # userDefined + # are: * addresses * ageRanges * biographies * birthdays * calendarUrls * + # coverPhotos * emailAddresses * events * externalIds * genders * imClients * + # interests * locales * memberships * metadata * names * nicknames * occupations + # * organizations * phoneNumbers * photos * relations * residences * + # sipAddresses * skills * urls * userDefined # @param [String] request_mask_include_field # Required. Comma-separated list of person fields to be included in the response. # Each path should start with `person.`: for example, `person.names` or `person. @@ -559,11 +563,11 @@ module Google # @param [String] person_fields # Required. A field mask to restrict which fields on each person are returned. # Multiple fields can be specified by separating them with commas. Valid values - # are: * addresses * ageRanges * biographies * birthdays * coverPhotos * - # emailAddresses * events * genders * imClients * interests * locales * - # memberships * metadata * names * nicknames * occupations * organizations * - # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls * - # userDefined + # are: * addresses * ageRanges * biographies * birthdays * calendarUrls * + # coverPhotos * emailAddresses * events * externalIds * genders * imClients * + # interests * locales * memberships * metadata * names * nicknames * occupations + # * organizations * phoneNumbers * photos * relations * residences * + # sipAddresses * skills * urls * userDefined # @param [String] request_mask_include_field # Required. Comma-separated list of person fields to be included in the response. # Each path should start with `person.`: for example, `person.names` or `person. @@ -624,11 +628,11 @@ module Google # @param [String] read_mask # Required. A field mask to restrict which fields on each person are returned. # Multiple fields can be specified by separating them with commas. Valid values - # are: * addresses * ageRanges * biographies * birthdays * coverPhotos * - # emailAddresses * events * genders * imClients * interests * locales * - # memberships * metadata * names * nicknames * occupations * organizations * - # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls * - # userDefined + # are: * addresses * ageRanges * biographies * birthdays * calendarUrls * + # coverPhotos * emailAddresses * events * externalIds * genders * imClients * + # interests * locales * memberships * metadata * names * nicknames * occupations + # * organizations * phoneNumbers * photos * relations * residences * + # sipAddresses * skills * urls * userDefined # @param [Boolean] request_sync_token # Optional. Whether the response should include `next_sync_token`, which can be # used to get all changes since the last request. For subsequent sync requests @@ -692,11 +696,11 @@ module Google # @param [String] read_mask # Required. A field mask to restrict which fields on each person are returned. # Multiple fields can be specified by separating them with commas. Valid values - # are: * addresses * ageRanges * biographies * birthdays * coverPhotos * - # emailAddresses * events * genders * imClients * interests * locales * - # memberships * metadata * names * nicknames * occupations * organizations * - # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls * - # userDefined + # are: * addresses * ageRanges * biographies * birthdays * calendarUrls * + # coverPhotos * emailAddresses * events * externalIds * genders * imClients * + # interests * locales * memberships * metadata * names * nicknames * occupations + # * organizations * phoneNumbers * photos * relations * residences * + # sipAddresses * skills * urls * userDefined # @param [Array, String] sources # Required. Directory sources to return. # @param [String] fields @@ -732,13 +736,18 @@ module Google end # Update contact data for an existing contact person. Any non-contact data will - # not be modified. The request throws a 400 error if `updatePersonFields` is not - # specified. The request throws a 400 error if `person.metadata.sources` is not - # specified for the contact to be updated. The request throws a 400 error with - # an error with reason `"failedPrecondition"` if `person.metadata.sources.etag` - # is different than the contact's etag, which indicates the contact has changed - # since its data was read. Clients should get the latest person and re-apply - # their updates to the latest person. + # not be modified. Any non-contact data in the person to update will be ignored. + # All fields specified in the `update_mask` will be replaced. The server returns + # a 400 error if `person.metadata.sources` is not specified for the contact to + # be updated or if there is no contact source. The server returns a 400 error + # with reason `"failedPrecondition"` if `person.metadata.sources.etag` is + # different than the contact's etag, which indicates the contact has changed + # since its data was read. Clients should get the latest person and merge their + # updates into the latest person. The server returns a 400 error if `memberships` + # are being updated and there are no contact group memberships specified on the + # person. The server returns a 400 error if more than one field is specified on + # a field that is a singleton for contact sources: * biographies * birthdays * + # genders * names # @param [String] resource_name # The resource name for the person, assigned by the server. An ASCII string with # a max length of 27 characters, in the form of `people/`person_id``. @@ -747,10 +756,10 @@ module Google # Optional. A field mask to restrict which fields on each person are returned. # Multiple fields can be specified by separating them with commas. Defaults to # all fields if not set. Valid values are: * addresses * ageRanges * biographies - # * birthdays * coverPhotos * emailAddresses * events * genders * imClients * - # interests * locales * memberships * metadata * names * nicknames * occupations - # * organizations * phoneNumbers * photos * relations * residences * - # sipAddresses * skills * urls * userDefined + # * birthdays * calendarUrls * coverPhotos * emailAddresses * events * + # externalIds * genders * imClients * interests * locales * memberships * + # metadata * names * nicknames * occupations * organizations * phoneNumbers * + # photos * relations * residences * sipAddresses * skills * urls * userDefined # @param [Array, String] sources # Optional. A mask of what source types to return. Defaults to ReadSourceType. # CONTACT and ReadSourceType.PROFILE if not set. @@ -758,9 +767,10 @@ module Google # Required. A field mask to restrict which fields on the person are updated. # Multiple fields can be specified by separating them with commas. All updated # fields will be replaced. Valid values are: * addresses * biographies * - # birthdays * emailAddresses * events * genders * imClients * interests * - # locales * memberships * names * nicknames * occupations * organizations * - # phoneNumbers * relations * residences * sipAddresses * urls * userDefined + # birthdays * calendarUrls * emailAddresses * events * externalIds * genders * + # imClients * interests * locales * memberships * names * nicknames * + # occupations * organizations * phoneNumbers * relations * residences * + # sipAddresses * urls * userDefined # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -842,11 +852,11 @@ module Google # @param [String] person_fields # Required. A field mask to restrict which fields on each person are returned. # Multiple fields can be specified by separating them with commas. Valid values - # are: * addresses * ageRanges * biographies * birthdays * coverPhotos * - # emailAddresses * events * genders * imClients * interests * locales * - # memberships * metadata * names * nicknames * occupations * organizations * - # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls * - # userDefined + # are: * addresses * ageRanges * biographies * birthdays * calendarUrls * + # coverPhotos * emailAddresses * events * externalIds * genders * imClients * + # interests * locales * memberships * metadata * names * nicknames * occupations + # * organizations * phoneNumbers * photos * relations * residences * + # sipAddresses * skills * urls * userDefined # @param [String] request_mask_include_field # Required. Comma-separated list of person fields to be included in the response. # Each path should start with `person.`: for example, `person.names` or `person. diff --git a/generated/google/apis/spanner_v1.rb b/generated/google/apis/spanner_v1.rb index 5ecbbb72b..535c16fdf 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 = '20200709' + REVISION = '20200722' # 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 b02f9fc2d..96c427a9f 100644 --- a/generated/google/apis/spanner_v1/classes.rb +++ b/generated/google/apis/spanner_v1/classes.rb @@ -1207,8 +1207,9 @@ module Google # Parameter names and values that bind to placeholders in the SQL string. # A parameter placeholder consists of the `@` character followed by the - # parameter name (for example, `@firstName`). Parameter names can contain - # letters, numbers, and underscores. + # parameter name (for example, `@firstName`). Parameter names must conform + # to the naming requirements of identifiers as specified at + # https://cloud.google.com/spanner/docs/lexical#identifiers. # Parameters can appear anywhere that a literal value is expected. The same # parameter name can be used more than once, for example: # `"WHERE id > @msg_id AND id < @msg_id + 100"`