Autogenerated update (2019-03-06)

Delete:
- partners_v2

Update:
- cloudasset_v1beta1
- cloudidentity_v1
- cloudidentity_v1beta1
- cloudresourcemanager_v1
- content_v2
- content_v2_1
- genomics_v1
- pubsub_v1
- pubsub_v1beta2
- spanner_v1
This commit is contained in:
Google APIs 2019-03-06 00:37:19 +00:00
parent 0bcecee283
commit 47e36d604f
30 changed files with 381 additions and 4448 deletions

View File

@ -42198,6 +42198,7 @@
"/content:v2.1/TestOrder/notificationMode": notification_mode
"/content:v2.1/TestOrder/predefinedBillingAddress": predefined_billing_address
"/content:v2.1/TestOrder/predefinedDeliveryAddress": predefined_delivery_address
"/content:v2.1/TestOrder/predefinedEmail": predefined_email
"/content:v2.1/TestOrder/promotions": promotions
"/content:v2.1/TestOrder/promotions/promotion": promotion
"/content:v2.1/TestOrder/shippingCost": shipping_cost
@ -96019,6 +96020,15 @@
"/spanner:v1/Delete/keySet": key_set
"/spanner:v1/Delete/table": table
"/spanner:v1/Empty": empty
"/spanner:v1/ExecuteBatchDmlRequest": execute_batch_dml_request
"/spanner:v1/ExecuteBatchDmlRequest/seqno": seqno
"/spanner:v1/ExecuteBatchDmlRequest/statements": statements
"/spanner:v1/ExecuteBatchDmlRequest/statements/statement": statement
"/spanner:v1/ExecuteBatchDmlRequest/transaction": transaction
"/spanner:v1/ExecuteBatchDmlResponse": execute_batch_dml_response
"/spanner:v1/ExecuteBatchDmlResponse/resultSets": result_sets
"/spanner:v1/ExecuteBatchDmlResponse/resultSets/result_set": result_set
"/spanner:v1/ExecuteBatchDmlResponse/status": status
"/spanner:v1/ExecuteSqlRequest": execute_sql_request
"/spanner:v1/ExecuteSqlRequest/paramTypes": param_types
"/spanner:v1/ExecuteSqlRequest/paramTypes/param_type": param_type
@ -96225,6 +96235,12 @@
"/spanner:v1/ShortRepresentation/description": description
"/spanner:v1/ShortRepresentation/subqueries": subqueries
"/spanner:v1/ShortRepresentation/subqueries/subquery": subquery
"/spanner:v1/Statement": statement
"/spanner:v1/Statement/paramTypes": param_types
"/spanner:v1/Statement/paramTypes/param_type": param_type
"/spanner:v1/Statement/params": params
"/spanner:v1/Statement/params/param": param
"/spanner:v1/Statement/sql": sql
"/spanner:v1/Status": status
"/spanner:v1/Status/code": code
"/spanner:v1/Status/details": details
@ -96324,6 +96340,8 @@
"/spanner:v1/spanner.projects.instances.databases.sessions.create/database": database
"/spanner:v1/spanner.projects.instances.databases.sessions.delete": delete_project_instance_database_session
"/spanner:v1/spanner.projects.instances.databases.sessions.delete/name": name
"/spanner:v1/spanner.projects.instances.databases.sessions.executeBatchDml": execute_session_batch_dml
"/spanner:v1/spanner.projects.instances.databases.sessions.executeBatchDml/session": session
"/spanner:v1/spanner.projects.instances.databases.sessions.executeSql": execute_session_sql
"/spanner:v1/spanner.projects.instances.databases.sessions.executeSql/session": session
"/spanner:v1/spanner.projects.instances.databases.sessions.executeStreamingSql": execute_project_instance_database_session_streaming_sql

View File

@ -25,7 +25,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
module CloudassetV1beta1
VERSION = 'V1beta1'
REVISION = '20190128'
REVISION = '20190302'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -73,10 +73,11 @@ module Google
# @return [Google::Apis::CloudassetV1beta1::Policy]
attr_accessor :iam_policy
# The full name of the asset. For example: `//compute.googleapis.com/projects/
# my_project_123/zones/zone1/instances/instance1`.
# See [Resource Names](https://cloud.google.com/apis/design/resource_names#
# full_resource_name)
# The full name of the asset. For example:
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
# instance1`.
# See [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
# for more information.
# Corresponds to the JSON property `name`
# @return [String]
@ -259,7 +260,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
@ -626,12 +627,13 @@ module Google
attr_accessor :discovery_name
# The full name of the immediate parent of this resource. See
# [Resource Names](https://cloud.google.com/apis/design/resource_names#
# full_resource_name)
# [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
# for more information.
# For GCP assets, it is the parent resource defined in the [Cloud IAM policy
# hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
# For example: `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
# For example:
# `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
# For third-party assets, it is up to the users to define.
# Corresponds to the JSON property `parent`
# @return [String]

View File

