Autogenerated update (2019-01-16)
Update: - alertcenter_v1beta1 - analytics_v3 - androidmanagement_v1 - cloudsearch_v1 - cloudtasks_v2beta3 - dialogflow_v2 - dialogflow_v2beta1 - firebasehosting_v1beta1 - iam_v1 - iap_v1 - iap_v1beta1 - jobs_v2 - script_v1 - servicenetworking_v1beta - speech_v1 - speech_v1p1beta1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1
This commit is contained in:
parent
e550a4a19c
commit
277528a576
|
@ -73205,6 +73205,9 @@
|
|||
"/iam:v1/ListServiceAccountsResponse/accounts": accounts
|
||||
"/iam:v1/ListServiceAccountsResponse/accounts/account": account
|
||||
"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token
|
||||
"/iam:v1/PatchServiceAccountRequest": patch_service_account_request
|
||||
"/iam:v1/PatchServiceAccountRequest/serviceAccount": service_account
|
||||
"/iam:v1/PatchServiceAccountRequest/updateMask": update_mask
|
||||
"/iam:v1/Permission": permission
|
||||
"/iam:v1/Permission/apiDisabled": api_disabled
|
||||
"/iam:v1/Permission/customRolesSupportLevel": custom_roles_support_level
|
||||
|
@ -73353,6 +73356,8 @@
|
|||
"/iam:v1/iam.projects.serviceAccounts.list/name": name
|
||||
"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size
|
||||
"/iam:v1/iam.projects.serviceAccounts.list/pageToken": page_token
|
||||
"/iam:v1/iam.projects.serviceAccounts.patch": patch_service_account
|
||||
"/iam:v1/iam.projects.serviceAccounts.patch/name": name
|
||||
"/iam:v1/iam.projects.serviceAccounts.setIamPolicy": set_service_account_iam_policy
|
||||
"/iam:v1/iam.projects.serviceAccounts.setIamPolicy/resource": resource
|
||||
"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob
|
||||
|
@ -73449,6 +73454,8 @@
|
|||
"/iap:v1/TestIamPermissionsResponse/permissions": permissions
|
||||
"/iap:v1/TestIamPermissionsResponse/permissions/permission": permission
|
||||
"/iap:v1/fields": fields
|
||||
"/iap:v1/iap.getIamPolicy": get_iam_policy
|
||||
"/iap:v1/iap.getIamPolicy/resource": resource
|
||||
"/iap:v1/iap.projects.iap_tunnel.getIamPolicy": get_iap_tunnel_iam_policy
|
||||
"/iap:v1/iap.projects.iap_tunnel.getIamPolicy/resource": resource
|
||||
"/iap:v1/iap.projects.iap_tunnel.setIamPolicy": set_iap_tunnel_iam_policy
|
||||
|
@ -73485,6 +73492,10 @@
|
|||
"/iap:v1/iap.projects.iap_web.setIamPolicy/resource": resource
|
||||
"/iap:v1/iap.projects.iap_web.testIamPermissions": test_iap_web_iam_permissions
|
||||
"/iap:v1/iap.projects.iap_web.testIamPermissions/resource": resource
|
||||
"/iap:v1/iap.setIamPolicy": set_iam_policy
|
||||
"/iap:v1/iap.setIamPolicy/resource": resource
|
||||
"/iap:v1/iap.testIamPermissions": test_iam_permissions
|
||||
"/iap:v1/iap.testIamPermissions/resource": resource
|
||||
"/iap:v1/key": key
|
||||
"/iap:v1/quotaUser": quota_user
|
||||
"/iap:v1beta1/AuditConfig": audit_config
|
||||
|
@ -73523,6 +73534,8 @@
|
|||
"/iap:v1beta1/TestIamPermissionsResponse/permissions": permissions
|
||||
"/iap:v1beta1/TestIamPermissionsResponse/permissions/permission": permission
|
||||
"/iap:v1beta1/fields": fields
|
||||
"/iap:v1beta1/iap.getIamPolicy": get_iam_policy
|
||||
"/iap:v1beta1/iap.getIamPolicy/resource": resource
|
||||
"/iap:v1beta1/iap.projects.iap_tunnel.getIamPolicy": get_iap_tunnel_iam_policy
|
||||
"/iap:v1beta1/iap.projects.iap_tunnel.getIamPolicy/resource": resource
|
||||
"/iap:v1beta1/iap.projects.iap_tunnel.setIamPolicy": set_iap_tunnel_iam_policy
|
||||
|
@ -73559,6 +73572,10 @@
|
|||
"/iap:v1beta1/iap.projects.iap_web.setIamPolicy/resource": resource
|
||||
"/iap:v1beta1/iap.projects.iap_web.testIamPermissions": test_iap_web_iam_permissions
|
||||
"/iap:v1beta1/iap.projects.iap_web.testIamPermissions/resource": resource
|
||||
"/iap:v1beta1/iap.setIamPolicy": set_iam_policy
|
||||
"/iap:v1beta1/iap.setIamPolicy/resource": resource
|
||||
"/iap:v1beta1/iap.testIamPermissions": test_iam_permissions
|
||||
"/iap:v1beta1/iap.testIamPermissions/resource": resource
|
||||
"/iap:v1beta1/key": key
|
||||
"/iap:v1beta1/quotaUser": quota_user
|
||||
"/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response
|
||||
|
@ -86809,6 +86826,11 @@
|
|||
"/servicenetworking:v1beta/Field/options/option": option
|
||||
"/servicenetworking:v1beta/Field/packed": packed
|
||||
"/servicenetworking:v1beta/Field/typeUrl": type_url
|
||||
"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork": google_cloud_servicenetworking_v1beta_subnetwork
|
||||
"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork/ipCidrRange": ip_cidr_range
|
||||
"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork/name": name
|
||||
"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork/network": network
|
||||
"/servicenetworking:v1beta/GoogleCloudServicenetworkingV1betaSubnetwork/outsideAllocation": outside_allocation
|
||||
"/servicenetworking:v1beta/Http": http
|
||||
"/servicenetworking:v1beta/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion
|
||||
"/servicenetworking:v1beta/Http/rules": rules
|
||||
|
@ -86930,6 +86952,9 @@
|
|||
"/servicenetworking:v1beta/QuotaLimit/unit": unit
|
||||
"/servicenetworking:v1beta/QuotaLimit/values": values
|
||||
"/servicenetworking:v1beta/QuotaLimit/values/value": value
|
||||
"/servicenetworking:v1beta/Range": range
|
||||
"/servicenetworking:v1beta/Range/ipCidrRange": ip_cidr_range
|
||||
"/servicenetworking:v1beta/Range/network": network
|
||||
"/servicenetworking:v1beta/SearchRangeRequest": search_range_request
|
||||
"/servicenetworking:v1beta/SearchRangeRequest/ipPrefixLength": ip_prefix_length
|
||||
"/servicenetworking:v1beta/SearchRangeRequest/network": network
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/alertcenter/
|
||||
module AlertcenterV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181215'
|
||||
REVISION = '20190110'
|
||||
|
||||
# See and delete your domain's G Suite alerts, and send alert feedback
|
||||
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
||||
|
|
|
@ -131,8 +131,8 @@ module Google
|
|||
# Optional. A query string for filtering alert results.
|
||||
# For more details, see [Query
|
||||
# filters](/admin-sdk/alertcenter/guides/query-filters) and [Supported
|
||||
# query filter fields](/admin-sdk/alertcenter/reference/filter-fields#alerts.
|
||||
# list).
|
||||
# query filter
|
||||
# fields](/admin-sdk/alertcenter/reference/filter-fields#alerts.list).
|
||||
# @param [String] order_by
|
||||
# Optional. The sort order of the list results.
|
||||
# If not specified results may be returned in arbitrary order.
|
||||
|
@ -267,8 +267,8 @@ module Google
|
|||
# Optional. A query string for filtering alert feedback results.
|
||||
# For more details, see [Query
|
||||
# filters](/admin-sdk/alertcenter/guides/query-filters) and [Supported
|
||||
# query filter fields](/admin-sdk/alertcenter/reference/filter-fields#alerts.
|
||||
# feedback.list).
|
||||
# query filter
|
||||
# fields](/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/analytics/
|
||||
module AnalyticsV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180622'
|
||||
REVISION = '20180730'
|
||||
|
||||
# View and manage your Google Analytics data
|
||||
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
||||
|
|
|
@ -349,11 +349,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :account_name
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `accountSettings`
|
||||
# @return [Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings]
|
||||
attr_accessor :account_settings
|
||||
|
||||
# Resource type for account ticket.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
|
@ -386,54 +381,12 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_name = args[:account_name] if args.key?(:account_name)
|
||||
@account_settings = args[:account_settings] if args.key?(:account_settings)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
||||
@timezone = args[:timezone] if args.key?(:timezone)
|
||||
@webproperty_name = args[:webproperty_name] if args.key?(:webproperty_name)
|
||||
@website_url = args[:website_url] if args.key?(:website_url)
|
||||
end
|
||||
|
||||
#
|
||||
class AccountSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareAnonymouslyWithOthers`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_anonymously_with_others
|
||||
alias_method :share_anonymously_with_others?, :share_anonymously_with_others
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareWithGoogleProducts`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_with_google_products
|
||||
alias_method :share_with_google_products?, :share_with_google_products
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareWithSpecialists`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_with_specialists
|
||||
alias_method :share_with_specialists?, :share_with_specialists
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareWithSupport`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_with_support
|
||||
alias_method :share_with_support?, :share_with_support
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@share_anonymously_with_others = args[:share_anonymously_with_others] if args.key?(:share_anonymously_with_others)
|
||||
@share_with_google_products = args[:share_with_google_products] if args.key?(:share_with_google_products)
|
||||
@share_with_specialists = args[:share_with_specialists] if args.key?(:share_with_specialists)
|
||||
@share_with_support = args[:share_with_support] if args.key?(:share_with_support)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# JSON template for an Analytics account tree response. The account tree
|
||||
|
@ -447,11 +400,6 @@ module Google
|
|||
# @return [Google::Apis::AnalyticsV3::Account]
|
||||
attr_accessor :account
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `accountSettings`
|
||||
# @return [Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings]
|
||||
attr_accessor :account_settings
|
||||
|
||||
# Resource type for account ticket.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
|
@ -474,52 +422,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account = args[:account] if args.key?(:account)
|
||||
@account_settings = args[:account_settings] if args.key?(:account_settings)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@profile = args[:profile] if args.key?(:profile)
|
||||
@webproperty = args[:webproperty] if args.key?(:webproperty)
|
||||
end
|
||||
|
||||
#
|
||||
class AccountSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareAnonymouslyWithOthers`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_anonymously_with_others
|
||||
alias_method :share_anonymously_with_others?, :share_anonymously_with_others
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareWithGoogleProducts`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_with_google_products
|
||||
alias_method :share_with_google_products?, :share_with_google_products
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareWithSpecialists`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_with_specialists
|
||||
alias_method :share_with_specialists?, :share_with_specialists
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `shareWithSupport`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_with_support
|
||||
alias_method :share_with_support?, :share_with_support
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@share_anonymously_with_others = args[:share_anonymously_with_others] if args.key?(:share_anonymously_with_others)
|
||||
@share_with_google_products = args[:share_with_google_products] if args.key?(:share_with_google_products)
|
||||
@share_with_specialists = args[:share_with_specialists] if args.key?(:share_with_specialists)
|
||||
@share_with_support = args[:share_with_support] if args.key?(:share_with_support)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# An account collection provides a list of Analytics accounts to which a user
|
||||
|
@ -591,23 +497,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# JSON template for an AdWords account.
|
||||
# JSON template for an Google Ads account.
|
||||
class AdWordsAccount
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# True if auto-tagging is enabled on the AdWords account. Read-only after the
|
||||
# True if auto-tagging is enabled on the Google Ads account. Read-only after the
|
||||
# insert operation.
|
||||
# Corresponds to the JSON property `autoTaggingEnabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_tagging_enabled
|
||||
alias_method :auto_tagging_enabled?, :auto_tagging_enabled
|
||||
|
||||
# Customer ID. This field is required when creating an AdWords link.
|
||||
# Customer ID. This field is required when creating a Google Ads link.
|
||||
# Corresponds to the JSON property `customerId`
|
||||
# @return [String]
|
||||
attr_accessor :customer_id
|
||||
|
||||
# Resource type for AdWords account.
|
||||
# Resource type for Google Ads account.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -1331,12 +1237,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# JSON template for Analytics Entity AdWords Link.
|
||||
# JSON template for Analytics Entity Google Ads Link.
|
||||
class EntityAdWordsLink
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of AdWords client accounts. These cannot be MCC accounts. This field is
|
||||
# required when creating an AdWords link. It cannot be empty.
|
||||
# A list of Google Ads client accounts. These cannot be MCC accounts. This field
|
||||
# is required when creating a Google Ads link. It cannot be empty.
|
||||
# Corresponds to the JSON property `adWordsAccounts`
|
||||
# @return [Array<Google::Apis::AnalyticsV3::AdWordsAccount>]
|
||||
attr_accessor :ad_words_accounts
|
||||
|
@ -1346,17 +1252,17 @@ module Google
|
|||
# @return [Google::Apis::AnalyticsV3::EntityAdWordsLink::Entity]
|
||||
attr_accessor :entity
|
||||
|
||||
# Entity AdWords link ID
|
||||
# Entity Google Ads link ID
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Resource type for entity AdWords link.
|
||||
# Resource type for entity Google Ads link.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Name of the link. This field is required when creating an AdWords link.
|
||||
# Name of the link. This field is required when creating a Google Ads link.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -1366,7 +1272,7 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :profile_ids
|
||||
|
||||
# URL link for this Google Analytics - Google AdWords link.
|
||||
# URL link for this Google Analytics - Google Ads link.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
@ -1406,12 +1312,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An entity AdWords link collection provides a list of GA-AdWords links Each
|
||||
# resource in this collection corresponds to a single link.
|
||||
# An entity Google Ads link collection provides a list of GA-Google Ads links
|
||||
# Each resource in this collection corresponds to a single link.
|
||||
class EntityAdWordsLinks
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of entity AdWords links.
|
||||
# A list of entity Google Ads links.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::AnalyticsV3::EntityAdWordsLink>]
|
||||
attr_accessor :items
|
||||
|
@ -1429,12 +1335,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Next link for this AdWords link collection.
|
||||
# Next link for this Google Ads link collection.
|
||||
# Corresponds to the JSON property `nextLink`
|
||||
# @return [String]
|
||||
attr_accessor :next_link
|
||||
|
||||
# Previous link for this AdWords link collection.
|
||||
# Previous link for this Google Ads link collection.
|
||||
# Corresponds to the JSON property `previousLink`
|
||||
# @return [String]
|
||||
attr_accessor :previous_link
|
||||
|
@ -3530,8 +3436,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The foreign account ID. For example the an AdWords `linkedAccountId` has the
|
||||
# following format XXX-XXX-XXXX.
|
||||
# The foreign account ID. For example the an Google Ads `linkedAccountId` has
|
||||
# the following format XXX-XXX-XXXX.
|
||||
# Corresponds to the JSON property `linkedAccountId`
|
||||
# @return [String]
|
||||
attr_accessor :linked_account_id
|
||||
|
|
|
@ -66,24 +66,12 @@ module Google
|
|||
|
||||
class AccountTreeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class AccountSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AccountTreeResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class AccountSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
@ -766,24 +754,12 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_name, as: 'accountName'
|
||||
property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :profile_name, as: 'profileName'
|
||||
property :timezone, as: 'timezone'
|
||||
property :webproperty_name, as: 'webpropertyName'
|
||||
property :website_url, as: 'websiteUrl'
|
||||
end
|
||||
|
||||
class AccountSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :share_anonymously_with_others, as: 'shareAnonymouslyWithOthers'
|
||||
property :share_with_google_products, as: 'shareWithGoogleProducts'
|
||||
property :share_with_specialists, as: 'shareWithSpecialists'
|
||||
property :share_with_support, as: 'shareWithSupport'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class AccountTreeResponse
|
||||
|
@ -791,24 +767,12 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account, as: 'account', class: Google::Apis::AnalyticsV3::Account, decorator: Google::Apis::AnalyticsV3::Account::Representation
|
||||
|
||||
property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :profile, as: 'profile', class: Google::Apis::AnalyticsV3::Profile, decorator: Google::Apis::AnalyticsV3::Profile::Representation
|
||||
|
||||
property :webproperty, as: 'webproperty', class: Google::Apis::AnalyticsV3::Webproperty, decorator: Google::Apis::AnalyticsV3::Webproperty::Representation
|
||||
|
||||
end
|
||||
|
||||
class AccountSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :share_anonymously_with_others, as: 'shareAnonymouslyWithOthers'
|
||||
property :share_with_google_products, as: 'shareWithGoogleProducts'
|
||||
property :share_with_specialists, as: 'shareWithSpecialists'
|
||||
property :share_with_support, as: 'shareWithSupport'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class Accounts
|
||||
|
|
|
@ -3007,13 +3007,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a web property-AdWords link.
|
||||
# Deletes a web property-Google Ads link.
|
||||
# @param [String] account_id
|
||||
# ID of the account which the given web property belongs to.
|
||||
# @param [String] web_property_id
|
||||
# Web property ID to delete the AdWords link for.
|
||||
# Web property ID to delete the Google Ads link for.
|
||||
# @param [String] web_property_ad_words_link_id
|
||||
# Web property AdWords link ID.
|
||||
# Web property Google Ads link ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3044,13 +3044,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns a web property-AdWords link to which the user has access.
|
||||
# Returns a web property-Google Ads link to which the user has access.
|
||||
# @param [String] account_id
|
||||
# ID of the account which the given web property belongs to.
|
||||
# @param [String] web_property_id
|
||||
# Web property ID to retrieve the AdWords link for.
|
||||
# Web property ID to retrieve the Google Ads link for.
|
||||
# @param [String] web_property_ad_words_link_id
|
||||
# Web property-AdWords link ID.
|
||||
# Web property-Google Ads link ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3083,7 +3083,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a webProperty-AdWords link.
|
||||
# Creates a webProperty-Google Ads link.
|
||||
# @param [String] account_id
|
||||
# ID of the Google Analytics account to create the link for.
|
||||
# @param [String] web_property_id
|
||||
|
@ -3122,16 +3122,16 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists webProperty-AdWords links for a given web property.
|
||||
# Lists webProperty-Google Ads links for a given web property.
|
||||
# @param [String] account_id
|
||||
# ID of the account which the given web property belongs to.
|
||||
# @param [String] web_property_id
|
||||
# Web property ID to retrieve the AdWords links for.
|
||||
# Web property ID to retrieve the Google Ads links for.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of webProperty-AdWords links to include in this response.
|
||||
# The maximum number of webProperty-Google Ads links to include in this response.
|
||||
# @param [Fixnum] start_index
|
||||
# An index of the first webProperty-AdWords link to retrieve. Use this parameter
|
||||
# as a pagination mechanism along with the max-results parameter.
|
||||
# An index of the first webProperty-Google Ads link to retrieve. Use this
|
||||
# parameter as a pagination mechanism along with the max-results parameter.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3165,14 +3165,14 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an existing webProperty-AdWords link. This method supports patch
|
||||
# Updates an existing webProperty-Google Ads link. This method supports patch
|
||||
# semantics.
|
||||
# @param [String] account_id
|
||||
# ID of the account which the given web property belongs to.
|
||||
# @param [String] web_property_id
|
||||
# Web property ID to retrieve the AdWords link for.
|
||||
# Web property ID to retrieve the Google Ads link for.
|
||||
# @param [String] web_property_ad_words_link_id
|
||||
# Web property-AdWords link ID.
|
||||
# Web property-Google Ads link ID.
|
||||
# @param [Google::Apis::AnalyticsV3::EntityAdWordsLink] entity_ad_words_link_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -3208,13 +3208,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an existing webProperty-AdWords link.
|
||||
# Updates an existing webProperty-Google Ads link.
|
||||
# @param [String] account_id
|
||||
# ID of the account which the given web property belongs to.
|
||||
# @param [String] web_property_id
|
||||
# Web property ID to retrieve the AdWords link for.
|
||||
# Web property ID to retrieve the Google Ads link for.
|
||||
# @param [String] web_property_ad_words_link_id
|
||||
# Web property-AdWords link ID.
|
||||
# Web property-Google Ads link ID.
|
||||
# @param [Google::Apis::AnalyticsV3::EntityAdWordsLink] entity_ad_words_link_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/android/management
|
||||
module AndroidmanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181113'
|
||||
REVISION = '20190108'
|
||||
|
||||
# Manage Android devices and apps for your customers
|
||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://gsuite.google.com/products/cloud-search/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181203'
|
||||
REVISION = '20190108'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
|
|
@ -405,7 +405,7 @@ module Google
|
|||
class DateValues
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum number of elements is 100.
|
||||
#
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::Date>]
|
||||
attr_accessor :values
|
||||
|
@ -548,7 +548,7 @@ module Google
|
|||
class DoubleValues
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum number of elements is 100.
|
||||
#
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<Float>]
|
||||
attr_accessor :values
|
||||
|
@ -800,7 +800,6 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum allowable length for string values is 32 characters.
|
||||
# The maximum number of elements is 100.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
@ -1237,7 +1236,6 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum allowable length for html values is 2048 characters.
|
||||
# The maximum number of string elements is 100.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
@ -1400,7 +1398,7 @@ module Google
|
|||
class IntegerValues
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum number of elements is 100.
|
||||
#
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :values
|
||||
|
@ -2362,7 +2360,7 @@ module Google
|
|||
class ObjectValues
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum number of elements is 100.
|
||||
#
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::StructuredDataObject>]
|
||||
attr_accessor :values
|
||||
|
@ -4432,7 +4430,6 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum allowable length for text values is 2048 characters.
|
||||
# The maximum number of string elements is 100.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
@ -4528,7 +4525,7 @@ module Google
|
|||
class TimestampValues
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The maximum number of elements is 100.
|
||||
#
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta3
|
||||
VERSION = 'V2beta3'
|
||||
REVISION = '20181022'
|
||||
REVISION = '20190104'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190107'
|
||||
REVISION = '20190115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2047,6 +2047,7 @@ module Google
|
|||
attr_accessor :fulfillment_messages
|
||||
|
||||
# The text to be pronounced to the user or shown on the screen.
|
||||
# Note: This is a legacy field, `fulfillment_messages` should be preferred.
|
||||
# Corresponds to the JSON property `fulfillmentText`
|
||||
# @return [String]
|
||||
attr_accessor :fulfillment_text
|
||||
|
@ -3881,6 +3882,7 @@ module Google
|
|||
attr_accessor :fulfillment_messages
|
||||
|
||||
# The text to be pronounced to the user or shown on the screen.
|
||||
# Note: This is a legacy field, `fulfillment_messages` should be preferred.
|
||||
# Corresponds to the JSON property `fulfillmentText`
|
||||
# @return [String]
|
||||
attr_accessor :fulfillment_text
|
||||
|
|
|
@ -80,8 +80,7 @@ module Google
|
|||
end
|
||||
|
||||
# Exports the specified agent to a ZIP file.
|
||||
# Operation <response: ExportAgentResponse,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: ExportAgentResponse>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to export is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -119,8 +118,7 @@ module Google
|
|||
# Uploads new intents and entity types without deleting the existing ones.
|
||||
# Intents and entity types with the same name are replaced with the new
|
||||
# versions from ImportAgentRequest.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to import is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -157,8 +155,7 @@ module Google
|
|||
# Restores the specified agent from a ZIP file.
|
||||
# Replaces the current agent version with a new one. All the intents and
|
||||
# entity types in the older version are deleted.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to restore is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -237,8 +234,7 @@ module Google
|
|||
end
|
||||
|
||||
# Trains the specified agent.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to train is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -273,8 +269,7 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes entity types in the specified agent.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The name of the agent to delete all entities types for. Format:
|
||||
# `projects/<Project ID>/agent`.
|
||||
|
@ -309,8 +304,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates/Creates multiple entity types in the specified agent.
|
||||
# Operation <response: BatchUpdateEntityTypesResponse,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: BatchUpdateEntityTypesResponse>
|
||||
# @param [String] parent
|
||||
# Required. The name of the agent to update or create entity types in.
|
||||
# Format: `projects/<Project ID>/agent`.
|
||||
|
@ -581,8 +575,7 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes entities in the specified entity type.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The name of the entity type to delete entries for. Format:
|
||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
|
@ -619,8 +612,7 @@ module Google
|
|||
# Updates or creates multiple entities in the specified entity type. This
|
||||
# method does not affect entities in the entity type that aren't explicitly
|
||||
# specified in the request.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The name of the entity type to update or create entities in.
|
||||
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20190107'
|
||||
REVISION = '20190115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1260,6 +1260,7 @@ module Google
|
|||
attr_accessor :fulfillment_messages
|
||||
|
||||
# The text to be pronounced to the user or shown on the screen.
|
||||
# Note: This is a legacy field, `fulfillment_messages` should be preferred.
|
||||
# Corresponds to the JSON property `fulfillmentText`
|
||||
# @return [String]
|
||||
attr_accessor :fulfillment_text
|
||||
|
@ -1937,6 +1938,11 @@ module Google
|
|||
attr_accessor :alternative_query_results
|
||||
|
||||
# The audio data bytes encoded as specified in the request.
|
||||
# Note: The output audio is generated based on the values of default platform
|
||||
# text responses found in the `query_result.fulfillment_messages` field. If
|
||||
# multiple default text responses exist, they will be concatenated when
|
||||
# generating audio. If no default platform text responses exist, the
|
||||
# generated audio content will be empty.
|
||||
# Corresponds to the JSON property `outputAudio`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -3983,6 +3989,7 @@ module Google
|
|||
attr_accessor :fulfillment_messages
|
||||
|
||||
# The text to be pronounced to the user or shown on the screen.
|
||||
# Note: This is a legacy field, `fulfillment_messages` should be preferred.
|
||||
# Corresponds to the JSON property `fulfillmentText`
|
||||
# @return [String]
|
||||
attr_accessor :fulfillment_text
|
||||
|
|
|
@ -80,8 +80,7 @@ module Google
|
|||
end
|
||||
|
||||
# Exports the specified agent to a ZIP file.
|
||||
# Operation <response: ExportAgentResponse,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: ExportAgentResponse>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to export is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -119,8 +118,7 @@ module Google
|
|||
# Uploads new intents and entity types without deleting the existing ones.
|
||||
# Intents and entity types with the same name are replaced with the new
|
||||
# versions from ImportAgentRequest.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to import is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -157,8 +155,7 @@ module Google
|
|||
# Restores the specified agent from a ZIP file.
|
||||
# Replaces the current agent version with a new one. All the intents and
|
||||
# entity types in the older version are deleted.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to restore is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -237,8 +234,7 @@ module Google
|
|||
end
|
||||
|
||||
# Trains the specified agent.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The project that the agent to train is associated with.
|
||||
# Format: `projects/<Project ID>`.
|
||||
|
@ -273,8 +269,7 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes entity types in the specified agent.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The name of the agent to delete all entities types for. Format:
|
||||
# `projects/<Project ID>/agent`.
|
||||
|
@ -309,8 +304,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates/Creates multiple entity types in the specified agent.
|
||||
# Operation <response: BatchUpdateEntityTypesResponse,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: BatchUpdateEntityTypesResponse>
|
||||
# @param [String] parent
|
||||
# Required. The name of the agent to update or create entity types in.
|
||||
# Format: `projects/<Project ID>/agent`.
|
||||
|
@ -581,8 +575,7 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes entities in the specified entity type.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The name of the entity type to delete entries for. Format:
|
||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
|
@ -619,8 +612,7 @@ module Google
|
|||
# Updates or creates multiple entities in the specified entity type. This
|
||||
# method does not affect entities in the entity type that aren't explicitly
|
||||
# specified in the request.
|
||||
# Operation <response: google.protobuf.Empty,
|
||||
# metadata: google.protobuf.Struct>
|
||||
# Operation <response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Required. The name of the entity type to update or create entities in.
|
||||
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
|
|
|
@ -20,13 +20,14 @@ module Google
|
|||
module Apis
|
||||
# Firebase Hosting API
|
||||
#
|
||||
# The Firebase Hosting REST API enables programmatic custom deployment for
|
||||
# releasing versions of your Firebase hosted content and configuration files.
|
||||
# The Firebase Hosting REST API enables programmatic and customizable
|
||||
# deployments to your Firebase-hosted sites. Use this REST API to deploy new or
|
||||
# updated hosting configurations and content files.
|
||||
#
|
||||
# @see https://firebase.google.com/docs/hosting/
|
||||
module FirebasehostingV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181129'
|
||||
REVISION = '20190114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,8 +22,9 @@ module Google
|
|||
module FirebasehostingV1beta1
|
||||
# Firebase Hosting API
|
||||
#
|
||||
# The Firebase Hosting REST API enables programmatic custom deployment for
|
||||
# releasing versions of your Firebase hosted content and configuration files.
|
||||
# The Firebase Hosting REST API enables programmatic and customizable
|
||||
# deployments to your Firebase-hosted sites. Use this REST API to deploy new or
|
||||
# updated hosting configurations and content files.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/firebasehosting_v1beta1'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/iam/
|
||||
module IamV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181005'
|
||||
REVISION = '20190111'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -695,6 +695,43 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The patch service account request.
|
||||
class PatchServiceAccountRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A service account in the Identity and Access Management API.
|
||||
# To create a service account, specify the `project_id` and the `account_id`
|
||||
# for the account. The `account_id` is unique within the project, and is used
|
||||
# to generate the service account email address and a stable
|
||||
# `unique_id`.
|
||||
# If the account already exists, the account's resource name is returned
|
||||
# in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
|
||||
# can use the name in other methods to access the account.
|
||||
# All other methods can identify the service account using the format
|
||||
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
||||
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
||||
# the account. The `ACCOUNT` value can be the `email` address or the
|
||||
# `unique_id` of the service account.
|
||||
# Corresponds to the JSON property `serviceAccount`
|
||||
# @return [Google::Apis::IamV1::ServiceAccount]
|
||||
attr_accessor :service_account
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
||||
end
|
||||
end
|
||||
|
||||
# A permission which can be included by a role.
|
||||
class Permission
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -124,6 +124,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PatchServiceAccountRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Permission
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -400,6 +406,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PatchServiceAccountRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class Permission
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -792,6 +792,50 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches a ServiceAccount.
|
||||
# Currently, only the following fields are updatable:
|
||||
# `display_name` and `description`.
|
||||
# Only fields specified in the request are garaunteed to be returned in
|
||||
# the response. Other fields in the response may be empty.
|
||||
# Note: The field mask is required.
|
||||
# @param [String] name
|
||||
# The resource name of the service account in the following format:
|
||||
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
||||
# Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
|
||||
# project from the `account` and the `ACCOUNT` value can be the `email`
|
||||
# address or the `unique_id` of the service account.
|
||||
# In responses the resource name will always be in the format
|
||||
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
||||
# @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IamV1::ServiceAccount]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation
|
||||
command.request_object = patch_service_account_request_object
|
||||
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
||||
command.response_class = Google::Apis::IamV1::ServiceAccount
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the IAM access control policy for a
|
||||
# ServiceAccount.
|
||||
# @param [String] resource
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/iap
|
||||
module IapV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181128'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -72,7 +72,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_iap_tunnel_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def get_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
|
@ -109,7 +109,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_iap_tunnel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
|
@ -146,562 +146,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def test_iap_tunnel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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_zone_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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 set_zone_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_zone_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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 set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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_iap_web_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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 set_iap_web_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_iap_web_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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 set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::GetIamPolicyRequest] get_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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_version_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::SetIamPolicyRequest] set_iam_policy_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::IapV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::Policy]
|
||||
#
|
||||
# @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 set_version_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_version_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def test_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/iap
|
||||
module IapV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181128'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -72,7 +72,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_iap_tunnel_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def get_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
|
@ -109,7 +109,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_iap_tunnel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
|
@ -148,572 +148,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def test_iap_tunnel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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_zone_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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 set_zone_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource. If the resource does not exist or the caller does not have
|
||||
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
||||
# will be returned.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_zone_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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 set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource. If the resource does not exist or the caller does not have
|
||||
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
||||
# will be returned.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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_iap_web_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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 set_iap_web_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource. If the resource does not exist or the caller does not have
|
||||
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
||||
# will be returned.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_iap_web_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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_service_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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 set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource. If the resource does not exist or the caller does not have
|
||||
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
||||
# will be returned.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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 the access control policy for an Identity-Aware Proxy protected
|
||||
# resource.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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_version_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy for an Identity-Aware Proxy protected
|
||||
# resource. Replaces any existing policy.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_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::IapV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::Policy]
|
||||
#
|
||||
# @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 set_version_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::IapV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.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 Identity-Aware Proxy protected
|
||||
# resource. If the resource does not exist or the caller does not have
|
||||
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
||||
# will be returned.
|
||||
# More information about managing access via IAP can be found at:
|
||||
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_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::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_version_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def test_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181114'
|
||||
REVISION = '20190110'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -800,7 +800,7 @@ module Google
|
|||
# be specified.
|
||||
# This field is used to perform number range search.
|
||||
# (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. For
|
||||
# `long_value`, a value between Long.MIN and Long.MIN is allowed.
|
||||
# `long_value`, a value between Long.MIN and Long.MAX is allowed.
|
||||
# Corresponds to the JSON property `longValue`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :long_value
|
||||
|
|
|
@ -29,10 +29,10 @@ module Google
|
|||
# require 'google/apis/jobs_v2'
|
||||
#
|
||||
# Jobs = Google::Apis::JobsV2 # Alias the module
|
||||
# service = Jobs::JobServiceService.new
|
||||
# service = Jobs::CloudTalentSolutionService.new
|
||||
#
|
||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
class JobServiceService < Google::Apis::Core::BaseService
|
||||
class CloudTalentSolutionService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/apps-script/api/
|
||||
module ScriptV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181202'
|
||||
REVISION = '20190112'
|
||||
|
||||
# Read, compose, send, and permanently delete all your email from Gmail
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -263,7 +263,8 @@ module Google
|
|||
alias_method :dev_mode?, :dev_mode
|
||||
|
||||
# The name of the function to execute in the given script. The name does not
|
||||
# include parentheses or parameters.
|
||||
# include parentheses or parameters. It can reference a function in an
|
||||
# included library such as `Library.libFunction1`.
|
||||
# Corresponds to the JSON property `function`
|
||||
# @return [String]
|
||||
attr_accessor :function
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||
module ServicenetworkingV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20190109'
|
||||
REVISION = '20190114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1211,6 +1211,49 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a subnet that was created or discovered by a private access
|
||||
# management service.
|
||||
class GoogleCloudServicenetworkingV1betaSubnetwork
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Subnetwork CIDR range in `10.x.x.x/y` format.
|
||||
# Corresponds to the JSON property `ipCidrRange`
|
||||
# @return [String]
|
||||
attr_accessor :ip_cidr_range
|
||||
|
||||
# Subnetwork name.
|
||||
# See https://cloud.google.com/compute/docs/vpc/
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# In the Shared VPC host project, the VPC network that's peered with the
|
||||
# consumer network. For example:
|
||||
# `projects/1234321/global/networks/host-network`
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
# This is a discovered subnet that is not within the current consumer
|
||||
# allocated ranges.
|
||||
# Corresponds to the JSON property `outsideAllocation`
|
||||
# @return [Boolean]
|
||||
attr_accessor :outside_allocation
|
||||
alias_method :outside_allocation?, :outside_allocation
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation)
|
||||
end
|
||||
end
|
||||
|
||||
# Defines the HTTP configuration for an API service. It contains a list of
|
||||
# HttpRule, each specifying the mapping of an RPC method
|
||||
# to one or more HTTP REST API methods.
|
||||
|
@ -2637,6 +2680,34 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a found unused range.
|
||||
class Range
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# CIDR range in "10.x.x.x/y" format that is within the
|
||||
# allocated ranges and currently unused.
|
||||
# Corresponds to the JSON property `ipCidrRange`
|
||||
# @return [String]
|
||||
attr_accessor :ip_cidr_range
|
||||
|
||||
# In the Shared VPC host project, the VPC network that's peered with the
|
||||
# consumer network. For example:
|
||||
# `projects/1234321/global/networks/host-network`
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
end
|
||||
end
|
||||
|
||||
# Request to search for an unused range within allocated ranges.
|
||||
class SearchRangeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -172,6 +172,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudServicenetworkingV1betaSubnetwork
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Http
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -298,6 +304,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Range
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchRangeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -629,6 +641,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudServicenetworkingV1betaSubnetwork
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_cidr_range, as: 'ipCidrRange'
|
||||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
property :outside_allocation, as: 'outsideAllocation'
|
||||
end
|
||||
end
|
||||
|
||||
class Http
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -851,6 +873,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Range
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_cidr_range, as: 'ipCidrRange'
|
||||
property :network, as: 'network'
|
||||
end
|
||||
end
|
||||
|
||||
class SearchRangeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190111'
|
||||
REVISION = '20190114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -286,6 +286,17 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# This needs to be set to `true` explicitly and `audio_channel_count` > 1
|
||||
# to get each channel recognized separately. The recognition result will
|
||||
# contain a `channel_tag` field to state which channel that result belongs
|
||||
# to. If this is not true, we will only recognize the first channel. The
|
||||
# request is billed cumulatively for all channels recognized:
|
||||
# `audio_channel_count` multiplied by the length of the audio.
|
||||
# Corresponds to the JSON property `enableSeparateRecognitionPerChannel`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_separate_recognition_per_channel
|
||||
alias_method :enable_separate_recognition_per_channel?, :enable_separate_recognition_per_channel
|
||||
|
||||
# *Optional* If `true`, the top result includes a list of words and
|
||||
# the start and end time offsets (timestamps) for those words. If
|
||||
# `false`, no word-level time offset information is returned. The default is
|
||||
|
@ -409,6 +420,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
|
||||
@enable_separate_recognition_per_channel = args[:enable_separate_recognition_per_channel] if args.key?(:enable_separate_recognition_per_channel)
|
||||
@enable_word_time_offsets = args[:enable_word_time_offsets] if args.key?(:enable_word_time_offsets)
|
||||
@encoding = args[:encoding] if args.key?(:encoding)
|
||||
@language_code = args[:language_code] if args.key?(:language_code)
|
||||
|
@ -548,6 +560,13 @@ module Google
|
|||
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionAlternative>]
|
||||
attr_accessor :alternatives
|
||||
|
||||
# For multi-channel audio, this is the channel number corresponding to the
|
||||
# recognized result for the audio from that channel.
|
||||
# For audio_channel_count = N, its output values can range from '1' to 'N'.
|
||||
# Corresponds to the JSON property `channelTag`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :channel_tag
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -555,6 +574,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
||||
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -166,6 +166,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
|
||||
property :enable_separate_recognition_per_channel, as: 'enableSeparateRecognitionPerChannel'
|
||||
property :enable_word_time_offsets, as: 'enableWordTimeOffsets'
|
||||
property :encoding, as: 'encoding'
|
||||
property :language_code, as: 'languageCode'
|
||||
|
@ -219,6 +220,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1::SpeechRecognitionAlternative::Representation
|
||||
|
||||
property :channel_tag, as: 'channelTag'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -126,6 +126,117 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::SpeechV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1::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 get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
||||
command.response_class = Google::Apis::SpeechV1::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
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the
|
||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
# NOTE: the `name` binding allows API services to override the binding
|
||||
# to use different resource name schemes, such as `users/*/operations`. To
|
||||
# override the binding, API services can add a binding such as
|
||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
||||
# For backwards compatibility, the default name includes the operations
|
||||
# collection id, however overriding users must ensure the name binding
|
||||
# is the parent resource, without the operations collection id.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::SpeechV1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1::ListOperationsResponse]
|
||||
#
|
||||
# @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_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
||||
command.response_representation = Google::Apis::SpeechV1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::SpeechV1::ListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.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 the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::SpeechV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1::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 get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
||||
command.response_class = Google::Apis::SpeechV1::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
|
||||
|
||||
# Performs asynchronous speech recognition: receive results via the
|
||||
# google.longrunning.Operations interface. Returns either an
|
||||
# `Operation.error` or an `Operation.response` which contains
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190111'
|
||||
REVISION = '20190114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -336,7 +336,7 @@ module Google
|
|||
attr_accessor :enable_automatic_punctuation
|
||||
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
||||
|
||||
# This needs to be set to ‘true’ explicitly and `audio_channel_count` > 1
|
||||
# This needs to be set to `true` explicitly and `audio_channel_count` > 1
|
||||
# to get each channel recognized separately. The recognition result will
|
||||
# contain a `channel_tag` field to state which channel that result belongs
|
||||
# to. If this is not true, we will only recognize the first channel. The
|
||||
|
|
|
@ -126,6 +126,117 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::SpeechV1p1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1p1beta1::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 get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::SpeechV1p1beta1::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
|
||||
|
||||
# Lists operations that match the specified filter in the request. If the
|
||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
||||
# NOTE: the `name` binding allows API services to override the binding
|
||||
# to use different resource name schemes, such as `users/*/operations`. To
|
||||
# override the binding, API services can add a binding such as
|
||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
||||
# For backwards compatibility, the default name includes the operations
|
||||
# collection id, however overriding users must ensure the name binding
|
||||
# is the parent resource, without the operations collection id.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::SpeechV1p1beta1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1p1beta1::ListOperationsResponse]
|
||||
#
|
||||
# @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_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1p1beta1/{+name}/operations', options)
|
||||
command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.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 the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::SpeechV1p1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1p1beta1::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 get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::SpeechV1p1beta1::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
|
||||
|
||||
# Performs asynchronous speech recognition: receive results via the
|
||||
# google.longrunning.Operations interface. Returns either an
|
||||
# `Operation.error` or an `Operation.response` which contains
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181130'
|
||||
REVISION = '20190111'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -7732,7 +7732,8 @@ module Google
|
|||
|
||||
# Output only. The time at which this ProductSet was last indexed. Query
|
||||
# results will reflect all updates before this time. If this ProductSet has
|
||||
# never been indexed, this field is 0.
|
||||
# never been indexed, this timestamp is the default value
|
||||
# "1970-01-01T00:00:00Z".
|
||||
# This field is ignored when creating a ProductSet.
|
||||
# Corresponds to the JSON property `indexTime`
|
||||
# @return [String]
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20181112'
|
||||
REVISION = '20190111'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20181112'
|
||||
REVISION = '20190111'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
Loading…
Reference in New Issue