Autogenerated update (2019-04-26)
Update: - cloudsearch_v1 - firebasedynamiclinks_v1 - jobs_v3 - jobs_v3p1beta1 - sourcerepo_v1 - tpu_v1 - tpu_v1alpha1 - vault_v1
This commit is contained in:
parent
50a63b45e3
commit
d2d592ceb6
|
@ -75730,8 +75730,10 @@
|
||||||
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/requestedLink": requested_link
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/requestedLink": requested_link
|
||||||
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/resolvedLink": resolved_link
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/resolvedLink": resolved_link
|
||||||
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmCampaign": utm_campaign
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmCampaign": utm_campaign
|
||||||
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmContent": utm_content
|
||||||
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmMedium": utm_medium
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmMedium": utm_medium
|
||||||
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmSource": utm_source
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmSource": utm_source
|
||||||
|
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmTerm": utm_term
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest": get_ios_reopen_attribution_request
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest": get_ios_reopen_attribution_request
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/bundleId": bundle_id
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/bundleId": bundle_id
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/requestedLink": requested_link
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionRequest/requestedLink": requested_link
|
||||||
|
@ -75742,8 +75744,10 @@
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/iosMinAppVersion": ios_min_app_version
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/iosMinAppVersion": ios_min_app_version
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/resolvedLink": resolved_link
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/resolvedLink": resolved_link
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmCampaign": utm_campaign
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmCampaign": utm_campaign
|
||||||
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmContent": utm_content
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmMedium": utm_medium
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmMedium": utm_medium
|
||||||
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmSource": utm_source
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmSource": utm_source
|
||||||
|
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmTerm": utm_term
|
||||||
"/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics
|
"/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics
|
||||||
"/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid
|
"/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid
|
||||||
"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign
|
"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign
|
||||||
|
@ -100199,6 +100203,14 @@
|
||||||
"/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id
|
"/sourcerepo:v1/MirrorConfig/deployKeyId": deploy_key_id
|
||||||
"/sourcerepo:v1/MirrorConfig/url": url
|
"/sourcerepo:v1/MirrorConfig/url": url
|
||||||
"/sourcerepo:v1/MirrorConfig/webhookId": webhook_id
|
"/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": policy
|
||||||
"/sourcerepo:v1/Policy/auditConfigs": audit_configs
|
"/sourcerepo:v1/Policy/auditConfigs": audit_configs
|
||||||
"/sourcerepo:v1/Policy/auditConfigs/audit_config": audit_config
|
"/sourcerepo:v1/Policy/auditConfigs/audit_config": audit_config
|
||||||
|
@ -100241,6 +100253,13 @@
|
||||||
"/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request
|
"/sourcerepo:v1/SetIamPolicyRequest": set_iam_policy_request
|
||||||
"/sourcerepo:v1/SetIamPolicyRequest/policy": policy
|
"/sourcerepo:v1/SetIamPolicyRequest/policy": policy
|
||||||
"/sourcerepo:v1/SetIamPolicyRequest/updateMask": update_mask
|
"/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": test_iam_permissions_request
|
||||||
"/sourcerepo:v1/TestIamPermissionsRequest/permissions": permissions
|
"/sourcerepo:v1/TestIamPermissionsRequest/permissions": permissions
|
||||||
"/sourcerepo:v1/TestIamPermissionsRequest/permissions/permission": permission
|
"/sourcerepo:v1/TestIamPermissionsRequest/permissions/permission": permission
|
||||||
|
@ -100274,6 +100293,8 @@
|
||||||
"/sourcerepo:v1/sourcerepo.projects.repos.patch/name": name
|
"/sourcerepo:v1/sourcerepo.projects.repos.patch/name": name
|
||||||
"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy": set_repo_iam_policy
|
"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy": set_repo_iam_policy
|
||||||
"/sourcerepo:v1/sourcerepo.projects.repos.setIamPolicy/resource": resource
|
"/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": test_repo_iam_permissions
|
||||||
"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource
|
"/sourcerepo:v1/sourcerepo.projects.repos.testIamPermissions/resource": resource
|
||||||
"/sourcerepo:v1/sourcerepo.projects.updateConfig": update_project_config
|
"/sourcerepo:v1/sourcerepo.projects.updateConfig": update_project_config
|
||||||
|
@ -106022,6 +106043,7 @@
|
||||||
"/tpu:v1/ResetNodeRequest": reset_node_request
|
"/tpu:v1/ResetNodeRequest": reset_node_request
|
||||||
"/tpu:v1/SchedulingConfig": scheduling_config
|
"/tpu:v1/SchedulingConfig": scheduling_config
|
||||||
"/tpu:v1/SchedulingConfig/preemptible": preemptible
|
"/tpu:v1/SchedulingConfig/preemptible": preemptible
|
||||||
|
"/tpu:v1/SchedulingConfig/reserved": reserved
|
||||||
"/tpu:v1/StartNodeRequest": start_node_request
|
"/tpu:v1/StartNodeRequest": start_node_request
|
||||||
"/tpu:v1/Status": status
|
"/tpu:v1/Status": status
|
||||||
"/tpu:v1/Status/code": code
|
"/tpu:v1/Status/code": code
|
||||||
|
@ -106166,6 +106188,7 @@
|
||||||
"/tpu:v1alpha1/ResetNodeRequest": reset_node_request
|
"/tpu:v1alpha1/ResetNodeRequest": reset_node_request
|
||||||
"/tpu:v1alpha1/SchedulingConfig": scheduling_config
|
"/tpu:v1alpha1/SchedulingConfig": scheduling_config
|
||||||
"/tpu:v1alpha1/SchedulingConfig/preemptible": preemptible
|
"/tpu:v1alpha1/SchedulingConfig/preemptible": preemptible
|
||||||
|
"/tpu:v1alpha1/SchedulingConfig/reserved": reserved
|
||||||
"/tpu:v1alpha1/StartNodeRequest": start_node_request
|
"/tpu:v1alpha1/StartNodeRequest": start_node_request
|
||||||
"/tpu:v1alpha1/Status": status
|
"/tpu:v1alpha1/Status": status
|
||||||
"/tpu:v1alpha1/Status/code": code
|
"/tpu:v1alpha1/Status/code": code
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://gsuite.google.com/products/cloud-search/
|
# @see https://gsuite.google.com/products/cloud-search/
|
||||||
module CloudsearchV1
|
module CloudsearchV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190406'
|
REVISION = '20190418'
|
||||||
|
|
||||||
# Index and serve your organization's data with Cloud Search
|
# Index and serve your organization's data with Cloud Search
|
||||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||||
|
|
|
@ -2256,7 +2256,8 @@ module Google
|
||||||
class Metaline
|
class Metaline
|
||||||
include Google::Apis::Core::Hashable
|
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`
|
# Corresponds to the JSON property `properties`
|
||||||
# @return [Array<Google::Apis::CloudsearchV1::DisplayedProperty>]
|
# @return [Array<Google::Apis::CloudsearchV1::DisplayedProperty>]
|
||||||
attr_accessor :properties
|
attr_accessor :properties
|
||||||
|
@ -2421,7 +2422,7 @@ module Google
|
||||||
# to specify singular properties before repeated properties in this list. All
|
# to specify singular properties before repeated properties in this list. All
|
||||||
# of the properties must set
|
# of the properties must set
|
||||||
# is_returnable
|
# 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`
|
# Corresponds to the JSON property `metalines`
|
||||||
# @return [Array<Google::Apis::CloudsearchV1::Metaline>]
|
# @return [Array<Google::Apis::CloudsearchV1::Metaline>]
|
||||||
attr_accessor :metalines
|
attr_accessor :metalines
|
||||||
|
@ -4041,7 +4042,7 @@ module Google
|
||||||
attr_accessor :title
|
attr_accessor :title
|
||||||
|
|
||||||
# The URL of the search result. The URL contains a Google redirect to the
|
# 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`
|
# Corresponds to the JSON property `url`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :url
|
attr_accessor :url
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://firebase.google.com/docs/dynamic-links/
|
# @see https://firebase.google.com/docs/dynamic-links/
|
||||||
module FirebasedynamiclinksV1
|
module FirebasedynamiclinksV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190409'
|
REVISION = '20190425'
|
||||||
|
|
||||||
# View and administer all your Firebase data and settings
|
# View and administer all your Firebase data and settings
|
||||||
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
||||||
|
|
|
@ -634,6 +634,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :utm_campaign
|
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.
|
# Scion medium value to be propagated by iSDK to Scion at post-install.
|
||||||
# Corresponds to the JSON property `utmMedium`
|
# Corresponds to the JSON property `utmMedium`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -644,6 +649,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :utm_source
|
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)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -662,8 +672,10 @@ module Google
|
||||||
@requested_link = args[:requested_link] if args.key?(:requested_link)
|
@requested_link = args[:requested_link] if args.key?(:requested_link)
|
||||||
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
|
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
|
||||||
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
|
@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_medium = args[:utm_medium] if args.key?(:utm_medium)
|
||||||
@utm_source = args[:utm_source] if args.key?(:utm_source)
|
@utm_source = args[:utm_source] if args.key?(:utm_source)
|
||||||
|
@utm_term = args[:utm_term] if args.key?(:utm_term)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -739,6 +751,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :utm_campaign
|
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.
|
# Scion medium value to be propagated by iSDK to Scion at app-reopen.
|
||||||
# Corresponds to the JSON property `utmMedium`
|
# Corresponds to the JSON property `utmMedium`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -749,6 +766,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :utm_source
|
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)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -760,8 +782,10 @@ module Google
|
||||||
@ios_min_app_version = args[:ios_min_app_version] if args.key?(:ios_min_app_version)
|
@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)
|
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
|
||||||
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
|
@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_medium = args[:utm_medium] if args.key?(:utm_medium)
|
||||||
@utm_source = args[:utm_source] if args.key?(:utm_source)
|
@utm_source = args[:utm_source] if args.key?(:utm_source)
|
||||||
|
@utm_term = args[:utm_term] if args.key?(:utm_term)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -323,8 +323,10 @@ module Google
|
||||||
property :requested_link, as: 'requestedLink'
|
property :requested_link, as: 'requestedLink'
|
||||||
property :resolved_link, as: 'resolvedLink'
|
property :resolved_link, as: 'resolvedLink'
|
||||||
property :utm_campaign, as: 'utmCampaign'
|
property :utm_campaign, as: 'utmCampaign'
|
||||||
|
property :utm_content, as: 'utmContent'
|
||||||
property :utm_medium, as: 'utmMedium'
|
property :utm_medium, as: 'utmMedium'
|
||||||
property :utm_source, as: 'utmSource'
|
property :utm_source, as: 'utmSource'
|
||||||
|
property :utm_term, as: 'utmTerm'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -345,8 +347,10 @@ module Google
|
||||||
property :ios_min_app_version, as: 'iosMinAppVersion'
|
property :ios_min_app_version, as: 'iosMinAppVersion'
|
||||||
property :resolved_link, as: 'resolvedLink'
|
property :resolved_link, as: 'resolvedLink'
|
||||||
property :utm_campaign, as: 'utmCampaign'
|
property :utm_campaign, as: 'utmCampaign'
|
||||||
|
property :utm_content, as: 'utmContent'
|
||||||
property :utm_medium, as: 'utmMedium'
|
property :utm_medium, as: 'utmMedium'
|
||||||
property :utm_source, as: 'utmSource'
|
property :utm_source, as: 'utmSource'
|
||||||
|
property :utm_term, as: 'utmTerm'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||||
module JobsV3
|
module JobsV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20190406'
|
REVISION = '20190423'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||||
module JobsV3p1beta1
|
module JobsV3p1beta1
|
||||||
VERSION = 'V3p1beta1'
|
VERSION = 'V3p1beta1'
|
||||||
REVISION = '20190406'
|
REVISION = '20190423'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/source-repositories/docs/apis
|
# @see https://cloud.google.com/source-repositories/docs/apis
|
||||||
module SourcerepoV1
|
module SourcerepoV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190411'
|
REVISION = '20190419'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -316,6 +316,103 @@ module Google
|
||||||
end
|
end
|
||||||
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<String,Object>]
|
||||||
|
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<String,Object>]
|
||||||
|
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
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||||
# specify access control policies for Cloud Platform resources.
|
# specify access control policies for Cloud Platform resources.
|
||||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||||
|
@ -583,6 +680,91 @@ module Google
|
||||||
end
|
end
|
||||||
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<Hash<String,Object>>]
|
||||||
|
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.
|
# Request message for `TestIamPermissions` method.
|
||||||
class TestIamPermissionsRequest
|
class TestIamPermissionsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -64,6 +64,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Operation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Policy
|
class Policy
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -94,6 +100,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
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 TestIamPermissionsRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -179,6 +197,18 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
class Policy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -232,6 +262,21 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
class TestIamPermissionsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -353,6 +353,41 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
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/<project>/repos/<repo>`.
|
||||||
|
# @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.
|
# Returns permissions that a caller has on the specified resource.
|
||||||
# If the resource does not exist, this will return an empty set of
|
# If the resource does not exist, this will return an empty set of
|
||||||
# permissions, not a NOT_FOUND error.
|
# permissions, not a NOT_FOUND error.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tpu/
|
# @see https://cloud.google.com/tpu/
|
||||||
module TpuV1
|
module TpuV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190408'
|
REVISION = '20190422'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -591,6 +591,12 @@ module Google
|
||||||
attr_accessor :preemptible
|
attr_accessor :preemptible
|
||||||
alias_method :preemptible?, :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)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -598,6 +604,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
||||||
|
@reserved = args[:reserved] if args.key?(:reserved)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -269,6 +269,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :preemptible, as: 'preemptible'
|
property :preemptible, as: 'preemptible'
|
||||||
|
property :reserved, as: 'reserved'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tpu/
|
# @see https://cloud.google.com/tpu/
|
||||||
module TpuV1alpha1
|
module TpuV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20190408'
|
REVISION = '20190422'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -591,6 +591,12 @@ module Google
|
||||||
attr_accessor :preemptible
|
attr_accessor :preemptible
|
||||||
alias_method :preemptible?, :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)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -598,6 +604,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
||||||
|
@reserved = args[:reserved] if args.key?(:reserved)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -269,6 +269,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :preemptible, as: 'preemptible'
|
property :preemptible, as: 'preemptible'
|
||||||
|
property :reserved, as: 'reserved'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/vault
|
# @see https://developers.google.com/vault
|
||||||
module VaultV1
|
module VaultV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190320'
|
REVISION = '20190411'
|
||||||
|
|
||||||
# Manage your eDiscovery data
|
# Manage your eDiscovery data
|
||||||
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'
|
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'
|
||||||
|
|
|
@ -324,9 +324,9 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Set to true to include access level information for users
|
# Set to true to include access level information for users
|
||||||
# with <a href="https://support.google.com/vault/answer/6099459#metadata">
|
# with <a
|
||||||
# indirect access</a>
|
# href="https://support.google.com/vault/answer/6099459#metadata">indirect
|
||||||
# to files.
|
# access</a> to files.
|
||||||
# Corresponds to the JSON property `includeAccessInfo`
|
# Corresponds to the JSON property `includeAccessInfo`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :include_access_info
|
attr_accessor :include_access_info
|
||||||
|
@ -1069,8 +1069,8 @@ module Google
|
||||||
class MatterPermission
|
class MatterPermission
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The account id, as provided by <a href="https://developers.google.com/admin-
|
# The account id, as provided by <a
|
||||||
# sdk/">Admin SDK</a>.
|
# href="https://developers.google.com/admin-sdk/">Admin SDK</a>.
|
||||||
# Corresponds to the JSON property `accountId`
|
# Corresponds to the JSON property `accountId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :account_id
|
attr_accessor :account_id
|
||||||
|
@ -1179,8 +1179,8 @@ module Google
|
||||||
attr_accessor :team_drive_info
|
attr_accessor :team_drive_info
|
||||||
|
|
||||||
# The corpus-specific
|
# The corpus-specific
|
||||||
# <a href="https://support.google.com/vault/answer/2474474">search operators</a>
|
# <a href="https://support.google.com/vault/answer/2474474">search
|
||||||
# used to generate search results.
|
# operators</a> used to generate search results.
|
||||||
# Corresponds to the JSON property `terms`
|
# Corresponds to the JSON property `terms`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :terms
|
attr_accessor :terms
|
||||||
|
|
Loading…
Reference in New Issue