@ -133,8 +133,8 @@ module Google
# A list of the full names of the assets. For example:
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
# instance1`.
# See [Resource Names](https://cloud.google.com/apis/design/resource_names#
# full_resource_name)
# See [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
# for more info.
# The request becomes a no-op if the asset name list is empty, and the max
# size of the asset name list is 100 in one request.
@ -262,8 +262,8 @@ module Google
# A list of the full names of the assets. For example:
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
# instance1`.
# See [Resource Names](https://cloud.google.com/apis/design/resource_names#
# full_resource_name)
# See [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
# for more info.
# The request becomes a no-op if the asset name list is empty, and the max
# size of the asset name list is 100 in one request.

View File

@ -25,7 +25,13 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1
VERSION = 'V1'
REVISION = '20190219'
REVISION = '20190303'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
# See any Cloud Identity Groups that you can access, including group members and their emails
AUTH_CLOUD_IDENTITY_GROUPS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.groups.readonly'
end
end
end

View File

@ -236,9 +236,9 @@ module Google
attr_accessor :create_time
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
# Membership in the format: `groups/`group_id`/memberships/`member_id``, where
# group_id is the unique ID assigned to the Group to which Membership belongs
# to, and member_id is the unique ID assigned to the member
# Membership in the format: `groups/`group_id`/memberships/`member_id``,
# where group_id is the unique ID assigned to the Group to which Membership
# belongs to, and member_id is the unique ID assigned to the member
# Must be left blank while creating a Membership.
# Corresponds to the JSON property `name`
# @return [String]

View File

@ -25,7 +25,13 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1beta1
VERSION = 'V1beta1'
REVISION = '20190219'
REVISION = '20190303'
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
# See any Cloud Identity Groups that you can access, including group members and their emails
AUTH_CLOUD_IDENTITY_GROUPS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.groups.readonly'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20190220'
REVISION = '20190227'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -184,7 +184,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
@ -231,9 +231,10 @@ module Google
# If `true`, then the `Policy` is enforced. If `false`, then any
# configuration is acceptable.
# Suppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`
# with `constraint_default` set to `ALLOW`. A `Policy` for that
# `Constraint` exhibits the following behavior:
# Suppose you have a `Constraint`
# `constraints/compute.disableSerialPortAccess` with `constraint_default`
# set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
# behavior:
# - If the `Policy` at this resource has enforced set to `false`, serial
# port connection attempts will be allowed.
# - If the `Policy` at this resource has enforced set to `true`, serial

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20190222'
REVISION = '20190304'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -729,7 +729,7 @@ module Google
attr_accessor :country
# State (or province) is which the tax is applicable, described by its location
# id (also called criteria id).
# ID (also called criteria ID).
# Corresponds to the JSON property `locationId`
# @return [Fixnum]
attr_accessor :location_id
@ -4314,8 +4314,9 @@ module Google
# @return [String]
attr_accessor :last_updated_timestamp
# Email address that can be used for marketing purposes. This field is only
# filled when explicitMarketingPreference is equal to 'granted'.
# Email address that can be used for marketing purposes. The field may be empty
# even if explicitMarketingPreference is 'granted'. This happens when retrieving
# an old order from the customer who deleted his account.
# Corresponds to the JSON property `marketingEmailAddress`
# @return [String]
attr_accessor :marketing_email_address
@ -4653,7 +4654,7 @@ module Google
# Variant attributes for the item. These are dimensions of the product, such as
# color, gender, material, pattern, and size. You can find a comprehensive list
# of variant attributes <a href="
# of variant attributes here.
# Corresponds to the JSON property `variantAttributes`
# @return [Array<Google::Apis::ContentV2::OrderLineItemProductVariantAttribute>]
attr_accessor :variant_attributes
@ -5033,12 +5034,12 @@ module Google
# @return [Fixnum]
attr_accessor :merchant_id
# Merchant-provided id of the order.
# Merchant-provided ID of the order.
# Corresponds to the JSON property `merchantOrderId`
# @return [String]
attr_accessor :merchant_order_id
# The id of the order.
# The ID of the order.
# Corresponds to the JSON property `orderId`
# @return [String]
attr_accessor :order_id
@ -8681,9 +8682,9 @@ module Google
# @return [String]
attr_accessor :gtin
# The REST id of the product. Content API methods that operate on products take
# The REST ID of the product. Content API methods that operate on products take
# this as their productId parameter.
# The REST id for a product is of the form channel:contentLanguage:targetCountry:
# The REST ID for a product is of the form channel:contentLanguage:targetCountry:
# offerId.
# Corresponds to the JSON property `id`
# @return [String]
@ -8779,7 +8780,7 @@ module Google
# stripped and multiple whitespaces are replaced by a single whitespace upon
# submission. Only valid unicode characters are accepted. See the products feed
# specification for details.
# Note: Content API methods that operate on products take the REST id of the
# Note: Content API methods that operate on products take the REST ID of the
# product, not this identifier.
# Corresponds to the JSON property `offerId`
# @return [String]
@ -9103,7 +9104,7 @@ module Google
# @return [String]
attr_accessor :location_group_name
# The numeric id of a location that the shipping rate applies to as defined in
# The numeric ID of a location that the shipping rate applies to as defined in
# the AdWords API.
# Corresponds to the JSON property `locationId`
# @return [Fixnum]
@ -9249,7 +9250,7 @@ module Google
# @return [Google::Apis::ContentV2::Product]
attr_accessor :product
# The id of the product for which status is reported.
# The ID of the product for which status is reported.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
@ -9298,7 +9299,7 @@ module Google
# @return [String]
attr_accessor :fetch_status
# The id of the data quality issue.
# The ID of the data quality issue.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -9454,7 +9455,7 @@ module Google
# @return [String]
attr_accessor :country
# The numeric id of a location that the tax rate applies to as defined in the
# The numeric ID of a location that the tax rate applies to as defined in the
# AdWords API.
# Corresponds to the JSON property `locationId`
# @return [Fixnum]
@ -10596,7 +10597,7 @@ module Google
class TestOrderCustomer
include Google::Apis::Core::Hashable
# Deprecated.
# Email address of the customer.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email

