Autogenerated update (2018-03-03)
Update: - bigquery_v2 - content_v2 - dataflow_v1b3 - dataproc_v1 - dataproc_v1beta2 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta
This commit is contained in:
parent
42c5513d45
commit
4efe498900
|
@ -9759,7 +9759,9 @@
|
|||
"/bigquery:v2/bigquery.jobs.insert/projectId": project_id
|
||||
"/bigquery:v2/bigquery.jobs.list": list_jobs
|
||||
"/bigquery:v2/bigquery.jobs.list/allUsers": all_users
|
||||
"/bigquery:v2/bigquery.jobs.list/maxCreationTime": max_creation_time
|
||||
"/bigquery:v2/bigquery.jobs.list/maxResults": max_results
|
||||
"/bigquery:v2/bigquery.jobs.list/minCreationTime": min_creation_time
|
||||
"/bigquery:v2/bigquery.jobs.list/pageToken": page_token
|
||||
"/bigquery:v2/bigquery.jobs.list/projectId": project_id
|
||||
"/bigquery:v2/bigquery.jobs.list/projection": projection
|
||||
|
@ -31345,6 +31347,98 @@
|
|||
"/content:v2/OrdersUpdateShipmentResponse": orders_update_shipment_response
|
||||
"/content:v2/OrdersUpdateShipmentResponse/executionStatus": execution_status
|
||||
"/content:v2/OrdersUpdateShipmentResponse/kind": kind
|
||||
"/content:v2/PosCustomBatchRequest": pos_custom_batch_request
|
||||
"/content:v2/PosCustomBatchRequest/entries": entries
|
||||
"/content:v2/PosCustomBatchRequest/entries/entry": entry
|
||||
"/content:v2/PosCustomBatchRequestEntry": pos_custom_batch_request_entry
|
||||
"/content:v2/PosCustomBatchRequestEntry/batchId": batch_id
|
||||
"/content:v2/PosCustomBatchRequestEntry/inventory": inventory
|
||||
"/content:v2/PosCustomBatchRequestEntry/merchantId": merchant_id
|
||||
"/content:v2/PosCustomBatchRequestEntry/method": method_prop
|
||||
"/content:v2/PosCustomBatchRequestEntry/sale": sale
|
||||
"/content:v2/PosCustomBatchRequestEntry/store": store
|
||||
"/content:v2/PosCustomBatchRequestEntry/storeCode": store_code
|
||||
"/content:v2/PosCustomBatchRequestEntry/targetMerchantId": target_merchant_id
|
||||
"/content:v2/PosCustomBatchResponse": pos_custom_batch_response
|
||||
"/content:v2/PosCustomBatchResponse/entries": entries
|
||||
"/content:v2/PosCustomBatchResponse/entries/entry": entry
|
||||
"/content:v2/PosCustomBatchResponse/kind": kind
|
||||
"/content:v2/PosCustomBatchResponseEntry": pos_custom_batch_response_entry
|
||||
"/content:v2/PosCustomBatchResponseEntry/batchId": batch_id
|
||||
"/content:v2/PosCustomBatchResponseEntry/errors": errors
|
||||
"/content:v2/PosCustomBatchResponseEntry/inventory": inventory
|
||||
"/content:v2/PosCustomBatchResponseEntry/kind": kind
|
||||
"/content:v2/PosCustomBatchResponseEntry/sale": sale
|
||||
"/content:v2/PosCustomBatchResponseEntry/store": store
|
||||
"/content:v2/PosInventory": pos_inventory
|
||||
"/content:v2/PosInventory/contentLanguage": content_language
|
||||
"/content:v2/PosInventory/gtin": gtin
|
||||
"/content:v2/PosInventory/itemId": item_id
|
||||
"/content:v2/PosInventory/kind": kind
|
||||
"/content:v2/PosInventory/price": price
|
||||
"/content:v2/PosInventory/quantity": quantity
|
||||
"/content:v2/PosInventory/storeCode": store_code
|
||||
"/content:v2/PosInventory/targetCountry": target_country
|
||||
"/content:v2/PosInventory/timestamp": timestamp
|
||||
"/content:v2/PosInventoryRequest": pos_inventory_request
|
||||
"/content:v2/PosInventoryRequest/contentLanguage": content_language
|
||||
"/content:v2/PosInventoryRequest/gtin": gtin
|
||||
"/content:v2/PosInventoryRequest/itemId": item_id
|
||||
"/content:v2/PosInventoryRequest/price": price
|
||||
"/content:v2/PosInventoryRequest/quantity": quantity
|
||||
"/content:v2/PosInventoryRequest/storeCode": store_code
|
||||
"/content:v2/PosInventoryRequest/targetCountry": target_country
|
||||
"/content:v2/PosInventoryRequest/timestamp": timestamp
|
||||
"/content:v2/PosInventoryResponse": pos_inventory_response
|
||||
"/content:v2/PosInventoryResponse/contentLanguage": content_language
|
||||
"/content:v2/PosInventoryResponse/gtin": gtin
|
||||
"/content:v2/PosInventoryResponse/itemId": item_id
|
||||
"/content:v2/PosInventoryResponse/kind": kind
|
||||
"/content:v2/PosInventoryResponse/price": price
|
||||
"/content:v2/PosInventoryResponse/quantity": quantity
|
||||
"/content:v2/PosInventoryResponse/storeCode": store_code
|
||||
"/content:v2/PosInventoryResponse/targetCountry": target_country
|
||||
"/content:v2/PosInventoryResponse/timestamp": timestamp
|
||||
"/content:v2/PosListResponse": pos_list_response
|
||||
"/content:v2/PosListResponse/kind": kind
|
||||
"/content:v2/PosListResponse/resources": resources
|
||||
"/content:v2/PosListResponse/resources/resource": resource
|
||||
"/content:v2/PosSale": pos_sale
|
||||
"/content:v2/PosSale/contentLanguage": content_language
|
||||
"/content:v2/PosSale/gtin": gtin
|
||||
"/content:v2/PosSale/itemId": item_id
|
||||
"/content:v2/PosSale/kind": kind
|
||||
"/content:v2/PosSale/price": price
|
||||
"/content:v2/PosSale/quantity": quantity
|
||||
"/content:v2/PosSale/saleId": sale_id
|
||||
"/content:v2/PosSale/storeCode": store_code
|
||||
"/content:v2/PosSale/targetCountry": target_country
|
||||
"/content:v2/PosSale/timestamp": timestamp
|
||||
"/content:v2/PosSaleRequest": pos_sale_request
|
||||
"/content:v2/PosSaleRequest/contentLanguage": content_language
|
||||
"/content:v2/PosSaleRequest/gtin": gtin
|
||||
"/content:v2/PosSaleRequest/itemId": item_id
|
||||
"/content:v2/PosSaleRequest/price": price
|
||||
"/content:v2/PosSaleRequest/quantity": quantity
|
||||
"/content:v2/PosSaleRequest/saleId": sale_id
|
||||
"/content:v2/PosSaleRequest/storeCode": store_code
|
||||
"/content:v2/PosSaleRequest/targetCountry": target_country
|
||||
"/content:v2/PosSaleRequest/timestamp": timestamp
|
||||
"/content:v2/PosSaleResponse": pos_sale_response
|
||||
"/content:v2/PosSaleResponse/contentLanguage": content_language
|
||||
"/content:v2/PosSaleResponse/gtin": gtin
|
||||
"/content:v2/PosSaleResponse/itemId": item_id
|
||||
"/content:v2/PosSaleResponse/kind": kind
|
||||
"/content:v2/PosSaleResponse/price": price
|
||||
"/content:v2/PosSaleResponse/quantity": quantity
|
||||
"/content:v2/PosSaleResponse/saleId": sale_id
|
||||
"/content:v2/PosSaleResponse/storeCode": store_code
|
||||
"/content:v2/PosSaleResponse/targetCountry": target_country
|
||||
"/content:v2/PosSaleResponse/timestamp": timestamp
|
||||
"/content:v2/PosStore": pos_store
|
||||
"/content:v2/PosStore/kind": kind
|
||||
"/content:v2/PosStore/storeAddress": store_address
|
||||
"/content:v2/PosStore/storeCode": store_code
|
||||
"/content:v2/PostalCodeGroup": postal_code_group
|
||||
"/content:v2/PostalCodeGroup/country": country
|
||||
"/content:v2/PostalCodeGroup/name": name
|
||||
|
@ -31850,6 +31944,32 @@
|
|||
"/content:v2/content.orders.updateshipment": update_order_shipment
|
||||
"/content:v2/content.orders.updateshipment/merchantId": merchant_id
|
||||
"/content:v2/content.orders.updateshipment/orderId": order_id
|
||||
"/content:v2/content.pos.custombatch": custombatch_po
|
||||
"/content:v2/content.pos.custombatch/dryRun": dry_run
|
||||
"/content:v2/content.pos.delete": delete_po
|
||||
"/content:v2/content.pos.delete/dryRun": dry_run
|
||||
"/content:v2/content.pos.delete/merchantId": merchant_id
|
||||
"/content:v2/content.pos.delete/storeCode": store_code
|
||||
"/content:v2/content.pos.delete/targetMerchantId": target_merchant_id
|
||||
"/content:v2/content.pos.get": get_po
|
||||
"/content:v2/content.pos.get/merchantId": merchant_id
|
||||
"/content:v2/content.pos.get/storeCode": store_code
|
||||
"/content:v2/content.pos.get/targetMerchantId": target_merchant_id
|
||||
"/content:v2/content.pos.insert": insert_po
|
||||
"/content:v2/content.pos.insert/dryRun": dry_run
|
||||
"/content:v2/content.pos.insert/merchantId": merchant_id
|
||||
"/content:v2/content.pos.insert/targetMerchantId": target_merchant_id
|
||||
"/content:v2/content.pos.inventory": inventory_po
|
||||
"/content:v2/content.pos.inventory/dryRun": dry_run
|
||||
"/content:v2/content.pos.inventory/merchantId": merchant_id
|
||||
"/content:v2/content.pos.inventory/targetMerchantId": target_merchant_id
|
||||
"/content:v2/content.pos.list": list_pos
|
||||
"/content:v2/content.pos.list/merchantId": merchant_id
|
||||
"/content:v2/content.pos.list/targetMerchantId": target_merchant_id
|
||||
"/content:v2/content.pos.sale": sale_po
|
||||
"/content:v2/content.pos.sale/dryRun": dry_run
|
||||
"/content:v2/content.pos.sale/merchantId": merchant_id
|
||||
"/content:v2/content.pos.sale/targetMerchantId": target_merchant_id
|
||||
"/content:v2/content.products.custombatch": batch_product
|
||||
"/content:v2/content.products.custombatch/dryRun": dry_run
|
||||
"/content:v2/content.products.delete": delete_product
|
||||
|
@ -33712,6 +33832,7 @@
|
|||
"/dataproc:v1/Status/message": message
|
||||
"/dataproc:v1/SubmitJobRequest": submit_job_request
|
||||
"/dataproc:v1/SubmitJobRequest/job": job
|
||||
"/dataproc:v1/SubmitJobRequest/requestId": request_id
|
||||
"/dataproc:v1/YarnApplication": yarn_application
|
||||
"/dataproc:v1/YarnApplication/name": name
|
||||
"/dataproc:v1/YarnApplication/progress": progress
|
||||
|
@ -33720,11 +33841,13 @@
|
|||
"/dataproc:v1/dataproc.projects.regions.clusters.create": create_cluster
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.create/projectId": project_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.create/region": region
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.create/requestId": request_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete": delete_cluster
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterUuid": cluster_uuid
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/region": region
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/requestId": request_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/projectId": project_id
|
||||
|
@ -33744,6 +33867,7 @@
|
|||
"/dataproc:v1/dataproc.projects.regions.clusters.patch/gracefulDecommissionTimeout": graceful_decommission_timeout
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.patch/projectId": project_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.patch/region": region
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.patch/requestId": request_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.patch/updateMask": update_mask
|
||||
"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job
|
||||
"/dataproc:v1/dataproc.projects.regions.jobs.cancel/jobId": job_id
|
||||
|
@ -34069,6 +34193,7 @@
|
|||
"/dataproc:v1beta2/Status/message": message
|
||||
"/dataproc:v1beta2/SubmitJobRequest": submit_job_request
|
||||
"/dataproc:v1beta2/SubmitJobRequest/job": job
|
||||
"/dataproc:v1beta2/SubmitJobRequest/requestId": request_id
|
||||
"/dataproc:v1beta2/TestIamPermissionsRequest": test_iam_permissions_request
|
||||
"/dataproc:v1beta2/TestIamPermissionsRequest/permissions": permissions
|
||||
"/dataproc:v1beta2/TestIamPermissionsRequest/permissions/permission": permission
|
||||
|
@ -34140,11 +34265,13 @@
|
|||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create": create_project_region_cluster
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create/projectId": project_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create/region": region
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.create/requestId": request_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.delete": delete_project_region_cluster
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.delete/clusterName": cluster_name
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.delete/clusterUuid": cluster_uuid
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.delete/projectId": project_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.delete/region": region
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.delete/requestId": request_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.diagnose": diagnose_cluster
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.diagnose/projectId": project_id
|
||||
|
@ -34166,6 +34293,7 @@
|
|||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.patch/gracefulDecommissionTimeout": graceful_decommission_timeout
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.patch/projectId": project_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.patch/region": region
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.patch/requestId": request_id
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.patch/updateMask": update_mask
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.setIamPolicy": set_cluster_iam_policy
|
||||
"/dataproc:v1beta2/dataproc.projects.regions.clusters.setIamPolicy/resource": resource
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180211'
|
||||
REVISION = '20180223'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -510,8 +510,14 @@ module Google
|
|||
# Project ID of the jobs to list
|
||||
# @param [Boolean] all_users
|
||||
# Whether to display jobs owned by all users in the project. Default false
|
||||
# @param [Fixnum] max_creation_time
|
||||
# Max value for job creation time, in milliseconds since the POSIX epoch. If set,
|
||||
# only jobs created before or at this timestamp are returned
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum number of results to return
|
||||
# @param [Fixnum] min_creation_time
|
||||
# Min value for job creation time, in milliseconds since the POSIX epoch. If set,
|
||||
# only jobs created after or at this timestamp are returned
|
||||
# @param [String] page_token
|
||||
# Page token, returned by a previous call, to request the next page of results
|
||||
# @param [String] projection
|
||||
|
@ -539,13 +545,15 @@ 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 list_jobs(project_id, all_users: nil, max_results: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_jobs(project_id, all_users: nil, max_creation_time: nil, max_results: nil, min_creation_time: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'projects/{projectId}/jobs', options)
|
||||
command.response_representation = Google::Apis::BigqueryV2::JobList::Representation
|
||||
command.response_class = Google::Apis::BigqueryV2::JobList
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.query['allUsers'] = all_users unless all_users.nil?
|
||||
command.query['maxCreationTime'] = max_creation_time unless max_creation_time.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['minCreationTime'] = min_creation_time unless min_creation_time.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['projection'] = projection unless projection.nil?
|
||||
command.query['stateFilter'] = state_filter unless state_filter.nil?
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180122'
|
||||
REVISION = '20180227'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -63,7 +63,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# URL for individual seller reviews, i.e., reviews for each child account.
|
||||
# [DEPRECATED] This field is never returned and will be ignored if provided.
|
||||
# Corresponds to the JSON property `reviewsUrl`
|
||||
# @return [String]
|
||||
attr_accessor :reviews_url
|
||||
|
@ -150,7 +150,9 @@ module Google
|
|||
class AccountGoogleMyBusinessLink
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The GMB email address.
|
||||
# The GMB email address of which a specific account within a GMB account. A
|
||||
# sample account within a GMB account could be a business account with set of
|
||||
# locations, managed under the GMB account.
|
||||
# Corresponds to the JSON property `gmbEmail`
|
||||
# @return [String]
|
||||
attr_accessor :gmb_email
|
||||
|
@ -5389,6 +5391,632 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosCustomBatchRequest
|
||||
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::PosCustomBatchRequestEntry>]
|
||||
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 PosCustomBatchRequestEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An entry ID, unique within the batch request.
|
||||
# Corresponds to the JSON property `batchId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :batch_id
|
||||
|
||||
# The absolute quantity of an item available at the given store.
|
||||
# Corresponds to the JSON property `inventory`
|
||||
# @return [Google::Apis::ContentV2::PosInventory]
|
||||
attr_accessor :inventory
|
||||
|
||||
# The ID of the POS provider.
|
||||
# Corresponds to the JSON property `merchantId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :merchant_id
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `method`
|
||||
# @return [String]
|
||||
attr_accessor :method_prop
|
||||
|
||||
# The change of the available quantity of an item at the given store.
|
||||
# Corresponds to the JSON property `sale`
|
||||
# @return [Google::Apis::ContentV2::PosSale]
|
||||
attr_accessor :sale
|
||||
|
||||
# Store resource.
|
||||
# Corresponds to the JSON property `store`
|
||||
# @return [Google::Apis::ContentV2::PosStore]
|
||||
attr_accessor :store
|
||||
|
||||
# The store code. Required only to get/submit store information.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The ID of the account for which to get/submit data.
|
||||
# Corresponds to the JSON property `targetMerchantId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :target_merchant_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
||||
@inventory = args[:inventory] if args.key?(:inventory)
|
||||
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
||||
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
||||
@sale = args[:sale] if args.key?(:sale)
|
||||
@store = args[:store] if args.key?(:store)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_merchant_id = args[:target_merchant_id] if args.key?(:target_merchant_id)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosCustomBatchResponse
|
||||
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::PosCustomBatchResponseEntry>]
|
||||
attr_accessor :entries
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posCustomBatchResponse".
|
||||
# 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 PosCustomBatchResponseEntry
|
||||
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 absolute quantity of an item available at the given store.
|
||||
# Corresponds to the JSON property `inventory`
|
||||
# @return [Google::Apis::ContentV2::PosInventory]
|
||||
attr_accessor :inventory
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posCustomBatchResponseEntry".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The change of the available quantity of an item at the given store.
|
||||
# Corresponds to the JSON property `sale`
|
||||
# @return [Google::Apis::ContentV2::PosSale]
|
||||
attr_accessor :sale
|
||||
|
||||
# Store resource.
|
||||
# Corresponds to the JSON property `store`
|
||||
# @return [Google::Apis::ContentV2::PosStore]
|
||||
attr_accessor :store
|
||||
|
||||
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)
|
||||
@inventory = args[:inventory] if args.key?(:inventory)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@sale = args[:sale] if args.key?(:sale)
|
||||
@store = args[:store] if args.key?(:store)
|
||||
end
|
||||
end
|
||||
|
||||
# The absolute quantity of an item available at the given store.
|
||||
class PosInventory
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 639-1 language code for the item.
|
||||
# Corresponds to the JSON property `contentLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Global Trade Item Number.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
attr_accessor :gtin
|
||||
|
||||
# A unique identifier for the item.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posInventory".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The current price of the item.
|
||||
# Corresponds to the JSON property `price`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :price
|
||||
|
||||
# The available quantity of the item.
|
||||
# Corresponds to the JSON property `quantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# The identifier of the merchant's store.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
||||
# The inventory timestamp, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@item_id = args[:item_id] if args.key?(:item_id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
@quantity = args[:quantity] if args.key?(:quantity)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_country = args[:target_country] if args.key?(:target_country)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosInventoryRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 639-1 language code for the item.
|
||||
# Corresponds to the JSON property `contentLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Global Trade Item Number.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
attr_accessor :gtin
|
||||
|
||||
# A unique identifier for the item.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
# The current price of the item.
|
||||
# Corresponds to the JSON property `price`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :price
|
||||
|
||||
# The available quantity of the item.
|
||||
# Corresponds to the JSON property `quantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# The identifier of the merchant's store.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
||||
# The inventory timestamp, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@item_id = args[:item_id] if args.key?(:item_id)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
@quantity = args[:quantity] if args.key?(:quantity)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_country = args[:target_country] if args.key?(:target_country)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosInventoryResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 639-1 language code for the item.
|
||||
# Corresponds to the JSON property `contentLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Global Trade Item Number.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
attr_accessor :gtin
|
||||
|
||||
# A unique identifier for the item.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posInventoryResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The current price of the item.
|
||||
# Corresponds to the JSON property `price`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :price
|
||||
|
||||
# The available quantity of the item.
|
||||
# Corresponds to the JSON property `quantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# The identifier of the merchant's store.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
||||
# The inventory timestamp, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@item_id = args[:item_id] if args.key?(:item_id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
@quantity = args[:quantity] if args.key?(:quantity)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_country = args[:target_country] if args.key?(:target_country)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posListResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `resources`
|
||||
# @return [Array<Google::Apis::ContentV2::PosStore>]
|
||||
attr_accessor :resources
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@resources = args[:resources] if args.key?(:resources)
|
||||
end
|
||||
end
|
||||
|
||||
# The change of the available quantity of an item at the given store.
|
||||
class PosSale
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 639-1 language code for the item.
|
||||
# Corresponds to the JSON property `contentLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Global Trade Item Number.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
attr_accessor :gtin
|
||||
|
||||
# A unique identifier for the item.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posSale".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The price of the item.
|
||||
# Corresponds to the JSON property `price`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :price
|
||||
|
||||
# The relative change of the available quantity. Negative for items sold.
|
||||
# Corresponds to the JSON property `quantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# A unique ID to group items from the same sale event.
|
||||
# Corresponds to the JSON property `saleId`
|
||||
# @return [String]
|
||||
attr_accessor :sale_id
|
||||
|
||||
# The identifier of the merchant's store.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
||||
# The inventory timestamp, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@item_id = args[:item_id] if args.key?(:item_id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
@quantity = args[:quantity] if args.key?(:quantity)
|
||||
@sale_id = args[:sale_id] if args.key?(:sale_id)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_country = args[:target_country] if args.key?(:target_country)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosSaleRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 639-1 language code for the item.
|
||||
# Corresponds to the JSON property `contentLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Global Trade Item Number.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
attr_accessor :gtin
|
||||
|
||||
# A unique identifier for the item.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
# The price of the item.
|
||||
# Corresponds to the JSON property `price`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :price
|
||||
|
||||
# The relative change of the available quantity. Negative for items sold.
|
||||
# Corresponds to the JSON property `quantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# A unique ID to group items from the same sale event.
|
||||
# Corresponds to the JSON property `saleId`
|
||||
# @return [String]
|
||||
attr_accessor :sale_id
|
||||
|
||||
# The identifier of the merchant's store.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
||||
# The inventory timestamp, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@item_id = args[:item_id] if args.key?(:item_id)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
@quantity = args[:quantity] if args.key?(:quantity)
|
||||
@sale_id = args[:sale_id] if args.key?(:sale_id)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_country = args[:target_country] if args.key?(:target_country)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PosSaleResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 639-1 language code for the item.
|
||||
# Corresponds to the JSON property `contentLanguage`
|
||||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Global Trade Item Number.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
attr_accessor :gtin
|
||||
|
||||
# A unique identifier for the item.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posSaleResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The price of the item.
|
||||
# Corresponds to the JSON property `price`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :price
|
||||
|
||||
# The relative change of the available quantity. Negative for items sold.
|
||||
# Corresponds to the JSON property `quantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# A unique ID to group items from the same sale event.
|
||||
# Corresponds to the JSON property `saleId`
|
||||
# @return [String]
|
||||
attr_accessor :sale_id
|
||||
|
||||
# The identifier of the merchant's store.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
||||
# The inventory timestamp, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `timestamp`
|
||||
# @return [String]
|
||||
attr_accessor :timestamp
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@item_id = args[:item_id] if args.key?(:item_id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
@quantity = args[:quantity] if args.key?(:quantity)
|
||||
@sale_id = args[:sale_id] if args.key?(:sale_id)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
@target_country = args[:target_country] if args.key?(:target_country)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
end
|
||||
end
|
||||
|
||||
# Store resource.
|
||||
class PosStore
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# posStore".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The street address of the store.
|
||||
# Corresponds to the JSON property `storeAddress`
|
||||
# @return [String]
|
||||
attr_accessor :store_address
|
||||
|
||||
# A store identifier that is unique for the given merchant.
|
||||
# Corresponds to the JSON property `storeCode`
|
||||
# @return [String]
|
||||
attr_accessor :store_code
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@store_address = args[:store_address] if args.key?(:store_address)
|
||||
@store_code = args[:store_code] if args.key?(:store_code)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PostalCodeGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -814,6 +814,78 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosCustomBatchRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosCustomBatchRequestEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosCustomBatchResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosCustomBatchResponseEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosInventory
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosInventoryRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosInventoryResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosSale
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosSaleRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosSaleResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PosStore
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PostalCodeGroup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2584,6 +2656,171 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PosCustomBatchRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :entries, as: 'entries', class: Google::Apis::ContentV2::PosCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::PosCustomBatchRequestEntry::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PosCustomBatchRequestEntry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :batch_id, as: 'batchId'
|
||||
property :inventory, as: 'inventory', class: Google::Apis::ContentV2::PosInventory, decorator: Google::Apis::ContentV2::PosInventory::Representation
|
||||
|
||||
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
||||
property :method_prop, as: 'method'
|
||||
property :sale, as: 'sale', class: Google::Apis::ContentV2::PosSale, decorator: Google::Apis::ContentV2::PosSale::Representation
|
||||
|
||||
property :store, as: 'store', class: Google::Apis::ContentV2::PosStore, decorator: Google::Apis::ContentV2::PosStore::Representation
|
||||
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_merchant_id, :numeric_string => true, as: 'targetMerchantId'
|
||||
end
|
||||
end
|
||||
|
||||
class PosCustomBatchResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :entries, as: 'entries', class: Google::Apis::ContentV2::PosCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::PosCustomBatchResponseEntry::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class PosCustomBatchResponseEntry
|
||||
# @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 :inventory, as: 'inventory', class: Google::Apis::ContentV2::PosInventory, decorator: Google::Apis::ContentV2::PosInventory::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :sale, as: 'sale', class: Google::Apis::ContentV2::PosSale, decorator: Google::Apis::ContentV2::PosSale::Representation
|
||||
|
||||
property :store, as: 'store', class: Google::Apis::ContentV2::PosStore, decorator: Google::Apis::ContentV2::PosStore::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PosInventory
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_language, as: 'contentLanguage'
|
||||
property :gtin, as: 'gtin'
|
||||
property :item_id, as: 'itemId'
|
||||
property :kind, as: 'kind'
|
||||
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :quantity, :numeric_string => true, as: 'quantity'
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_country, as: 'targetCountry'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class PosInventoryRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_language, as: 'contentLanguage'
|
||||
property :gtin, as: 'gtin'
|
||||
property :item_id, as: 'itemId'
|
||||
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :quantity, :numeric_string => true, as: 'quantity'
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_country, as: 'targetCountry'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class PosInventoryResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_language, as: 'contentLanguage'
|
||||
property :gtin, as: 'gtin'
|
||||
property :item_id, as: 'itemId'
|
||||
property :kind, as: 'kind'
|
||||
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :quantity, :numeric_string => true, as: 'quantity'
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_country, as: 'targetCountry'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class PosListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :resources, as: 'resources', class: Google::Apis::ContentV2::PosStore, decorator: Google::Apis::ContentV2::PosStore::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PosSale
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_language, as: 'contentLanguage'
|
||||
property :gtin, as: 'gtin'
|
||||
property :item_id, as: 'itemId'
|
||||
property :kind, as: 'kind'
|
||||
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :quantity, :numeric_string => true, as: 'quantity'
|
||||
property :sale_id, as: 'saleId'
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_country, as: 'targetCountry'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class PosSaleRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_language, as: 'contentLanguage'
|
||||
property :gtin, as: 'gtin'
|
||||
property :item_id, as: 'itemId'
|
||||
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :quantity, :numeric_string => true, as: 'quantity'
|
||||
property :sale_id, as: 'saleId'
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_country, as: 'targetCountry'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class PosSaleResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_language, as: 'contentLanguage'
|
||||
property :gtin, as: 'gtin'
|
||||
property :item_id, as: 'itemId'
|
||||
property :kind, as: 'kind'
|
||||
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :quantity, :numeric_string => true, as: 'quantity'
|
||||
property :sale_id, as: 'saleId'
|
||||
property :store_code, as: 'storeCode'
|
||||
property :target_country, as: 'targetCountry'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class PosStore
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :store_address, as: 'storeAddress'
|
||||
property :store_code, as: 'storeCode'
|
||||
end
|
||||
end
|
||||
|
||||
class PostalCodeGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -2116,6 +2116,297 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Batches multiple POS-related calls in a single request.
|
||||
# @param [Google::Apis::ContentV2::PosCustomBatchRequest] pos_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::PosCustomBatchResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::PosCustomBatchResponse]
|
||||
#
|
||||
# @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_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'pos/batch', options)
|
||||
command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
|
||||
command.request_object = pos_custom_batch_request_object
|
||||
command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::PosCustomBatchResponse
|
||||
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
|
||||
|
||||
# Deletes a store for the given merchant.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the POS provider.
|
||||
# @param [Fixnum] target_merchant_id
|
||||
# The ID of the target merchant.
|
||||
# @param [String] store_code
|
||||
# A store code that is unique per merchant.
|
||||
# @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 [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @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 delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
||||
command.params['storeCode'] = store_code unless store_code.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
|
||||
|
||||
# Retrieves information about the given store.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the POS provider.
|
||||
# @param [Fixnum] target_merchant_id
|
||||
# The ID of the target merchant.
|
||||
# @param [String] store_code
|
||||
# A store code that is unique per merchant.
|
||||
# @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::PosStore] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::PosStore]
|
||||
#
|
||||
# @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_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
||||
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
||||
command.response_class = Google::Apis::ContentV2::PosStore
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
||||
command.params['storeCode'] = store_code unless store_code.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
|
||||
|
||||
# Creates a store for the given merchant.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the POS provider.
|
||||
# @param [Fixnum] target_merchant_id
|
||||
# The ID of the target merchant.
|
||||
# @param [Google::Apis::ContentV2::PosStore] pos_store_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::PosStore] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::PosStore]
|
||||
#
|
||||
# @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 insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
||||
command.request_representation = Google::Apis::ContentV2::PosStore::Representation
|
||||
command.request_object = pos_store_object
|
||||
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
||||
command.response_class = Google::Apis::ContentV2::PosStore
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_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
|
||||
|
||||
# Submit inventory for the given merchant.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the POS provider.
|
||||
# @param [Fixnum] target_merchant_id
|
||||
# The ID of the target merchant.
|
||||
# @param [Google::Apis::ContentV2::PosInventoryRequest] pos_inventory_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::PosInventoryResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::PosInventoryResponse]
|
||||
#
|
||||
# @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 inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
||||
command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
|
||||
command.request_object = pos_inventory_request_object
|
||||
command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::PosInventoryResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_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
|
||||
|
||||
# Lists the stores of the target merchant.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the POS provider.
|
||||
# @param [Fixnum] target_merchant_id
|
||||
# The ID of the target merchant.
|
||||
# @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::PosListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::PosListResponse]
|
||||
#
|
||||
# @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_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
||||
command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::PosListResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_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
|
||||
|
||||
# Submit a sale event for the given merchant.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the POS provider.
|
||||
# @param [Fixnum] target_merchant_id
|
||||
# The ID of the target merchant.
|
||||
# @param [Google::Apis::ContentV2::PosSaleRequest] pos_sale_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::PosSaleResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::PosSaleResponse]
|
||||
#
|
||||
# @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 sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
||||
command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
|
||||
command.request_object = pos_sale_request_object
|
||||
command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::PosSaleResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_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
|
||||
|
||||
# Retrieves, inserts, and deletes multiple products in a single request.
|
||||
# @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
|
||||
# @param [Boolean] dry_run
|
||||
|
|
|
@ -18,14 +18,14 @@ require 'google/apis/dataflow_v1b3/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Dataflow API
|
||||
# Dataflow API
|
||||
#
|
||||
# Manages Google Cloud Dataflow projects on Google Cloud Platform.
|
||||
#
|
||||
# @see https://cloud.google.com/dataflow
|
||||
module DataflowV1b3
|
||||
VERSION = 'V1b3'
|
||||
REVISION = '20180215'
|
||||
REVISION = '20180220'
|
||||
|
||||
# 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 DataflowV1b3
|
||||
# Google Dataflow API
|
||||
# Dataflow API
|
||||
#
|
||||
# Manages Google Cloud Dataflow projects on Google Cloud Platform.
|
||||
#
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180220'
|
||||
REVISION = '20180227'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1658,6 +1658,17 @@ module Google
|
|||
# @return [Google::Apis::DataprocV1::Job]
|
||||
attr_accessor :job
|
||||
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# SubmitJobRequest requests with the same id, then the second request will be
|
||||
# ignored and the first Job created and stored in the backend is returned.It is
|
||||
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
||||
# Universally_unique_identifier).The id must contain only letters (a-z, A-Z),
|
||||
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
||||
# characters.
|
||||
# Corresponds to the JSON property `requestId`
|
||||
# @return [String]
|
||||
attr_accessor :request_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1665,6 +1676,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@job = args[:job] if args.key?(:job)
|
||||
@request_id = args[:request_id] if args.key?(:request_id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -641,6 +641,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
|
||||
|
||||
property :request_id, as: 'requestId'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -54,6 +54,14 @@ module Google
|
|||
# @param [String] region
|
||||
# Required. The Cloud Dataproc region in which to handle the request.
|
||||
# @param [Google::Apis::DataprocV1::Cluster] cluster_object
|
||||
# @param [String] request_id
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# CreateClusterRequest requests with the same id, then the second request will
|
||||
# be ignored and the first google.longrunning.Operation created and stored in
|
||||
# the backend is returned.It is recommended to always set this value to a UUID (
|
||||
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
||||
# ). The maximum length is 40 characters.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -71,7 +79,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 create_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def create_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options)
|
||||
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
||||
command.request_object = cluster_object
|
||||
|
@ -79,6 +87,7 @@ module Google
|
|||
command.response_class = Google::Apis::DataprocV1::Operation
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
@ -95,6 +104,14 @@ module Google
|
|||
# @param [String] cluster_uuid
|
||||
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
||||
# NOT_FOUND) if cluster with specified UUID does not exist.
|
||||
# @param [String] request_id
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# DeleteClusterRequest requests with the same id, then the second request will
|
||||
# be ignored and the first google.longrunning.Operation created and stored in
|
||||
# the backend is returned.It is recommended to always set this value to a UUID (
|
||||
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
||||
# ). The maximum length is 40 characters.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -112,7 +129,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 delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
||||
command.response_class = Google::Apis::DataprocV1::Operation
|
||||
|
@ -120,6 +137,7 @@ module Google
|
|||
command.params['region'] = region unless region.nil?
|
||||
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
||||
command.query['clusterUuid'] = cluster_uuid unless cluster_uuid.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
@ -271,6 +289,14 @@ module Google
|
|||
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
||||
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day.
|
||||
# Only supported on Dataproc image versions 1.2 and higher.
|
||||
# @param [String] request_id
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# UpdateClusterRequest requests with the same id, then the second request will
|
||||
# be ignored and the first google.longrunning.Operation created and stored in
|
||||
# the backend is returned.It is recommended to always set this value to a UUID (
|
||||
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
||||
# ). The maximum length is 40 characters.
|
||||
# @param [String] update_mask
|
||||
# Required. Specifies the path, relative to Cluster, of the field to update. For
|
||||
# example, to change the number of workers in a cluster to 5, the update_mask
|
||||
|
@ -317,7 +343,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 patch_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def patch_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
||||
command.request_representation = Google::Apis::DataprocV1::Cluster::Representation
|
||||
command.request_object = cluster_object
|
||||
|
@ -327,6 +353,7 @@ module Google
|
|||
command.params['region'] = region unless region.nil?
|
||||
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
||||
command.query['gracefulDecommissionTimeout'] = graceful_decommission_timeout unless graceful_decommission_timeout.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180220'
|
||||
REVISION = '20180227'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2099,6 +2099,17 @@ module Google
|
|||
# @return [Google::Apis::DataprocV1beta2::Job]
|
||||
attr_accessor :job
|
||||
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# SubmitJobRequest requests with the same id, then the second request will be
|
||||
# ignored and the first Job created and stored in the backend is returned.It is
|
||||
# recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/
|
||||
# Universally_unique_identifier).The id must contain only letters (a-z, A-Z),
|
||||
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
||||
# characters.
|
||||
# Corresponds to the JSON property `requestId`
|
||||
# @return [String]
|
||||
attr_accessor :request_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2106,6 +2117,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@job = args[:job] if args.key?(:job)
|
||||
@request_id = args[:request_id] if args.key?(:request_id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -849,6 +849,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :job, as: 'job', class: Google::Apis::DataprocV1beta2::Job, decorator: Google::Apis::DataprocV1beta2::Job::Representation
|
||||
|
||||
property :request_id, as: 'requestId'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -434,6 +434,14 @@ module Google
|
|||
# @param [String] region
|
||||
# Required. The Cloud Dataproc region in which to handle the request.
|
||||
# @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
|
||||
# @param [String] request_id
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# CreateClusterRequest requests with the same id, then the second request will
|
||||
# be ignored and the first google.longrunning.Operation created and stored in
|
||||
# the backend is returned.It is recommended to always set this value to a UUID (
|
||||
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
||||
# ). The maximum length is 40 characters.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -451,7 +459,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 create_project_region_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
||||
command.request_object = cluster_object
|
||||
|
@ -459,6 +467,7 @@ module Google
|
|||
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
@ -475,6 +484,14 @@ module Google
|
|||
# @param [String] cluster_uuid
|
||||
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
||||
# NOT_FOUND) if cluster with specified UUID does not exist.
|
||||
# @param [String] request_id
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# DeleteClusterRequest requests with the same id, then the second request will
|
||||
# be ignored and the first google.longrunning.Operation created and stored in
|
||||
# the backend is returned.It is recommended to always set this value to a UUID (
|
||||
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
||||
# ). The maximum length is 40 characters.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -492,7 +509,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 delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
||||
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
||||
|
@ -500,6 +517,7 @@ module Google
|
|||
command.params['region'] = region unless region.nil?
|
||||
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
||||
command.query['clusterUuid'] = cluster_uuid unless cluster_uuid.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
@ -683,6 +701,14 @@ module Google
|
|||
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
||||
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day.
|
||||
# Only supported on Dataproc image versions 1.2 and higher.
|
||||
# @param [String] request_id
|
||||
# Optional. A unique id used to identify the request. If the server receives two
|
||||
# UpdateClusterRequest requests with the same id, then the second request will
|
||||
# be ignored and the first google.longrunning.Operation created and stored in
|
||||
# the backend is returned.It is recommended to always set this value to a UUID (
|
||||
# https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
|
||||
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
||||
# ). The maximum length is 40 characters.
|
||||
# @param [String] update_mask
|
||||
# Required. Specifies the path, relative to Cluster, of the field to update. For
|
||||
# example, to change the number of workers in a cluster to 5, the update_mask
|
||||
|
@ -749,7 +775,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 patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
||||
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
||||
command.request_object = cluster_object
|
||||
|
@ -759,6 +785,7 @@ module Google
|
|||
command.params['region'] = region unless region.nil?
|
||||
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
||||
command.query['gracefulDecommissionTimeout'] = graceful_decommission_timeout unless graceful_decommission_timeout.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20180214'
|
||||
REVISION = '20180222'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2542,7 +2542,12 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the type provider.
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -172,25 +172,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -540,25 +537,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -902,25 +896,22 @@ module Google
|
|||
# @param [String] deployment
|
||||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1017,25 +1008,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1136,25 +1124,22 @@ module Google
|
|||
# @param [String] deployment
|
||||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1368,25 +1353,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1446,25 +1428,22 @@ module Google
|
|||
# @param [String] type_provider
|
||||
# The name of the type provider for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1719,25 +1698,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180119'
|
||||
REVISION = '20180222'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -264,25 +264,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -626,25 +623,22 @@ module Google
|
|||
# @param [String] deployment
|
||||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -741,25 +735,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -860,25 +851,22 @@ module Google
|
|||
# @param [String] deployment
|
||||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -937,25 +925,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2beta
|
||||
VERSION = 'V2beta'
|
||||
REVISION = '20180214'
|
||||
REVISION = '20180222'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2421,7 +2421,12 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeProviderLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the type provider.
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -172,25 +172,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -540,25 +537,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -902,25 +896,22 @@ module Google
|
|||
# @param [String] deployment
|
||||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1017,25 +1008,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1136,25 +1124,22 @@ module Google
|
|||
# @param [String] deployment
|
||||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1368,25 +1353,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1446,25 +1428,22 @@ module Google
|
|||
# @param [String] type_provider
|
||||
# The name of the type provider for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
@ -1605,25 +1584,22 @@ module Google
|
|||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
||||
# must be in the format: field_name comparison_string literal_string.
|
||||
# The field_name is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The comparison_string must be
|
||||
# either eq (equals) or ne (not equals). The literal_string is the string value
|
||||
# to filter to. The literal value must be valid for the type of field you are
|
||||
# filtering by (string, number, boolean). For string fields, the literal value
|
||||
# is interpreted as a regular expression using RE2 syntax. The literal value
|
||||
# must match the entire field.
|
||||
# For example, to filter for instances that do not have a name of example-
|
||||
# instance, you would use name ne example-instance.
|
||||
# You can filter on nested fields. For example, you could filter on instances
|
||||
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
||||
# nested fields to take advantage of labels to organize and search for results
|
||||
# based on label values.
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
||||
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
||||
# resources must match all expressions to pass the filters.
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
|
|
Loading…
Reference in New Issue