diff --git a/api_names_out.yaml b/api_names_out.yaml index 244ffe6ff..a5cbd449b 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -75730,8 +75730,10 @@ "/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/requestedLink": requested_link "/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/resolvedLink": resolved_link "/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmCampaign": utm_campaign +"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmContent": utm_content "/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmMedium": utm_medium "/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmSource": utm_source +"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmTerm": utm_term "/firebasedynamiclinks:v1/GetIosReopenAttributionRequest": get_ios_reopen_attribution_request "/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/bundleId": bundle_id "/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/requestedLink": requested_link @@ -75742,8 +75744,10 @@ "/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/iosMinAppVersion": ios_min_app_version "/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/resolvedLink": resolved_link "/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmCampaign": utm_campaign +"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmContent": utm_content "/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmMedium": utm_medium "/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmSource": utm_source +"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmTerm": utm_term "/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics "/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid "/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign @@ -100199,6 +100203,14 @@ "/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id "/sourcerepo:v1/MirrorConfig/url": url "/sourcerepo:v1/MirrorConfig/webhookId": webhook_id +"/sourcerepo:v1/Operation": operation +"/sourcerepo:v1/Operation/done": done +"/sourcerepo:v1/Operation/error": error +"/sourcerepo:v1/Operation/metadata": metadata +"/sourcerepo:v1/Operation/metadata/metadatum": metadatum +"/sourcerepo:v1/Operation/name": name +"/sourcerepo:v1/Operation/response": response +"/sourcerepo:v1/Operation/response/response": response "/sourcerepo:v1/Policy": policy "/sourcerepo:v1/Policy/auditConfigs": audit_configs "/sourcerepo:v1/Policy/auditConfigs/audit_config": audit_config @@ -100241,6 +100253,13 @@ "/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request "/sourcerepo:v1/SetIamPolicyRequest/policy": policy "/sourcerepo:v1/SetIamPolicyRequest/updateMask": update_mask +"/sourcerepo:v1/Status": status +"/sourcerepo:v1/Status/code": code +"/sourcerepo:v1/Status/details": details +"/sourcerepo:v1/Status/details/detail": detail +"/sourcerepo:v1/Status/details/detail/detail": detail +"/sourcerepo:v1/Status/message": message +"/sourcerepo:v1/SyncRepoRequest": sync_repo_request "/sourcerepo:v1/TestIamPermissionsRequest": test_iam_permissions_request "/sourcerepo:v1/TestIamPermissionsRequest/permissions": permissions "/sourcerepo:v1/TestIamPermissionsRequest/permissions/permission": permission @@ -100274,6 +100293,8 @@ "/sourcerepo:v1/sourcerepo.projects.repos.patch/name": name "/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy": set_repo_iam_policy "/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy/resource": resource +"/sourcerepo:v1/sourcerepo.projects.repos.sync": sync_repo +"/sourcerepo:v1/sourcerepo.projects.repos.sync/name": name "/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions": test_repo_iam_permissions "/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource "/sourcerepo:v1/sourcerepo.projects.updateConfig": update_project_config @@ -106022,6 +106043,7 @@ "/tpu:v1/ResetNodeRequest": reset_node_request "/tpu:v1/SchedulingConfig": scheduling_config "/tpu:v1/SchedulingConfig/preemptible": preemptible +"/tpu:v1/SchedulingConfig/reserved": reserved "/tpu:v1/StartNodeRequest": start_node_request "/tpu:v1/Status": status "/tpu:v1/Status/code": code @@ -106166,6 +106188,7 @@ "/tpu:v1alpha1/ResetNodeRequest": reset_node_request "/tpu:v1alpha1/SchedulingConfig": scheduling_config "/tpu:v1alpha1/SchedulingConfig/preemptible": preemptible +"/tpu:v1alpha1/SchedulingConfig/reserved": reserved "/tpu:v1alpha1/StartNodeRequest": start_node_request "/tpu:v1alpha1/Status": status "/tpu:v1alpha1/Status/code": code diff --git a/generated/google/apis/cloudsearch_v1.rb b/generated/google/apis/cloudsearch_v1.rb index 6c45b754a..2c989d3ea 100644 --- a/generated/google/apis/cloudsearch_v1.rb +++ b/generated/google/apis/cloudsearch_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://gsuite.google.com/products/cloud-search/ module CloudsearchV1 VERSION = 'V1' - REVISION = '20190406' + REVISION = '20190418' # Index and serve your organization's data with Cloud Search AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search' diff --git a/generated/google/apis/cloudsearch_v1/classes.rb b/generated/google/apis/cloudsearch_v1/classes.rb index 8ef978504..b4e2b4cda 100644 --- a/generated/google/apis/cloudsearch_v1/classes.rb +++ b/generated/google/apis/cloudsearch_v1/classes.rb @@ -2256,7 +2256,8 @@ module Google class Metaline include Google::Apis::Core::Hashable - # The list of displayed properties for the metaline. + # The list of displayed properties for the metaline. The maxiumum number of + # properties is 5. # Corresponds to the JSON property `properties` # @return [Array] attr_accessor :properties @@ -2421,7 +2422,7 @@ module Google # to specify singular properties before repeated properties in this list. All # of the properties must set # is_returnable - # to true. The maximum number of elements is 3. + # to true. The maximum number of metalines is 3. # Corresponds to the JSON property `metalines` # @return [Array] attr_accessor :metalines @@ -4041,7 +4042,7 @@ module Google attr_accessor :title # The URL of the search result. The URL contains a Google redirect to the - # actual item. + # actual item. This URL is signed and shouldn't be changed. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index 2cbe16c48..9f2c19897 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/dynamic-links/ module FirebasedynamiclinksV1 VERSION = 'V1' - REVISION = '20190409' + REVISION = '20190425' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index 5d4b5bc24..8e8587446 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -634,6 +634,11 @@ module Google # @return [String] attr_accessor :utm_campaign + # Scion content value to be propagated by iSDK to Scion at app-reopen. + # Corresponds to the JSON property `utmContent` + # @return [String] + attr_accessor :utm_content + # Scion medium value to be propagated by iSDK to Scion at post-install. # Corresponds to the JSON property `utmMedium` # @return [String] @@ -644,6 +649,11 @@ module Google # @return [String] attr_accessor :utm_source + # Scion term value to be propagated by iSDK to Scion at app-reopen. + # Corresponds to the JSON property `utmTerm` + # @return [String] + attr_accessor :utm_term + def initialize(**args) update!(**args) end @@ -662,8 +672,10 @@ module Google @requested_link = args[:requested_link] if args.key?(:requested_link) @resolved_link = args[:resolved_link] if args.key?(:resolved_link) @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign) + @utm_content = args[:utm_content] if args.key?(:utm_content) @utm_medium = args[:utm_medium] if args.key?(:utm_medium) @utm_source = args[:utm_source] if args.key?(:utm_source) + @utm_term = args[:utm_term] if args.key?(:utm_term) end end @@ -739,6 +751,11 @@ module Google # @return [String] attr_accessor :utm_campaign + # Scion content value to be propagated by iSDK to Scion at app-reopen. + # Corresponds to the JSON property `utmContent` + # @return [String] + attr_accessor :utm_content + # Scion medium value to be propagated by iSDK to Scion at app-reopen. # Corresponds to the JSON property `utmMedium` # @return [String] @@ -749,6 +766,11 @@ module Google # @return [String] attr_accessor :utm_source + # Scion term value to be propagated by iSDK to Scion at app-reopen. + # Corresponds to the JSON property `utmTerm` + # @return [String] + attr_accessor :utm_term + def initialize(**args) update!(**args) end @@ -760,8 +782,10 @@ module Google @ios_min_app_version = args[:ios_min_app_version] if args.key?(:ios_min_app_version) @resolved_link = args[:resolved_link] if args.key?(:resolved_link) @utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign) + @utm_content = args[:utm_content] if args.key?(:utm_content) @utm_medium = args[:utm_medium] if args.key?(:utm_medium) @utm_source = args[:utm_source] if args.key?(:utm_source) + @utm_term = args[:utm_term] if args.key?(:utm_term) end end diff --git a/generated/google/apis/firebasedynamiclinks_v1/representations.rb b/generated/google/apis/firebasedynamiclinks_v1/representations.rb index b89af1f7e..bf310e17d 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/representations.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/representations.rb @@ -323,8 +323,10 @@ module Google property :requested_link, as: 'requestedLink' property :resolved_link, as: 'resolvedLink' property :utm_campaign, as: 'utmCampaign' + property :utm_content, as: 'utmContent' property :utm_medium, as: 'utmMedium' property :utm_source, as: 'utmSource' + property :utm_term, as: 'utmTerm' end end @@ -345,8 +347,10 @@ module Google property :ios_min_app_version, as: 'iosMinAppVersion' property :resolved_link, as: 'resolvedLink' property :utm_campaign, as: 'utmCampaign' + property :utm_content, as: 'utmContent' property :utm_medium, as: 'utmMedium' property :utm_source, as: 'utmSource' + property :utm_term, as: 'utmTerm' end end diff --git a/generated/google/apis/jobs_v3.rb b/generated/google/apis/jobs_v3.rb index e9c3d1f52..69835cf8e 100644 --- a/generated/google/apis/jobs_v3.rb +++ b/generated/google/apis/jobs_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3 VERSION = 'V3' - REVISION = '20190406' + REVISION = '20190423' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb index de9189e2d..fd8156c58 100644 --- a/generated/google/apis/jobs_v3p1beta1.rb +++ b/generated/google/apis/jobs_v3p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3p1beta1 VERSION = 'V3p1beta1' - REVISION = '20190406' + REVISION = '20190423' # 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/sourcerepo_v1.rb b/generated/google/apis/sourcerepo_v1.rb index 5a73915e7..84364b0f8 100644 --- a/generated/google/apis/sourcerepo_v1.rb +++ b/generated/google/apis/sourcerepo_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/source-repositories/docs/apis module SourcerepoV1 VERSION = 'V1' - REVISION = '20190411' + REVISION = '20190419' # 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/sourcerepo_v1/classes.rb b/generated/google/apis/sourcerepo_v1/classes.rb index 8bf3a741f..6e435e2c6 100644 --- a/generated/google/apis/sourcerepo_v1/classes.rb +++ b/generated/google/apis/sourcerepo_v1/classes.rb @@ -316,6 +316,103 @@ module Google end end + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # If the value is `false`, it means the operation is still in progress. + # If `true`, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` that can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + # Corresponds to the JSON property `error` + # @return [Google::Apis::SourcerepoV1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the + # `name` should have the format of `operations/some/unique/name`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is + # `google.protobuf.Empty`. If the original method is standard + # `Get`/`Create`/`Update`, the response should be the resource. For other + # methods, the response should have the type `XxxResponse`, where `Xxx` + # is the original method name. For example, if the original method name + # is `TakeSnapshot()`, the inferred response type is + # `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + # Defines an Identity and Access Management (IAM) policy. It is used to # specify access control policies for Cloud Platform resources. # A `Policy` consists of a list of `bindings`. A `binding` binds a list of @@ -583,6 +680,91 @@ module Google end end + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). The error model is designed to be: + # - Simple to use and understand for most users + # - Flexible enough to meet unexpected needs + # # Overview + # The `Status` message contains three pieces of data: error code, error + # message, and error details. The error code should be an enum value of + # google.rpc.Code, but it may accept additional error codes if needed. The + # error message should be a developer-facing English message that helps + # developers *understand* and *resolve* the error. If a localized user-facing + # error message is needed, put the localized message in the error details or + # localize it in the client. The optional error details may contain arbitrary + # information about the error. There is a predefined set of error detail types + # in the package `google.rpc` that can be used for common error conditions. + # # Language mapping + # The `Status` message is the logical representation of the error model, but it + # is not necessarily the actual wire format. When the `Status` message is + # exposed in different client libraries and different wire protocols, it can be + # mapped differently. For example, it will likely be mapped to some exceptions + # in Java, but more likely mapped to some error codes in C. + # # Other uses + # The error model and the `Status` message can be used in a variety of + # environments, either with or without APIs, to provide a + # consistent developer experience across different environments. + # Example uses of this error model include: + # - Partial errors. If a service needs to return partial errors to the client, + # it may embed the `Status` in the normal response to indicate the partial + # errors. + # - Workflow errors. A typical workflow has multiple steps. Each step may + # have a `Status` message for error reporting. + # - Batch operations. If a client uses batch request and batch response, the + # `Status` message should be used directly inside batch response, one for + # each error sub-response. + # - Asynchronous operations. If an API call embeds asynchronous operation + # results in its response, the status of those operations should be + # represented directly using the `Status` message. + # - Logging. If some API errors are stored in logs, the message `Status` could + # be used directly after any stripping needed for security/privacy reasons. + class Status + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + + # Request for SyncRepo. + class SyncRepoRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request message for `TestIamPermissions` method. class TestIamPermissionsRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/sourcerepo_v1/representations.rb b/generated/google/apis/sourcerepo_v1/representations.rb index b496462a4..c740fd47f 100644 --- a/generated/google/apis/sourcerepo_v1/representations.rb +++ b/generated/google/apis/sourcerepo_v1/representations.rb @@ -64,6 +64,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Policy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -94,6 +100,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SyncRepoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TestIamPermissionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -179,6 +197,18 @@ module Google end end + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::SourcerepoV1::Status, decorator: Google::Apis::SourcerepoV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -232,6 +262,21 @@ module Google end end + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class SyncRepoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class TestIamPermissionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/sourcerepo_v1/service.rb b/generated/google/apis/sourcerepo_v1/service.rb index 583a0cb91..2aeaa131d 100644 --- a/generated/google/apis/sourcerepo_v1/service.rb +++ b/generated/google/apis/sourcerepo_v1/service.rb @@ -353,6 +353,41 @@ module Google execute_or_queue_command(command, &block) end + # Synchronize a connected repo. + # The response contains SyncRepoMetadata in the metadata field. + # @param [String] name + # The name of the repo to synchronize. Values are of the form + # `projects//repos/`. + # @param [Google::Apis::SourcerepoV1::SyncRepoRequest] sync_repo_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::SourcerepoV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SourcerepoV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def sync_repo(name, sync_repo_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:sync', options) + command.request_representation = Google::Apis::SourcerepoV1::SyncRepoRequest::Representation + command.request_object = sync_repo_request_object + command.response_representation = Google::Apis::SourcerepoV1::Operation::Representation + command.response_class = Google::Apis::SourcerepoV1::Operation + 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 + # Returns permissions that a caller has on the specified resource. # If the resource does not exist, this will return an empty set of # permissions, not a NOT_FOUND error. diff --git a/generated/google/apis/tpu_v1.rb b/generated/google/apis/tpu_v1.rb index 7d161642c..6645df565 100644 --- a/generated/google/apis/tpu_v1.rb +++ b/generated/google/apis/tpu_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1 VERSION = 'V1' - REVISION = '20190408' + REVISION = '20190422' # 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/tpu_v1/classes.rb b/generated/google/apis/tpu_v1/classes.rb index 6be6568e0..aeaaf60bf 100644 --- a/generated/google/apis/tpu_v1/classes.rb +++ b/generated/google/apis/tpu_v1/classes.rb @@ -591,6 +591,12 @@ module Google attr_accessor :preemptible alias_method :preemptible?, :preemptible + # Whether the node is created under a reservation. + # Corresponds to the JSON property `reserved` + # @return [Boolean] + attr_accessor :reserved + alias_method :reserved?, :reserved + def initialize(**args) update!(**args) end @@ -598,6 +604,7 @@ module Google # Update properties of this object def update!(**args) @preemptible = args[:preemptible] if args.key?(:preemptible) + @reserved = args[:reserved] if args.key?(:reserved) end end diff --git a/generated/google/apis/tpu_v1/representations.rb b/generated/google/apis/tpu_v1/representations.rb index a7a15b970..6ed417379 100644 --- a/generated/google/apis/tpu_v1/representations.rb +++ b/generated/google/apis/tpu_v1/representations.rb @@ -269,6 +269,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :preemptible, as: 'preemptible' + property :reserved, as: 'reserved' end end diff --git a/generated/google/apis/tpu_v1alpha1.rb b/generated/google/apis/tpu_v1alpha1.rb index ceacee475..60db140a3 100644 --- a/generated/google/apis/tpu_v1alpha1.rb +++ b/generated/google/apis/tpu_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1alpha1 VERSION = 'V1alpha1' - REVISION = '20190408' + REVISION = '20190422' # 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/tpu_v1alpha1/classes.rb b/generated/google/apis/tpu_v1alpha1/classes.rb index 37cab03f9..06f9238ab 100644 --- a/generated/google/apis/tpu_v1alpha1/classes.rb +++ b/generated/google/apis/tpu_v1alpha1/classes.rb @@ -591,6 +591,12 @@ module Google attr_accessor :preemptible alias_method :preemptible?, :preemptible + # Whether the node is created under a reservation. + # Corresponds to the JSON property `reserved` + # @return [Boolean] + attr_accessor :reserved + alias_method :reserved?, :reserved + def initialize(**args) update!(**args) end @@ -598,6 +604,7 @@ module Google # Update properties of this object def update!(**args) @preemptible = args[:preemptible] if args.key?(:preemptible) + @reserved = args[:reserved] if args.key?(:reserved) end end diff --git a/generated/google/apis/tpu_v1alpha1/representations.rb b/generated/google/apis/tpu_v1alpha1/representations.rb index f86991d4c..514268ce7 100644 --- a/generated/google/apis/tpu_v1alpha1/representations.rb +++ b/generated/google/apis/tpu_v1alpha1/representations.rb @@ -269,6 +269,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :preemptible, as: 'preemptible' + property :reserved, as: 'reserved' end end diff --git a/generated/google/apis/vault_v1.rb b/generated/google/apis/vault_v1.rb index 76df721c3..1f33ccd46 100644 --- a/generated/google/apis/vault_v1.rb +++ b/generated/google/apis/vault_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/vault module VaultV1 VERSION = 'V1' - REVISION = '20190320' + REVISION = '20190411' # Manage your eDiscovery data AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery' diff --git a/generated/google/apis/vault_v1/classes.rb b/generated/google/apis/vault_v1/classes.rb index 232f35066..3d01b6e2e 100644 --- a/generated/google/apis/vault_v1/classes.rb +++ b/generated/google/apis/vault_v1/classes.rb @@ -324,9 +324,9 @@ module Google include Google::Apis::Core::Hashable # Set to true to include access level information for users - # with - # indirect access - # to files. + # with indirect + # access to files. # Corresponds to the JSON property `includeAccessInfo` # @return [Boolean] attr_accessor :include_access_info @@ -1069,8 +1069,8 @@ module Google class MatterPermission include Google::Apis::Core::Hashable - # The account id, as provided by Admin SDK. + # The account id, as provided by Admin SDK. # Corresponds to the JSON property `accountId` # @return [String] attr_accessor :account_id @@ -1179,8 +1179,8 @@ module Google attr_accessor :team_drive_info # The corpus-specific - # search operators - # used to generate search results. + # search + # operators used to generate search results. # Corresponds to the JSON property `terms` # @return [String] attr_accessor :terms