View File

@ -1270,7 +1270,7 @@ module Google
# The code of the store for which to update price and availability. Use online
# to update price and availability of an online product.
# @param [String] product_id
# The REST id of the product for which to update price and availability.
# The REST ID of the product for which to update price and availability.
# @param [Google::Apis::ContentV2::SetInventoryRequest] set_inventory_request_object
# @param [Boolean] dry_run
# Flag to simulate a request like in a live environment. If set to true, dry-run
@ -2544,12 +2544,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order using merchant order id.
# Retrieves an order using merchant order ID.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] merchant_order_id
# The merchant order id to be looked for.
# The merchant order ID to be looked for.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -3424,7 +3424,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# The REST ID of the product.
# @param [Boolean] dry_run
# Flag to simulate a request like in a live environment. If set to true, dry-run
# mode checks the validity of the request and returns errors (if any).
@ -3463,7 +3463,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# The REST ID of the product.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -3624,7 +3624,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# The REST ID of the product.
# @param [Array<String>, String] destinations
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20190222'
REVISION = '20190304'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -594,7 +594,7 @@ module Google
attr_accessor :country
# State (or province) is which the tax is applicable, described by its location
# id (also called criteria id).
# ID (also called criteria ID).
# Corresponds to the JSON property `locationId`
# @return [Fixnum]
attr_accessor :location_id
@ -3639,11 +3639,6 @@ module Google
class OrderCustomer
include Google::Apis::Core::Hashable
# Deprecated.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email
# Full name of the customer.
# Corresponds to the JSON property `fullName`
# @return [String]
@ -3660,7 +3655,6 @@ module Google
# Update properties of this object
def update!(**args)
@email = args[:email] if args.key?(:email)
@full_name = args[:full_name] if args.key?(:full_name)
@marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info)
end
@ -3682,8 +3676,9 @@ module Google
# @return [String]
attr_accessor :last_updated_timestamp
# Email address that can be used for marketing purposes. This field is only
# filled when explicitMarketingPreference is equal to 'granted'.
# Email address that can be used for marketing purposes. The field may be empty
# even if explicitMarketingPreference is 'granted'. This happens when retrieving
# an old order from the customer who deleted his account.
# Corresponds to the JSON property `marketingEmailAddress`
# @return [String]
attr_accessor :marketing_email_address
@ -3913,7 +3908,7 @@ module Google
# Variant attributes for the item. These are dimensions of the product, such as
# color, gender, material, pattern, and size. You can find a comprehensive list
# of variant attributes <a href="
# of variant attributes here.
# Corresponds to the JSON property `variantAttributes`
# @return [Array<Google::Apis::ContentV2_1::OrderLineItemProductVariantAttribute>]
attr_accessor :variant_attributes
@ -4342,12 +4337,12 @@ module Google
# @return [Fixnum]
attr_accessor :merchant_id
# Merchant-provided id of the order.
# Merchant-provided ID of the order.
# Corresponds to the JSON property `merchantOrderId`
# @return [String]
attr_accessor :merchant_order_id
# The id of the order.
# The ID of the order.
# Corresponds to the JSON property `orderId`
# @return [String]
attr_accessor :order_id
@ -6847,9 +6842,9 @@ module Google
# @return [String]
attr_accessor :gtin
# The REST id of the product. Content API methods that operate on products take
# The REST ID of the product. Content API methods that operate on products take
# this as their productId parameter.
# The REST id for a product is of the form channel:contentLanguage:targetCountry:
# The REST ID for a product is of the form channel:contentLanguage:targetCountry:
# offerId.
# Corresponds to the JSON property `id`
# @return [String]
@ -6952,7 +6947,7 @@ module Google
# stripped and multiple whitespaces are replaced by a single whitespace upon
# submission. Only valid unicode characters are accepted. See the products feed
# specification for details.
# Note: Content API methods that operate on products take the REST id of the
# Note: Content API methods that operate on products take the REST ID of the
# product, not this identifier.
# Corresponds to the JSON property `offerId`
# @return [String]
@ -7198,7 +7193,7 @@ module Google
# @return [String]
attr_accessor :location_group_name
# The numeric id of a location that the shipping rate applies to as defined in
# The numeric ID of a location that the shipping rate applies to as defined in
# the AdWords API.
# Corresponds to the JSON property `locationId`
# @return [Fixnum]
@ -7333,7 +7328,7 @@ module Google
# @return [String]
attr_accessor :link
# The id of the product for which status is reported.
# The ID of the product for which status is reported.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
@ -7456,7 +7451,7 @@ module Google
# @return [String]
attr_accessor :country
# The numeric id of a location that the tax rate applies to as defined in the
# The numeric ID of a location that the tax rate applies to as defined in the
# AdWords API.
# Corresponds to the JSON property `locationId`
# @return [Fixnum]
@ -7987,7 +7982,7 @@ module Google
# @return [Google::Apis::ContentV2_1::Price]
attr_accessor :price
# The id (name) of the region.
# The ID (name) of the region.
# Corresponds to the JSON property `regionId`
# @return [String]
attr_accessor :region_id
@ -8675,11 +8670,6 @@ module Google
class TestOrder
include Google::Apis::Core::Hashable
# The details of the customer who placed the order.
# Corresponds to the JSON property `customer`
# @return [Google::Apis::ContentV2_1::TestOrderCustomer]
attr_accessor :customer
# Whether the orderinvoices service should support this order.
# Corresponds to the JSON property `enableOrderinvoices`
# @return [Boolean]
@ -8713,6 +8703,11 @@ module Google
# @return [String]
attr_accessor :predefined_delivery_address
# Email address of the customer.
# Corresponds to the JSON property `predefinedEmail`
# @return [String]
attr_accessor :predefined_email
# Promotions associated with the order.
# Corresponds to the JSON property `promotions`
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
@ -8736,77 +8731,19 @@ module Google
# Update properties of this object
def update!(**args)
@customer = args[:customer] if args.key?(:customer)
@enable_orderinvoices = args[:enable_orderinvoices] if args.key?(:enable_orderinvoices)
@kind = args[:kind] if args.key?(:kind)
@line_items = args[:line_items] if args.key?(:line_items)
@notification_mode = args[:notification_mode] if args.key?(:notification_mode)
@predefined_billing_address = args[:predefined_billing_address] if args.key?(:predefined_billing_address)
@predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
@predefined_email = args[:predefined_email] if args.key?(:predefined_email)
@promotions = args[:promotions] if args.key?(:promotions)
@shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost)
@shipping_option = args[:shipping_option] if args.key?(:shipping_option)
end
end
#
class TestOrderCustomer
include Google::Apis::Core::Hashable
# Deprecated.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email
# Full name of the customer.
# Corresponds to the JSON property `fullName`
# @return [String]
attr_accessor :full_name
# Customer's marketing preferences.
# Corresponds to the JSON property `marketingRightsInfo`
# @return [Google::Apis::ContentV2_1::TestOrderCustomerMarketingRightsInfo]
attr_accessor :marketing_rights_info
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@email = args[:email] if args.key?(:email)
@full_name = args[:full_name] if args.key?(:full_name)
@marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info)
end
end
#
class TestOrderCustomerMarketingRightsInfo
include Google::Apis::Core::Hashable
# Last know user use selection regards marketing preferences. In certain cases
# selection might not be known, so this field would be empty.
# Corresponds to the JSON property `explicitMarketingPreference`
# @return [String]
attr_accessor :explicit_marketing_preference
# Timestamp when last time marketing preference was updated. Could be empty, if
# user wasn't offered a selection yet.
# Corresponds to the JSON property `lastUpdatedTimestamp`
# @return [String]
attr_accessor :last_updated_timestamp
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference)
@last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp)
end
end
#
class TestOrderLineItem
include Google::Apis::Core::Hashable

