Autogenerated update (2018-03-15)
Update: - cloudbuild_v1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - content_v2 - dlp_v2beta1 - dlp_v2beta2 - storage_v1
This commit is contained in:
parent
a7cc3540f5
commit
4f3bb22a92
|
@ -31175,6 +31175,15 @@
|
|||
"/content:v2/Errors/errors": errors
|
||||
"/content:v2/Errors/errors/error": error
|
||||
"/content:v2/Errors/message": message
|
||||
"/content:v2/GmbAccounts": gmb_accounts
|
||||
"/content:v2/GmbAccounts/accountId": account_id
|
||||
"/content:v2/GmbAccounts/gmbAccounts": gmb_accounts
|
||||
"/content:v2/GmbAccounts/gmbAccounts/gmb_account": gmb_account
|
||||
"/content:v2/GmbAccountsGmbAccount": gmb_accounts_gmb_account
|
||||
"/content:v2/GmbAccountsGmbAccount/email": email
|
||||
"/content:v2/GmbAccountsGmbAccount/listingCount": listing_count
|
||||
"/content:v2/GmbAccountsGmbAccount/name": name
|
||||
"/content:v2/GmbAccountsGmbAccount/type": type
|
||||
"/content:v2/Headers": headers
|
||||
"/content:v2/Headers/locations": locations
|
||||
"/content:v2/Headers/locations/location": location
|
||||
|
@ -31245,6 +31254,68 @@
|
|||
"/content:v2/InventorySetRequest/sellOnGoogleQuantity": sell_on_google_quantity
|
||||
"/content:v2/InventorySetResponse": set_inventory_response
|
||||
"/content:v2/InventorySetResponse/kind": kind
|
||||
"/content:v2/LiaAboutPageSettings": lia_about_page_settings
|
||||
"/content:v2/LiaAboutPageSettings/status": status
|
||||
"/content:v2/LiaAboutPageSettings/url": url
|
||||
"/content:v2/LiaCountrySettings": lia_country_settings
|
||||
"/content:v2/LiaCountrySettings/about": about
|
||||
"/content:v2/LiaCountrySettings/country": country
|
||||
"/content:v2/LiaCountrySettings/hostedLocalStorefrontActive": hosted_local_storefront_active
|
||||
"/content:v2/LiaCountrySettings/inventory": inventory
|
||||
"/content:v2/LiaCountrySettings/onDisplayToOrder": on_display_to_order
|
||||
"/content:v2/LiaCountrySettings/storePickupActive": store_pickup_active
|
||||
"/content:v2/LiaInventorySettings": lia_inventory_settings
|
||||
"/content:v2/LiaInventorySettings/inventoryVerificationContactEmail": inventory_verification_contact_email
|
||||
"/content:v2/LiaInventorySettings/inventoryVerificationContactName": inventory_verification_contact_name
|
||||
"/content:v2/LiaInventorySettings/inventoryVerificationContactStatus": inventory_verification_contact_status
|
||||
"/content:v2/LiaInventorySettings/status": status
|
||||
"/content:v2/LiaOnDisplayToOrderSettings": lia_on_display_to_order_settings
|
||||
"/content:v2/LiaOnDisplayToOrderSettings/shippingCostPolicyUrl": shipping_cost_policy_url
|
||||
"/content:v2/LiaOnDisplayToOrderSettings/status": status
|
||||
"/content:v2/LiaSettings": lia_settings
|
||||
"/content:v2/LiaSettings/accountId": account_id
|
||||
"/content:v2/LiaSettings/countrySettings": country_settings
|
||||
"/content:v2/LiaSettings/countrySettings/country_setting": country_setting
|
||||
"/content:v2/LiaSettings/kind": kind
|
||||
"/content:v2/LiasettingsCustomBatchRequest": liasettings_custom_batch_request
|
||||
"/content:v2/LiasettingsCustomBatchRequest/entries": entries
|
||||
"/content:v2/LiasettingsCustomBatchRequest/entries/entry": entry
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry": liasettings_custom_batch_request_entry
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/accountId": account_id
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/batchId": batch_id
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/contactEmail": contact_email
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/contactName": contact_name
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/country": country
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/gmbEmail": gmb_email
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/liaSettings": lia_settings
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/merchantId": merchant_id
|
||||
"/content:v2/LiasettingsCustomBatchRequestEntry/method": method_prop
|
||||
"/content:v2/LiasettingsCustomBatchResponse": liasettings_custom_batch_response
|
||||
"/content:v2/LiasettingsCustomBatchResponse/entries": entries
|
||||
"/content:v2/LiasettingsCustomBatchResponse/entries/entry": entry
|
||||
"/content:v2/LiasettingsCustomBatchResponse/kind": kind
|
||||
"/content:v2/LiasettingsCustomBatchResponseEntry": liasettings_custom_batch_response_entry
|
||||
"/content:v2/LiasettingsCustomBatchResponseEntry/batchId": batch_id
|
||||
"/content:v2/LiasettingsCustomBatchResponseEntry/errors": errors
|
||||
"/content:v2/LiasettingsCustomBatchResponseEntry/gmbAccounts": gmb_accounts
|
||||
"/content:v2/LiasettingsCustomBatchResponseEntry/kind": kind
|
||||
"/content:v2/LiasettingsCustomBatchResponseEntry/liaSettings": lia_settings
|
||||
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse": liasettings_get_accessible_gmb_accounts_response
|
||||
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/accountId": account_id
|
||||
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts": gmb_accounts
|
||||
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts/gmb_account": gmb_account
|
||||
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/kind": kind
|
||||
"/content:v2/LiasettingsListResponse": liasettings_list_response
|
||||
"/content:v2/LiasettingsListResponse/kind": kind
|
||||
"/content:v2/LiasettingsListResponse/nextPageToken": next_page_token
|
||||
"/content:v2/LiasettingsListResponse/resources": resources
|
||||
"/content:v2/LiasettingsListResponse/resources/resource": resource
|
||||
"/content:v2/LiasettingsRequestGmbAccessResponse": liasettings_request_gmb_access_response
|
||||
"/content:v2/LiasettingsRequestGmbAccessResponse/kind": kind
|
||||
"/content:v2/LiasettingsRequestInventoryVerificationResponse": liasettings_request_inventory_verification_response
|
||||
"/content:v2/LiasettingsRequestInventoryVerificationResponse/kind": kind
|
||||
"/content:v2/LiasettingsSetInventoryVerificationContactResponse": liasettings_set_inventory_verification_contact_response
|
||||
"/content:v2/LiasettingsSetInventoryVerificationContactResponse/kind": kind
|
||||
"/content:v2/LocationIdSet": location_id_set
|
||||
"/content:v2/LocationIdSet/locationIds": location_ids
|
||||
"/content:v2/LocationIdSet/locationIds/location_id": location_id
|
||||
|
@ -32186,6 +32257,41 @@
|
|||
"/content:v2/content.inventory.set/merchantId": merchant_id
|
||||
"/content:v2/content.inventory.set/productId": product_id
|
||||
"/content:v2/content.inventory.set/storeCode": store_code
|
||||
"/content:v2/content.liasettings.custombatch": custombatch_liasetting
|
||||
"/content:v2/content.liasettings.custombatch/dryRun": dry_run
|
||||
"/content:v2/content.liasettings.get": get_liasetting
|
||||
"/content:v2/content.liasettings.get/accountId": account_id
|
||||
"/content:v2/content.liasettings.get/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.getaccessiblegmbaccounts": getaccessiblegmbaccounts_liasetting
|
||||
"/content:v2/content.liasettings.getaccessiblegmbaccounts/accountId": account_id
|
||||
"/content:v2/content.liasettings.getaccessiblegmbaccounts/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.list": list_liasettings
|
||||
"/content:v2/content.liasettings.list/maxResults": max_results
|
||||
"/content:v2/content.liasettings.list/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.list/pageToken": page_token
|
||||
"/content:v2/content.liasettings.patch": patch_liasetting
|
||||
"/content:v2/content.liasettings.patch/accountId": account_id
|
||||
"/content:v2/content.liasettings.patch/dryRun": dry_run
|
||||
"/content:v2/content.liasettings.patch/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.requestgmbaccess": requestgmbaccess_liasetting
|
||||
"/content:v2/content.liasettings.requestgmbaccess/accountId": account_id
|
||||
"/content:v2/content.liasettings.requestgmbaccess/gmbEmail": gmb_email
|
||||
"/content:v2/content.liasettings.requestgmbaccess/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.requestinventoryverification": requestinventoryverification_liasetting
|
||||
"/content:v2/content.liasettings.requestinventoryverification/accountId": account_id
|
||||
"/content:v2/content.liasettings.requestinventoryverification/country": country
|
||||
"/content:v2/content.liasettings.requestinventoryverification/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact": setinventoryverificationcontact_liasetting
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact/accountId": account_id
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact/contactEmail": contact_email
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact/contactName": contact_name
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact/country": country
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact/language": language
|
||||
"/content:v2/content.liasettings.setinventoryverificationcontact/merchantId": merchant_id
|
||||
"/content:v2/content.liasettings.update": update_liasetting
|
||||
"/content:v2/content.liasettings.update/accountId": account_id
|
||||
"/content:v2/content.liasettings.update/dryRun": dry_run
|
||||
"/content:v2/content.liasettings.update/merchantId": merchant_id
|
||||
"/content:v2/content.orders.acknowledge": acknowledge_order
|
||||
"/content:v2/content.orders.acknowledge/merchantId": merchant_id
|
||||
"/content:v2/content.orders.acknowledge/orderId": order_id
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-builder/docs/
|
||||
module CloudbuildV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180301'
|
||||
REVISION = '20180314'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -397,8 +397,8 @@ module Google
|
|||
# The ID(s) of the step(s) that this build step depends on.
|
||||
# This build step will not start until all the build steps in `wait_for`
|
||||
# have completed successfully. If `wait_for` is empty, this build step will
|
||||
# start when all previous build steps in the `Build.Steps` list have completed
|
||||
# successfully.
|
||||
# start when all previous build steps in the `Build.Steps` list have
|
||||
# completed successfully.
|
||||
# Corresponds to the JSON property `waitFor`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :wait_for
|
||||
|
|
|
@ -205,9 +205,9 @@ module Google
|
|||
end
|
||||
|
||||
# Starts a build with the specified configuration.
|
||||
# This method returns a long-running `Operation`, which includes the build ID.
|
||||
# Pass the build ID to `GetBuild` to determine the build status
|
||||
# (such as `SUCCESS` or `FAILURE`).
|
||||
# This method returns a long-running `Operation`, which includes the build
|
||||
# ID. Pass the build ID to `GetBuild` to determine the build status (such as
|
||||
# `SUCCESS` or `FAILURE`).
|
||||
# @param [String] project_id
|
||||
# ID of the project.
|
||||
# @param [Google::Apis::CloudbuildV1::Build] build_object
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180305'
|
||||
REVISION = '20180312'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -44,7 +44,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-cloudresourcemanager.googleapis.com/', '')
|
||||
super('https://cloudresourcemanager.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180305'
|
||||
REVISION = '20180312'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -44,7 +44,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-cloudresourcemanager.googleapis.com/', '')
|
||||
super('https://cloudresourcemanager.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180308'
|
||||
REVISION = '20180312'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -44,7 +44,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-cloudresourcemanager.googleapis.com/', '')
|
||||
super('https://cloudresourcemanager.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180305'
|
||||
REVISION = '20180312'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -44,7 +44,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-cloudresourcemanager.googleapis.com/', '')
|
||||
super('https://cloudresourcemanager.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180305'
|
||||
REVISION = '20180314'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -1960,6 +1960,68 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GmbAccounts
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the account.
|
||||
# Corresponds to the JSON property `accountId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :account_id
|
||||
|
||||
# A list of GMB account which are available to the merchant.
|
||||
# Corresponds to the JSON property `gmbAccounts`
|
||||
# @return [Array<Google::Apis::ContentV2::GmbAccountsGmbAccount>]
|
||||
attr_accessor :gmb_accounts
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_id = args[:account_id] if args.key?(:account_id)
|
||||
@gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GmbAccountsGmbAccount
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The email which identifies the GMB account.
|
||||
# Corresponds to the JSON property `email`
|
||||
# @return [String]
|
||||
attr_accessor :email
|
||||
|
||||
# Number of listings under this account.
|
||||
# Corresponds to the JSON property `listingCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :listing_count
|
||||
|
||||
# The name of the GMB account.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Type of the GMB account (User or Business).
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@email = args[:email] if args.key?(:email)
|
||||
@listing_count = args[:listing_count] if args.key?(:listing_count)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# A non-empty list of row or column headers for a table. Exactly one of prices,
|
||||
# weights, numItems, postalCodeGroupNames, or locations must be set.
|
||||
class Headers
|
||||
|
@ -2474,6 +2536,459 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiaAboutPageSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The status verification process.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
# The about URL.
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiaCountrySettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The about page settings.
|
||||
# Corresponds to the JSON property `about`
|
||||
# @return [Google::Apis::ContentV2::LiaAboutPageSettings]
|
||||
attr_accessor :about
|
||||
|
||||
# CLDR country code (e.g. "US").
|
||||
# Corresponds to the JSON property `country`
|
||||
# @return [String]
|
||||
attr_accessor :country
|
||||
|
||||
# The status of the "Merchant hosted local storefront" feature.
|
||||
# Corresponds to the JSON property `hostedLocalStorefrontActive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :hosted_local_storefront_active
|
||||
alias_method :hosted_local_storefront_active?, :hosted_local_storefront_active
|
||||
|
||||
# LIA inventory settings.
|
||||
# Corresponds to the JSON property `inventory`
|
||||
# @return [Google::Apis::ContentV2::LiaInventorySettings]
|
||||
attr_accessor :inventory
|
||||
|
||||
# LIA "On Display To Order" settings.
|
||||
# Corresponds to the JSON property `onDisplayToOrder`
|
||||
# @return [Google::Apis::ContentV2::LiaOnDisplayToOrderSettings]
|
||||
attr_accessor :on_display_to_order
|
||||
|
||||
# The status of the "Store pickup" feature.
|
||||
# Corresponds to the JSON property `storePickupActive`
|
||||
# @return [Boolean]
|
||||
attr_accessor :store_pickup_active
|
||||
alias_method :store_pickup_active?, :store_pickup_active
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@about = args[:about] if args.key?(:about)
|
||||
@country = args[:country] if args.key?(:country)
|
||||
@hosted_local_storefront_active = args[:hosted_local_storefront_active] if args.key?(:hosted_local_storefront_active)
|
||||
@inventory = args[:inventory] if args.key?(:inventory)
|
||||
@on_display_to_order = args[:on_display_to_order] if args.key?(:on_display_to_order)
|
||||
@store_pickup_active = args[:store_pickup_active] if args.key?(:store_pickup_active)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiaInventorySettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The email of contact which will be contacted during the verification process.
|
||||
# Corresponds to the JSON property `inventoryVerificationContactEmail`
|
||||
# @return [String]
|
||||
attr_accessor :inventory_verification_contact_email
|
||||
|
||||
# The name of contact which will be contacted during the verification process.
|
||||
# Corresponds to the JSON property `inventoryVerificationContactName`
|
||||
# @return [String]
|
||||
attr_accessor :inventory_verification_contact_name
|
||||
|
||||
# The status of the verification contact.
|
||||
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
||||
# @return [String]
|
||||
attr_accessor :inventory_verification_contact_status
|
||||
|
||||
# The status of the inventory verification process.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@inventory_verification_contact_email = args[:inventory_verification_contact_email] if args.key?(:inventory_verification_contact_email)
|
||||
@inventory_verification_contact_name = args[:inventory_verification_contact_name] if args.key?(:inventory_verification_contact_name)
|
||||
@inventory_verification_contact_status = args[:inventory_verification_contact_status] if args.key?(:inventory_verification_contact_status)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiaOnDisplayToOrderSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Shipping cost and policy URL.
|
||||
# Corresponds to the JSON property `shippingCostPolicyUrl`
|
||||
# @return [String]
|
||||
attr_accessor :shipping_cost_policy_url
|
||||
|
||||
# The status of the ?On display to order? feature.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@shipping_cost_policy_url = args[:shipping_cost_policy_url] if args.key?(:shipping_cost_policy_url)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiaSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the account to which these LIA settings belong. Ignored upon update,
|
||||
# always present in get request responses.
|
||||
# Corresponds to the JSON property `accountId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :account_id
|
||||
|
||||
# The LIA settings for each country.
|
||||
# Corresponds to the JSON property `countrySettings`
|
||||
# @return [Array<Google::Apis::ContentV2::LiaCountrySettings>]
|
||||
attr_accessor :country_settings
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liaSettings".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_id = args[:account_id] if args.key?(:account_id)
|
||||
@country_settings = args[:country_settings] if args.key?(:country_settings)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsCustomBatchRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The request entries to be processed in the batch.
|
||||
# Corresponds to the JSON property `entries`
|
||||
# @return [Array<Google::Apis::ContentV2::LiasettingsCustomBatchRequestEntry>]
|
||||
attr_accessor :entries
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@entries = args[:entries] if args.key?(:entries)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsCustomBatchRequestEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the account for which to get/update account shipping settings.
|
||||
# Corresponds to the JSON property `accountId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :account_id
|
||||
|
||||
# An entry ID, unique within the batch request.
|
||||
# Corresponds to the JSON property `batchId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :batch_id
|
||||
|
||||
# Inventory validation contact email. Required only for
|
||||
# SetInventoryValidationContact.
|
||||
# Corresponds to the JSON property `contactEmail`
|
||||
# @return [String]
|
||||
attr_accessor :contact_email
|
||||
|
||||
# Inventory validation contact name. Required only for
|
||||
# SetInventoryValidationContact.
|
||||
# Corresponds to the JSON property `contactName`
|
||||
# @return [String]
|
||||
attr_accessor :contact_name
|
||||
|
||||
# The country code. Required only for RequestInventoryVerification.
|
||||
# Corresponds to the JSON property `country`
|
||||
# @return [String]
|
||||
attr_accessor :country
|
||||
|
||||
# The GMB account. Required only for RequestGmbAccess.
|
||||
# Corresponds to the JSON property `gmbEmail`
|
||||
# @return [String]
|
||||
attr_accessor :gmb_email
|
||||
|
||||
# The account Lia settings to update. Only defined if the method is update.
|
||||
# Corresponds to the JSON property `liaSettings`
|
||||
# @return [Google::Apis::ContentV2::LiaSettings]
|
||||
attr_accessor :lia_settings
|
||||
|
||||
# The ID of the managing account.
|
||||
# Corresponds to the JSON property `merchantId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :merchant_id
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `method`
|
||||
# @return [String]
|
||||
attr_accessor :method_prop
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_id = args[:account_id] if args.key?(:account_id)
|
||||
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
||||
@contact_email = args[:contact_email] if args.key?(:contact_email)
|
||||
@contact_name = args[:contact_name] if args.key?(:contact_name)
|
||||
@country = args[:country] if args.key?(:country)
|
||||
@gmb_email = args[:gmb_email] if args.key?(:gmb_email)
|
||||
@lia_settings = args[:lia_settings] if args.key?(:lia_settings)
|
||||
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
||||
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsCustomBatchResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The result of the execution of the batch requests.
|
||||
# Corresponds to the JSON property `entries`
|
||||
# @return [Array<Google::Apis::ContentV2::LiasettingsCustomBatchResponseEntry>]
|
||||
attr_accessor :entries
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsCustomBatchResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@entries = args[:entries] if args.key?(:entries)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsCustomBatchResponseEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the request entry to which this entry responds.
|
||||
# Corresponds to the JSON property `batchId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :batch_id
|
||||
|
||||
# A list of errors returned by a failed batch entry.
|
||||
# Corresponds to the JSON property `errors`
|
||||
# @return [Google::Apis::ContentV2::Errors]
|
||||
attr_accessor :errors
|
||||
|
||||
# The the list of accessible GMB accounts.
|
||||
# Corresponds to the JSON property `gmbAccounts`
|
||||
# @return [Google::Apis::ContentV2::GmbAccounts]
|
||||
attr_accessor :gmb_accounts
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsCustomBatchResponseEntry".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The retrieved or updated Lia settings.
|
||||
# Corresponds to the JSON property `liaSettings`
|
||||
# @return [Google::Apis::ContentV2::LiaSettings]
|
||||
attr_accessor :lia_settings
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
||||
@errors = args[:errors] if args.key?(:errors)
|
||||
@gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@lia_settings = args[:lia_settings] if args.key?(:lia_settings)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsGetAccessibleGmbAccountsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the account.
|
||||
# Corresponds to the JSON property `accountId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :account_id
|
||||
|
||||
# A list of GMB account which are available to the merchant.
|
||||
# Corresponds to the JSON property `gmbAccounts`
|
||||
# @return [Array<Google::Apis::ContentV2::GmbAccountsGmbAccount>]
|
||||
attr_accessor :gmb_accounts
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsGetAccessibleGmbAccountsResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_id = args[:account_id] if args.key?(:account_id)
|
||||
@gmb_accounts = args[:gmb_accounts] if args.key?(:gmb_accounts)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsListResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The token for the retrieval of the next page of Lia settings.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `resources`
|
||||
# @return [Array<Google::Apis::ContentV2::LiaSettings>]
|
||||
attr_accessor :resources
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@resources = args[:resources] if args.key?(:resources)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsRequestGmbAccessResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsRequestGmbAccessResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsRequestInventoryVerificationResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsRequestInventoryVerificationResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LiasettingsSetInventoryVerificationContactResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# liasettingsSetInventoryVerificationContactResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class LocationIdSet
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -328,6 +328,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmbAccounts
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmbAccountsGmbAccount
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Headers
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -400,6 +412,90 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiaAboutPageSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiaCountrySettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiaInventorySettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiaOnDisplayToOrderSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiaSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchRequestEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchResponseEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsGetAccessibleGmbAccountsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsRequestGmbAccessResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsRequestInventoryVerificationResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LiasettingsSetInventoryVerificationContactResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LocationIdSet
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1714,6 +1810,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GmbAccounts
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, :numeric_string => true, as: 'accountId'
|
||||
collection :gmb_accounts, as: 'gmbAccounts', class: Google::Apis::ContentV2::GmbAccountsGmbAccount, decorator: Google::Apis::ContentV2::GmbAccountsGmbAccount::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GmbAccountsGmbAccount
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :email, as: 'email'
|
||||
property :listing_count, :numeric_string => true, as: 'listingCount'
|
||||
property :name, as: 'name'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class Headers
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1855,6 +1970,145 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class LiaAboutPageSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :status, as: 'status'
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
class LiaCountrySettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :about, as: 'about', class: Google::Apis::ContentV2::LiaAboutPageSettings, decorator: Google::Apis::ContentV2::LiaAboutPageSettings::Representation
|
||||
|
||||
property :country, as: 'country'
|
||||
property :hosted_local_storefront_active, as: 'hostedLocalStorefrontActive'
|
||||
property :inventory, as: 'inventory', class: Google::Apis::ContentV2::LiaInventorySettings, decorator: Google::Apis::ContentV2::LiaInventorySettings::Representation
|
||||
|
||||
property :on_display_to_order, as: 'onDisplayToOrder', class: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings, decorator: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings::Representation
|
||||
|
||||
property :store_pickup_active, as: 'storePickupActive'
|
||||
end
|
||||
end
|
||||
|
||||
class LiaInventorySettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :inventory_verification_contact_email, as: 'inventoryVerificationContactEmail'
|
||||
property :inventory_verification_contact_name, as: 'inventoryVerificationContactName'
|
||||
property :inventory_verification_contact_status, as: 'inventoryVerificationContactStatus'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
|
||||
class LiaOnDisplayToOrderSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :shipping_cost_policy_url, as: 'shippingCostPolicyUrl'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
|
||||
class LiaSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, :numeric_string => true, as: 'accountId'
|
||||
collection :country_settings, as: 'countrySettings', class: Google::Apis::ContentV2::LiaCountrySettings, decorator: Google::Apis::ContentV2::LiaCountrySettings::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :entries, as: 'entries', class: Google::Apis::ContentV2::LiasettingsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::LiasettingsCustomBatchRequestEntry::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchRequestEntry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, :numeric_string => true, as: 'accountId'
|
||||
property :batch_id, as: 'batchId'
|
||||
property :contact_email, as: 'contactEmail'
|
||||
property :contact_name, as: 'contactName'
|
||||
property :country, as: 'country'
|
||||
property :gmb_email, as: 'gmbEmail'
|
||||
property :lia_settings, as: 'liaSettings', class: Google::Apis::ContentV2::LiaSettings, decorator: Google::Apis::ContentV2::LiaSettings::Representation
|
||||
|
||||
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
||||
property :method_prop, as: 'method'
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :entries, as: 'entries', class: Google::Apis::ContentV2::LiasettingsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::LiasettingsCustomBatchResponseEntry::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsCustomBatchResponseEntry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :batch_id, as: 'batchId'
|
||||
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
||||
|
||||
property :gmb_accounts, as: 'gmbAccounts', class: Google::Apis::ContentV2::GmbAccounts, decorator: Google::Apis::ContentV2::GmbAccounts::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :lia_settings, as: 'liaSettings', class: Google::Apis::ContentV2::LiaSettings, decorator: Google::Apis::ContentV2::LiaSettings::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsGetAccessibleGmbAccountsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, :numeric_string => true, as: 'accountId'
|
||||
collection :gmb_accounts, as: 'gmbAccounts', class: Google::Apis::ContentV2::GmbAccountsGmbAccount, decorator: Google::Apis::ContentV2::GmbAccountsGmbAccount::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :resources, as: 'resources', class: Google::Apis::ContentV2::LiaSettings, decorator: Google::Apis::ContentV2::LiaSettings::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsRequestGmbAccessResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsRequestInventoryVerificationResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class LiasettingsSetInventoryVerificationContactResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class LocationIdSet
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -1263,6 +1263,399 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves and updates the Lia settings of multiple accounts in a single
|
||||
# request.
|
||||
# @param [Google::Apis::ContentV2::LiasettingsCustomBatchRequest] liasettings_custom_batch_request_object
|
||||
# @param [Boolean] dry_run
|
||||
# Flag to run the request in dry-run mode.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiasettingsCustomBatchResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiasettingsCustomBatchResponse]
|
||||
#
|
||||
# @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 custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'liasettings/batch', options)
|
||||
command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
|
||||
command.request_object = liasettings_custom_batch_request_object
|
||||
command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiasettingsCustomBatchResponse
|
||||
command.query['dryRun'] = dry_run unless dry_run.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves the Lia settings of the account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account for which to get/update Lia settings.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiaSettings]
|
||||
#
|
||||
# @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_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
||||
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiaSettings
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves the list of accesable Google My Business accounts.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account for which to retrieve the accessible Google My Business
|
||||
# accounts.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse]
|
||||
#
|
||||
# @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 getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
||||
command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the Lia settings of the sub-accounts in your Merchant Center account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. This must be a multi-client account.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of Lia settings to return in the response, used for paging.
|
||||
# @param [String] page_token
|
||||
# The token returned by the previous request.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiasettingsListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiasettingsListResponse]
|
||||
#
|
||||
# @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_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
||||
command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.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?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates the Lia settings of the account. This method supports patch semantics.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account for which to get/update Lia settings.
|
||||
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
||||
# @param [Boolean] dry_run
|
||||
# Flag to run the request in dry-run mode.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiaSettings]
|
||||
#
|
||||
# @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_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
|
||||
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
||||
command.request_object = lia_settings_object
|
||||
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiaSettings
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.query['dryRun'] = dry_run unless dry_run.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Requests access to a specified Google By Business account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account for which GMB access is requested.
|
||||
# @param [String] gmb_email
|
||||
# The email of the Google My Business Account.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse]
|
||||
#
|
||||
# @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 requestgmbaccess_liasetting(merchant_id, account_id, gmb_email: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
||||
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Requests the inventory validation for the specified country.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
# account.
|
||||
# @param [String] country
|
||||
# The country for which the inventory validation is requested.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse]
|
||||
#
|
||||
# @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 requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
||||
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.params['country'] = country unless country.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the inventory validation verification for the specified country.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
# account.
|
||||
# @param [String] contact_email
|
||||
# The email of the inventory check contact.
|
||||
# @param [String] contact_name
|
||||
# The name of the inventory verification contact.
|
||||
# @param [String] country
|
||||
# The country for which the inventory verification is requested.
|
||||
# @param [String] language
|
||||
# The country for which the inventory verification is requested.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse]
|
||||
#
|
||||
# @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 setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email: nil, contact_name: nil, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
||||
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.query['contactEmail'] = contact_email unless contact_email.nil?
|
||||
command.query['contactName'] = contact_name unless contact_name.nil?
|
||||
command.query['country'] = country unless country.nil?
|
||||
command.query['language'] = language unless language.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates the Lia settings of the account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the managing account. If this parameter is not the same as accountId,
|
||||
# then this account must be a multi-client account and accountId must be the ID
|
||||
# of a sub-account of this account.
|
||||
# @param [Fixnum] account_id
|
||||
# The ID of the account for which to get/update Lia settings.
|
||||
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
||||
# @param [Boolean] dry_run
|
||||
# Flag to run the request in dry-run mode.
|
||||
# @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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::LiaSettings]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
||||
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
||||
command.request_object = lia_settings_object
|
||||
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
||||
command.response_class = Google::Apis::ContentV2::LiaSettings
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['accountId'] = account_id unless account_id.nil?
|
||||
command.query['dryRun'] = dry_run unless dry_run.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Marks an order as acknowledged.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that manages the order. This cannot be a multi-client
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/apis/dlp_v2beta1/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# DLP API
|
||||
# Cloud DLP API
|
||||
#
|
||||
# The Google Data Loss Prevention API provides methods for detection of privacy-
|
||||
# sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180220'
|
||||
REVISION = '20180314'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module DlpV2beta1
|
||||
# DLP API
|
||||
# Cloud DLP API
|
||||
#
|
||||
# The Google Data Loss Prevention API provides methods for detection of privacy-
|
||||
# sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/apis/dlp_v2beta2/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# DLP API
|
||||
# Cloud DLP API
|
||||
#
|
||||
# The Google Data Loss Prevention API provides methods for detection of privacy-
|
||||
# sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20180306'
|
||||
REVISION = '20180314'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3263,11 +3263,16 @@ module Google
|
|||
attr_accessor :max_findings_per_info_type
|
||||
|
||||
# Max number of findings that will be returned for each item scanned.
|
||||
# When set within `InspectDataSourceRequest`,
|
||||
# the maximum returned is 1000 regardless if this is set higher.
|
||||
# When set within `InspectContentRequest`, this field is ignored.
|
||||
# Corresponds to the JSON property `maxFindingsPerItem`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_findings_per_item
|
||||
|
||||
# Max total number of findings that will be returned per request/job.
|
||||
# Max number of findings that will be returned per request/job.
|
||||
# When set within `InspectContentRequest`, the maximum returned is 1000
|
||||
# regardless if this is set higher.
|
||||
# Corresponds to the JSON property `maxFindingsPerRequest`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_findings_per_request
|
||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module DlpV2beta2
|
||||
# DLP API
|
||||
# Cloud DLP API
|
||||
#
|
||||
# The Google Data Loss Prevention API provides methods for detection of privacy-
|
||||
# sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171212'
|
||||
REVISION = '20180305'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -215,8 +215,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an ACL entry on the specified bucket. This method supports patch
|
||||
# semantics.
|
||||
# Patches an ACL entry on the specified bucket.
|
||||
# @param [String] bucket
|
||||
# Name of a bucket.
|
||||
# @param [String] entity
|
||||
|
@ -987,8 +986,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a default object ACL entry on the specified bucket. This method
|
||||
# supports patch semantics.
|
||||
# Patches a default object ACL entry on the specified bucket.
|
||||
# @param [String] bucket
|
||||
# Name of a bucket.
|
||||
# @param [String] entity
|
||||
|
@ -1431,8 +1429,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an ACL entry on the specified object. This method supports patch
|
||||
# semantics.
|
||||
# Patches an ACL entry on the specified object.
|
||||
# @param [String] bucket
|
||||
# Name of a bucket.
|
||||
# @param [String] object
|
||||
|
|
Loading…
Reference in New Issue