View File

@ -1330,18 +1330,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderCustomer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderCustomerMarketingRightsInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestOrderLineItem
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2433,7 +2421,6 @@ module Google
class OrderCustomer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :full_name, as: 'fullName'
property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo::Representation
@ -3832,8 +3819,6 @@ module Google
class TestOrder
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :customer, as: 'customer', class: Google::Apis::ContentV2_1::TestOrderCustomer, decorator: Google::Apis::ContentV2_1::TestOrderCustomer::Representation
property :enable_orderinvoices, as: 'enableOrderinvoices'
property :kind, as: 'kind'
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::TestOrderLineItem, decorator: Google::Apis::ContentV2_1::TestOrderLineItem::Representation
@ -3841,6 +3826,7 @@ module Google
property :notification_mode, as: 'notificationMode'
property :predefined_billing_address, as: 'predefinedBillingAddress'
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
property :predefined_email, as: 'predefinedEmail'
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2_1::OrderPromotion, decorator: Google::Apis::ContentV2_1::OrderPromotion::Representation
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
@ -3849,24 +3835,6 @@ module Google
end
end
class TestOrderCustomer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :full_name, as: 'fullName'
property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2_1::TestOrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2_1::TestOrderCustomerMarketingRightsInfo::Representation
end
end
class TestOrderCustomerMarketingRightsInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
property :last_updated_timestamp, as: 'lastUpdatedTimestamp'
end
end
class TestOrderLineItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -2033,12 +2033,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves an order using merchant order id.
# Retrieves an order using merchant order ID.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.
# @param [String] merchant_order_id
# The merchant order id to be looked for.
# The merchant order ID to be looked for.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2809,7 +2809,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# The REST ID of the product.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2844,7 +2844,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# The REST ID of the product.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2993,7 +2993,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# The REST ID of the product.
# @param [Array<String>, String] destinations
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
@ -3115,7 +3115,7 @@ module Google
# The ID of the account that contains the product. This account cannot be a
# multi-client account.
# @param [String] product_id
# The REST id of the product for which to update the regional inventory.
# The REST ID of the product for which to update the regional inventory.
# @param [Google::Apis::ContentV2_1::RegionalInventory] regional_inventory_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1
VERSION = 'V1'
REVISION = '20190212'
REVISION = '20190305'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -258,7 +258,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]

View File

@ -1,32 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/partners_v2/service.rb'
require 'google/apis/partners_v2/classes.rb'
require 'google/apis/partners_v2/representations.rb'
module Google
module Apis
# Google Partners API
#
# Searches certified companies and creates contact leads with them, and also
# audits the usage of clients.
#
# @see https://developers.google.com/partners/
module PartnersV2
VERSION = 'V2'
REVISION = '20180925'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -1,905 +0,0 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module PartnersV2
class AdWordsManagerAccountInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Analytics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnalyticsDataPoint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnalyticsSummary
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AvailableOffer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Certification
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CertificationExamStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CertificationStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Company
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CompanyRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CountryOfferInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateLeadRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateLeadResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Date
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DebugInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EventData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExamStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetCompanyResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetPartnersStatusResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HistoricalOffer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LatLng
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Lead
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListAnalyticsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListCompaniesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLeadsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOffersHistoryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOffersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListUserStatesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocalizedCompanyInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogMessageRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogMessageResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogUserEventRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogUserEventResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Money
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OfferCustomer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OptIns
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PublicProfile
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Rank
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RecaptchaChallenge
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RequestMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResponseMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SpecializationStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TrafficSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class User
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UserOverrides
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UserProfile
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdWordsManagerAccountInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :customer_name, as: 'customerName'
property :id, :numeric_string => true, as: 'id'
end
end
class Analytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation
property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
end
end
class AnalyticsDataPoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :event_count, as: 'eventCount'
collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
end
end
class AnalyticsSummary
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :contacts_count, as: 'contactsCount'
property :profile_views_count, as: 'profileViewsCount'
property :search_views_count, as: 'searchViewsCount'
end
end
class AvailableOffer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :available, as: 'available'
collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :max_account_age, as: 'maxAccountAge'
property :name, as: 'name'
property :offer_level, as: 'offerLevel'
property :offer_type, as: 'offerType'
collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation
property :qualified_customers_complete, as: 'qualifiedCustomersComplete'
property :show_special_offer_copy, as: 'showSpecialOfferCopy'
property :terms, as: 'terms'
end
end
class Certification
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :achieved, as: 'achieved'
property :certification_type, as: 'certificationType'
property :expiration, as: 'expiration'
property :last_achieved, as: 'lastAchieved'
property :warning, as: 'warning'
end
end
class CertificationExamStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :number_users_pass, as: 'numberUsersPass'
property :type, as: 'type'
end
end
class CertificationStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation
property :is_certified, as: 'isCertified'
property :type, as: 'type'
property :user_count, as: 'userCount'
end
end
class Company
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :additional_websites, as: 'additionalWebsites'
collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
property :badge_authority_in_awn, as: 'badgeAuthorityInAwn'
property :badge_tier, as: 'badgeTier'
collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation
collection :company_types, as: 'companyTypes'
property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
property :id, as: 'id'
collection :industries, as: 'industries'
collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation
collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
property :name, as: 'name'
property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
property :primary_adwords_manager_account_id, :numeric_string => true, as: 'primaryAdwordsManagerAccountId'
property :primary_language_code, as: 'primaryLanguageCode'
property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
property :profile_status, as: 'profileStatus'
property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation
collection :services, as: 'services'
collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
property :website_url, as: 'websiteUrl'
end
end
class CompanyRelation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address'
property :badge_tier, as: 'badgeTier'
property :company_admin, as: 'companyAdmin'
property :company_id, as: 'companyId'
property :creation_time, as: 'creationTime'
property :internal_company_id, as: 'internalCompanyId'
property :is_pending, as: 'isPending'
property :logo_url, as: 'logoUrl'
property :manager_account, :numeric_string => true, as: 'managerAccount'
property :name, as: 'name'
property :phone_number, as: 'phoneNumber'
property :primary_address, as: 'primaryAddress', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
property :primary_country_code, as: 'primaryCountryCode'
property :primary_language_code, as: 'primaryLanguageCode'
property :resolved_timestamp, as: 'resolvedTimestamp'
collection :segment, as: 'segment'
collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
property :state, as: 'state'
property :website, as: 'website'
end
end
class CountryOfferInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :get_y_amount, as: 'getYAmount'
property :offer_country_code, as: 'offerCountryCode'
property :offer_type, as: 'offerType'
property :spend_x_amount, as: 'spendXAmount'
end
end
class CreateLeadRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation
property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
end
end
class CreateLeadResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
property :recaptcha_status, as: 'recaptchaStatus'
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class Date
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :day, as: 'day'
property :month, as: 'month'
property :year, as: 'year'
end
end
class DebugInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :server_info, as: 'serverInfo'
property :server_trace_info, as: 'serverTraceInfo'
property :service_url, as: 'serviceUrl'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class EventData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
collection :values, as: 'values'
end
end
class ExamStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exam_type, as: 'examType'
property :expiration, as: 'expiration'
property :last_passed, as: 'lastPassed'
property :passed, as: 'passed'
property :taken, as: 'taken'
property :warning, as: 'warning'
end
end
class GetCompanyResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class GetPartnersStatusResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class HistoricalOffer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adwords_url, as: 'adwordsUrl'
property :client_email, as: 'clientEmail'
property :client_id, :numeric_string => true, as: 'clientId'
property :client_name, as: 'clientName'
property :creation_time, as: 'creationTime'
property :expiration_time, as: 'expirationTime'
property :last_modified_time, as: 'lastModifiedTime'
property :offer_code, as: 'offerCode'
property :offer_country_code, as: 'offerCountryCode'
property :offer_type, as: 'offerType'
property :sender_name, as: 'senderName'
property :status, as: 'status'
end
end
class LatLng
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
end
end
class Lead
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adwords_customer_id, :numeric_string => true, as: 'adwordsCustomerId'
property :comments, as: 'comments'
property :create_time, as: 'createTime'
property :email, as: 'email'
property :family_name, as: 'familyName'
property :given_name, as: 'givenName'
collection :gps_motivations, as: 'gpsMotivations'
property :id, as: 'id'
property :language_code, as: 'languageCode'
property :marketing_opt_in, as: 'marketingOptIn'
property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
property :phone_number, as: 'phoneNumber'
property :state, as: 'state'
property :type, as: 'type'
property :website_url, as: 'websiteUrl'
end
end
class ListAnalyticsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation
property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation
property :next_page_token, as: 'nextPageToken'
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class ListCompaniesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
property :next_page_token, as: 'nextPageToken'
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class ListLeadsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
property :next_page_token, as: 'nextPageToken'
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
property :total_size, as: 'totalSize'
end
end
class ListOffersHistoryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :can_show_entire_company, as: 'canShowEntireCompany'
property :next_page_token, as: 'nextPageToken'
collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
property :showing_entire_company, as: 'showingEntireCompany'
property :total_results, as: 'totalResults'
end
end
class ListOffersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation
property :no_offer_reason, as: 'noOfferReason'
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class ListUserStatesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
collection :user_states, as: 'userStates'
end
end
class LocalizedCompanyInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :country_codes, as: 'countryCodes'
property :display_name, as: 'displayName'
property :language_code, as: 'languageCode'
property :overview, as: 'overview'
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address'
collection :address_line, as: 'addressLine'
property :administrative_area, as: 'administrativeArea'
property :dependent_locality, as: 'dependentLocality'
property :language_code, as: 'languageCode'
property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
property :locality, as: 'locality'
property :postal_code, as: 'postalCode'
property :region_code, as: 'regionCode'
property :sorting_code, as: 'sortingCode'
end
end
class LogMessageRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :client_info, as: 'clientInfo'
property :details, as: 'details'
property :level, as: 'level'
property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
end
end
class LogMessageResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class LogUserEventRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :event_action, as: 'eventAction'
property :event_category, as: 'eventCategory'
collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation
property :event_scope, as: 'eventScope'
property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
property :url, as: 'url'
end
end
class LogUserEventResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
end
end
class Money
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :currency_code, as: 'currencyCode'
property :nanos, as: 'nanos'
property :units, :numeric_string => true, as: 'units'
end
end
class OfferCustomer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adwords_url, as: 'adwordsUrl'
property :country_code, as: 'countryCode'
property :creation_time, as: 'creationTime'
property :eligibility_days_left, as: 'eligibilityDaysLeft'
property :external_cid, :numeric_string => true, as: 'externalCid'
property :get_y_amount, as: 'getYAmount'
property :name, as: 'name'
property :offer_type, as: 'offerType'
property :spend_x_amount, as: 'spendXAmount'
end
end
class OptIns
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :market_comm, as: 'marketComm'
property :performance_suggestions, as: 'performanceSuggestions'
property :phone_contact, as: 'phoneContact'
property :physical_mail, as: 'physicalMail'
property :special_offers, as: 'specialOffers'
end
end
class PublicProfile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_image_url, as: 'displayImageUrl'
property :display_name, as: 'displayName'
property :id, as: 'id'
property :profile_image, as: 'profileImage'
property :url, as: 'url'
end
end
class Rank
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
property :value, as: 'value'
end
end
class RecaptchaChallenge
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :response, as: 'response'
end
end
class RequestMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :experiment_ids, as: 'experimentIds'
property :locale, as: 'locale'
property :partners_session_id, as: 'partnersSessionId'
property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation
property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation
end
end
class ResponseMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation
end
end
class SpecializationStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :badge_specialization, as: 'badgeSpecialization'
property :badge_specialization_state, as: 'badgeSpecializationState'
end
end
class TrafficSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :traffic_source_id, as: 'trafficSourceId'
property :traffic_sub_id, as: 'trafficSubId'
end
end
class User
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :afa_info_shared, as: 'afaInfoShared'
collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation
property :company_verification_email, as: 'companyVerificationEmail'
collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation
property :id, as: 'id'
property :internal_id, as: 'internalId'
property :last_access_time, as: 'lastAccessTime'
collection :primary_emails, as: 'primaryEmails'
property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation
property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
end
end
class UserOverrides
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :user_id, as: 'userId'
end
end
class UserProfile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
property :adwords_manager_account, :numeric_string => true, as: 'adwordsManagerAccount'
collection :channels, as: 'channels'
property :email_address, as: 'emailAddress'
property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation
property :family_name, as: 'familyName'
property :given_name, as: 'givenName'
collection :industries, as: 'industries'
collection :job_functions, as: 'jobFunctions'
collection :languages, as: 'languages'
collection :markets, as: 'markets'
property :migrate_to_afa, as: 'migrateToAfa'
property :phone_number, as: 'phoneNumber'
property :primary_country_code, as: 'primaryCountryCode'
property :profile_public, as: 'profilePublic'
end
end
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1
VERSION = 'V1'
REVISION = '20190116'
REVISION = '20190227'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -66,7 +66,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1beta2
VERSION = 'V1beta2'
REVISION = '20180723'
REVISION = '20190227'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -66,7 +66,7 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `domain:`domain``: A Google Apps domain name that represents all the
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/spanner/
module SpannerV1
VERSION = 'V1'
REVISION = '20190212'
REVISION = '20190214'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -830,6 +830,130 @@ module Google
end
end
# The request for ExecuteBatchDml
class ExecuteBatchDmlRequest
include Google::Apis::Core::Hashable
# A per-transaction sequence number used to identify this request. This is
# used in the same space as the seqno in
# ExecuteSqlRequest. See more details
# in ExecuteSqlRequest.
# Corresponds to the JSON property `seqno`
# @return [Fixnum]
attr_accessor :seqno
# The list of statements to execute in this batch. Statements are executed
# serially, such that the effects of statement i are visible to statement
# i+1. Each statement must be a DML statement. Execution will stop at the
# first failed statement; the remaining statements will not run.
# REQUIRES: statements_size() > 0.
# Corresponds to the JSON property `statements`
# @return [Array<Google::Apis::SpannerV1::Statement>]
attr_accessor :statements
# This message is used to select the transaction in which a
# Read or
# ExecuteSql call runs.
# See TransactionOptions for more information about transactions.
# Corresponds to the JSON property `transaction`
# @return [Google::Apis::SpannerV1::TransactionSelector]
attr_accessor :transaction
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@seqno = args[:seqno] if args.key?(:seqno)
@statements = args[:statements] if args.key?(:statements)
@transaction = args[:transaction] if args.key?(:transaction)
end
end
# The response for ExecuteBatchDml. Contains a list
# of ResultSet, one for each DML statement that has successfully executed.
# If a statement fails, the error is returned as part of the response payload.
# Clients can determine whether all DML statements have run successfully, or if
# a statement failed, using one of the following approaches:
# 1. Check if 'status' field is OkStatus.
# 2. Check if result_sets_size() equals the number of statements in
# ExecuteBatchDmlRequest.
# Example 1: A request with 5 DML statements, all executed successfully.
# Result: A response with 5 ResultSets, one for each statement in the same
# order, and an OK status.
# Example 2: A request with 5 DML statements. The 3rd statement has a syntax
# error.
# Result: A response with 2 ResultSets, for the first 2 statements that
# run successfully, and a syntax error (INVALID_ARGUMENT) status. From
# result_set_size() client can determine that the 3rd statement has failed.
class ExecuteBatchDmlResponse
include Google::Apis::Core::Hashable
# ResultSets, one for each statement in the request that ran successfully, in
# the same order as the statements in the request. Each ResultSet will
# not contain any rows. The ResultSetStats in each ResultSet will
# contain the number of rows modified by the statement.
# Only the first ResultSet in the response contains a valid
# ResultSetMetadata.
# Corresponds to the JSON property `resultSets`
# @return [Array<Google::Apis::SpannerV1::ResultSet>]
attr_accessor :result_sets
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# Corresponds to the JSON property `status`
# @return [Google::Apis::SpannerV1::Status]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@result_sets = args[:result_sets] if args.key?(:result_sets)
@status = args[:status] if args.key?(:status)
end
end
# The request for ExecuteSql and
# ExecuteStreamingSql.
class ExecuteSqlRequest
@ -2522,6 +2646,53 @@ module Google
end
end
# A single DML statement.
class Statement
include Google::Apis::Core::Hashable
# It is not always possible for Cloud Spanner to infer the right SQL type
# from a JSON value. For example, values of type `BYTES` and values
# of type `STRING` both appear in params as JSON strings.
# In these cases, `param_types` can be used to specify the exact
# SQL type for some or all of the SQL statement parameters. See the
# definition of Type for more information
# about SQL types.
# Corresponds to the JSON property `paramTypes`
# @return [Hash<String,Google::Apis::SpannerV1::Type>]
attr_accessor :param_types
# The DML string can contain parameter placeholders. A parameter
# placeholder consists of `'@'` followed by the parameter
# name. Parameter names consist of any combination of letters,
# numbers, and underscores.
# Parameters can appear anywhere that a literal value is expected. The
# same parameter name can be used more than once, for example:
# `"WHERE id > @msg_id AND id < @msg_id + 100"`
# It is an error to execute an SQL statement with unbound parameters.
# Parameter values are specified using `params`, which is a JSON
# object whose keys are parameter names, and whose values are the
# corresponding parameter values.
# Corresponds to the JSON property `params`
# @return [Hash<String,Object>]
attr_accessor :params
# Required. The DML string.
# Corresponds to the JSON property `sql`
# @return [String]
attr_accessor :sql
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@param_types = args[:param_types] if args.key?(:param_types)
@params = args[:params] if args.key?(:params)
@sql = args[:sql] if args.key?(:sql)
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:

View File

@ -100,6 +100,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ExecuteBatchDmlRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExecuteBatchDmlResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExecuteSqlRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -316,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Statement
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -505,6 +523,27 @@ module Google
end
end
class ExecuteBatchDmlRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :seqno, :numeric_string => true, as: 'seqno'
collection :statements, as: 'statements', class: Google::Apis::SpannerV1::Statement, decorator: Google::Apis::SpannerV1::Statement::Representation
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
end
end
class ExecuteBatchDmlResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :result_sets, as: 'resultSets', class: Google::Apis::SpannerV1::ResultSet, decorator: Google::Apis::SpannerV1::ResultSet::Representation
property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
end
end
class ExecuteSqlRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -879,6 +918,16 @@ module Google
end
end
class Statement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
hash :params, as: 'params'
property :sql, as: 'sql'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1129,6 +1129,54 @@ module Google
execute_or_queue_command(command, &block)
end
# Executes a batch of SQL DML statements. This method allows many statements
# to be run with lower latency than submitting them sequentially with
# ExecuteSql.
# Statements are executed in order, sequentially.
# ExecuteBatchDmlResponse will contain a
# ResultSet for each DML statement that has successfully executed. If a
# statement fails, its error status will be returned as part of the
# ExecuteBatchDmlResponse. Execution will
# stop at the first failed statement; the remaining statements will not run.
# ExecuteBatchDml is expected to return an OK status with a response even if
# there was an error while processing one of the DML statements. Clients must
# inspect response.status to determine if there were any errors while
# processing the request.
# See more details in
# ExecuteBatchDmlRequest and
# ExecuteBatchDmlResponse.
# @param [String] session
# Required. The session in which the DML statements should be performed.
# @param [Google::Apis::SpannerV1::ExecuteBatchDmlRequest] execute_batch_dml_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SpannerV1::ExecuteBatchDmlResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SpannerV1::ExecuteBatchDmlResponse]
#
# @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 execute_session_batch_dml(session, execute_batch_dml_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+session}:executeBatchDml', options)
command.request_representation = Google::Apis::SpannerV1::ExecuteBatchDmlRequest::Representation
command.request_object = execute_batch_dml_request_object
command.response_representation = Google::Apis::SpannerV1::ExecuteBatchDmlResponse::Representation
command.response_class = Google::Apis::SpannerV1::ExecuteBatchDmlResponse
command.params['session'] = session unless session.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Executes an SQL statement, returning all results in a single reply. This
# method cannot be used to return a result set larger than 10 MiB;
# if the query yields more data than that, the query fails with