Autogenerated update (2017-09-08)

Update:
- adsense_v1_4
- adsensehost_v4_1
- calendar_v3
- container_v1
- container_v1beta1
- content_v2sandbox
- datastore_v1
- datastore_v1beta1
- datastore_v1beta3
- firebasedynamiclinks_v1
- storage_v1
- storage_v1beta1
- storage_v1beta2
- toolresults_v1beta3
- toolresults_v1beta3firstparty
- webmasters_v3
- youtube_analytics_v1
- youtube_analytics_v1beta1
- youtube_partner_v1
This commit is contained in:
Google APIs 2017-09-08 00:35:46 +00:00
parent 7321bd9a8c
commit db457a47fa
89 changed files with 514 additions and 132 deletions

View File

@ -26387,10 +26387,12 @@
"/container:v1beta1/NodePoolAutoscaling/minNodeCount": min_node_count
"/container:v1beta1/Operation": operation
"/container:v1beta1/Operation/detail": detail
"/container:v1beta1/Operation/endTime": end_time
"/container:v1beta1/Operation/location": location
"/container:v1beta1/Operation/name": name
"/container:v1beta1/Operation/operationType": operation_type
"/container:v1beta1/Operation/selfLink": self_link
"/container:v1beta1/Operation/startTime": start_time
"/container:v1beta1/Operation/status": status
"/container:v1beta1/Operation/statusMessage": status_message
"/container:v1beta1/Operation/targetLink": target_link
@ -38881,6 +38883,12 @@
"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/shortLink": short_link
"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning": warning
"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning/warning": warning
"/firebasedynamiclinks:v1/DeviceInfo": device_info
"/firebasedynamiclinks:v1/DeviceInfo/deviceModelName": device_model_name
"/firebasedynamiclinks:v1/DeviceInfo/languageCode": language_code
"/firebasedynamiclinks:v1/DeviceInfo/screenResolutionHeight": screen_resolution_height
"/firebasedynamiclinks:v1/DeviceInfo/screenResolutionWidth": screen_resolution_width
"/firebasedynamiclinks:v1/DeviceInfo/timezone": timezone
"/firebasedynamiclinks:v1/DynamicLinkEventStat": dynamic_link_event_stat
"/firebasedynamiclinks:v1/DynamicLinkEventStat/count": count
"/firebasedynamiclinks:v1/DynamicLinkEventStat/event": event
@ -38900,6 +38908,29 @@
"/firebasedynamiclinks:v1/DynamicLinkWarning/warningCode": warning_code
"/firebasedynamiclinks:v1/DynamicLinkWarning/warningDocumentLink": warning_document_link
"/firebasedynamiclinks:v1/DynamicLinkWarning/warningMessage": warning_message
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest": get_ios_post_install_attribution_request
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/appInstallationTime": app_installation_time
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/bundleId": bundle_id
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/device": device
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/iosVersion": ios_version
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/retrievalMethod": retrieval_method
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/sdkVersion": sdk_version
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/uniqueMatchLinkToCheck": unique_match_link_to_check
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionRequest/visualStyle": visual_style
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse": get_ios_post_install_attribution_response
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/appMinimumVersion": app_minimum_version
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/attributionConfidence": attribution_confidence
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/deepLink": deep_link
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/externalBrowserDestinationLink": external_browser_destination_link
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/fallbackLink": fallback_link
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/invitationId": invitation_id
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/isStrongMatchExecutable": is_strong_match_executable
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/matchMessage": match_message
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/requestedLink": requested_link
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/resolvedLink": resolved_link
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmCampaign": utm_campaign
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmMedium": utm_medium
"/firebasedynamiclinks:v1/GetIosPostInstallAttributionResponse/utmSource": utm_source
"/firebasedynamiclinks:v1/GooglePlayAnalytics": google_play_analytics
"/firebasedynamiclinks:v1/GooglePlayAnalytics/gclid": gclid
"/firebasedynamiclinks:v1/GooglePlayAnalytics/utmCampaign": utm_campaign
@ -53476,6 +53507,7 @@
"/storage:v1/Policy": policy
"/storage:v1/Policy/bindings": bindings
"/storage:v1/Policy/bindings/binding": binding
"/storage:v1/Policy/bindings/binding/condition": condition
"/storage:v1/Policy/bindings/binding/members": members
"/storage:v1/Policy/bindings/binding/members/member": member
"/storage:v1/Policy/bindings/binding/role": role

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'adexchangebuyer/v1.3/')
@batch_path = 'batch'
@batch_path = 'batch/adexchangebuyer/v1.3'
end
# Gets one account by ID.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'adexchangebuyer/v1.4/')
@batch_path = 'batch'
@batch_path = 'batch/adexchangebuyer/v1.4'
end
# Gets one account by ID.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'adexchangeseller/v1/')
@batch_path = 'batch'
@batch_path = 'batch/adexchangeseller/v1'
end
# List all ad clients in this Ad Exchange account.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'adexchangeseller/v2.0/')
@batch_path = 'batch'
@batch_path = 'batch/adexchangeseller/v2.0'
end
# Get information about the selected Ad Exchange account.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'admin/reports/v1/')
@batch_path = 'batch'
@batch_path = 'batch/admin/reports_v1'
end
# Retrieves a list of activities for a specific customer and application.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/adsense/management/
module AdsenseV1_4
VERSION = 'V1_4'
REVISION = '20170904'
REVISION = '20170906'
# View and manage your AdSense data
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'adsense/v1.4/')
@batch_path = 'batch'
@batch_path = 'batch/adsense/v1.4'
end
# Get information about the selected AdSense account.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/adsense/host/
module AdsensehostV4_1
VERSION = 'V4_1'
REVISION = '20170904'
REVISION = '20170905'
# View and manage your AdSense host data and associated accounts
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'analytics/v3/')
@batch_path = 'batch/analytics/v3'
@batch_path = 'batch'
end
# Returns Analytics data for a view (profile).

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'androidenterprise/v1/')
@batch_path = 'batch'
@batch_path = 'batch/androidenterprise/v1'
end
# Retrieves the details of a device.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'androidpublisher/v1/applications/')
@batch_path = 'batch/androidpublisher/v1'
@batch_path = 'batch'
end
# Cancels a user's subscription purchase. The subscription remains valid until

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'androidpublisher/v1.1/applications/')
@batch_path = 'batch/androidpublisher/v1.1'
@batch_path = 'batch'
end
# Checks the purchase and consumption status of an inapp item.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'androidpublisher/v2/applications/')
@batch_path = 'batch'
@batch_path = 'batch/androidpublisher/v2'
end
# Commits/applies the changes made in this edit back to the app.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'appsactivity/v1/')
@batch_path = 'batch'
@batch_path = 'batch/appsactivity/v1'
end
# Returns a list of activities visible to the current logged in user. Visible

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'appsmarket/v2/')
@batch_path = 'batch'
@batch_path = 'batch/appsmarket/v2'
end
#

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'blogger/v2/')
@batch_path = 'batch'
@batch_path = 'batch/blogger/v2'
end
# Gets one blog by id.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20170829'
REVISION = '20170903'
# Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'civicinfo/v2/')
@batch_path = 'batch'
@batch_path = 'batch/civicinfo/v2'
end
# Searches for political divisions by their natural name or OCD ID.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'clouduseraccounts/alpha/projects/')
@batch_path = 'batch'
@batch_path = 'batch/clouduseraccounts/alpha'
end
# Deletes the specified operation resource.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'clouduseraccounts/beta/projects/')
@batch_path = 'batch'
@batch_path = 'batch/clouduseraccounts/beta'
end
# Deletes the specified operation resource.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'clouduseraccounts/vm_beta/projects/')
@batch_path = 'batch'
@batch_path = 'batch/clouduseraccounts/vm_beta'
end
# Deletes the specified operation resource.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'consumersurveys/v2/')
@batch_path = 'batch'
@batch_path = 'batch/consumersurveys/v2'
end
# Retrieves a MobileAppPanel that is available to the authenticated user.

View File

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

View File

@ -1056,7 +1056,7 @@ module Google
# the Kubernetes version -- it's best to assume the behavior is undefined
# and conflicts should be avoided.
# For more information, including usage and the valid values, see:
# http://kubernetes.io/v1.1/docs/user-guide/labels.html
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20170818'
REVISION = '20170825'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1136,7 +1136,7 @@ module Google
# the Kubernetes version -- it's best to assume the behavior is undefined
# and conflicts should be avoided.
# For more information, including usage and the valid values, see:
# http://kubernetes.io/v1.1/docs/user-guide/labels.html
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
@ -1396,6 +1396,12 @@ module Google
# @return [String]
attr_accessor :detail
# [Output only] The time the operation completed, in
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# [Output only] The name of the Google Compute Engine
# [zone](/compute/docs/regions-zones/regions-zones#available) or
# [region](/compute/docs/regions-zones/regions-zones#available) in which
@ -1419,6 +1425,12 @@ module Google
# @return [String]
attr_accessor :self_link
# [Output only] The time the operation started, in
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# The current status of the operation.
# Corresponds to the JSON property `status`
# @return [String]
@ -1449,10 +1461,12 @@ module Google
# Update properties of this object
def update!(**args)
@detail = args[:detail] if args.key?(:detail)
@end_time = args[:end_time] if args.key?(:end_time)
@location = args[:location] if args.key?(:location)
@name = args[:name] if args.key?(:name)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@self_link = args[:self_link] if args.key?(:self_link)
@start_time = args[:start_time] if args.key?(:start_time)
@status = args[:status] if args.key?(:status)
@status_message = args[:status_message] if args.key?(:status_message)
@target_link = args[:target_link] if args.key?(:target_link)

View File

@ -547,10 +547,12 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detail, as: 'detail'
property :end_time, as: 'endTime'
property :location, as: 'location'
property :name, as: 'name'
property :operation_type, as: 'operationType'
property :self_link, as: 'selfLink'
property :start_time, as: 'startTime'
property :status, as: 'status'
property :status_message, as: 'statusMessage'
property :target_link, as: 'targetLink'

View File

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

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'customsearch/')
@batch_path = 'batch'
@batch_path = 'batch/customsearch/v1'
end
# Returns metadata about the search performed, metadata about the custom search

View File

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

View File

@ -353,12 +353,12 @@ module Google
attr_accessor :end_time
# The client-assigned labels which were provided when the operation was
# created. May also include additional labels.
# created. May also include additional labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The type of the operation. Can be used as a filter in
# The type of the operation. Can be used as a filter in
# ListOperationsRequest.
# Corresponds to the JSON property `operationType`
# @return [String]
@ -388,8 +388,8 @@ module Google
end
end
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -410,9 +410,9 @@ module Google
# @return [Array<String>]
attr_accessor :kinds
# An empty list represents all namespaces. This is the preferred
# An empty list represents all namespaces. This is the preferred
# usage for projects that don't use namespaces.
# An empty string element represents the default namespace. This should be
# An empty string element represents the default namespace. This should be
# used if the project has data in non-default namespaces, but doesn't want to
# include them.
# Each namespace in this list must be unique.
@ -440,8 +440,8 @@ module Google
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -523,8 +523,8 @@ module Google
# @return [Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -576,12 +576,13 @@ module Google
class GoogleDatastoreAdminV1beta1Progress
include Google::Apis::Core::Hashable
# Note that this may be greater than work_estimated.
# The amount of work that has been completed. Note that this may be greater
# than work_estimated.
# Corresponds to the JSON property `workCompleted`
# @return [Fixnum]
attr_accessor :work_completed
# An estimate of how much work needs to be performed. May be zero if the
# An estimate of how much work needs to be performed. May be zero if the
# work estimate is unavailable.
# Corresponds to the JSON property `workEstimated`
# @return [Fixnum]
@ -629,7 +630,7 @@ module Google
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If true, the operation is completed, and either `error` or `response` is
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# Corresponds to the JSON property `done`
# @return [Boolean]

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1beta1
VERSION = 'V1beta1'
REVISION = '20170821'
REVISION = '20170904'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -32,12 +32,12 @@ module Google
attr_accessor :end_time
# The client-assigned labels which were provided when the operation was
# created. May also include additional labels.
# created. May also include additional labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The type of the operation. Can be used as a filter in
# The type of the operation. Can be used as a filter in
# ListOperationsRequest.
# Corresponds to the JSON property `operationType`
# @return [String]
@ -67,8 +67,8 @@ module Google
end
end
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -89,9 +89,9 @@ module Google
# @return [Array<String>]
attr_accessor :kinds
# An empty list represents all namespaces. This is the preferred
# An empty list represents all namespaces. This is the preferred
# usage for projects that don't use namespaces.
# An empty string element represents the default namespace. This should be
# An empty string element represents the default namespace. This should be
# used if the project has data in non-default namespaces, but doesn't want to
# include them.
# Each namespace in this list must be unique.
@ -119,8 +119,8 @@ module Google
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1beta1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -175,8 +175,8 @@ module Google
class GoogleDatastoreAdminV1beta1ExportEntitiesRequest
include Google::Apis::Core::Hashable
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -262,8 +262,8 @@ module Google
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1beta1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -316,8 +316,8 @@ module Google
class GoogleDatastoreAdminV1beta1ImportEntitiesRequest
include Google::Apis::Core::Hashable
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -334,7 +334,7 @@ module Google
# @return [Google::Apis::DatastoreV1beta1::GoogleDatastoreAdminV1beta1EntityFilter]
attr_accessor :entity_filter
# The full resource URL of the external storage location. Currently, only
# The full resource URL of the external storage location. Currently, only
# Google Cloud Storage is supported. So input_url should be of the form:
# `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where
# `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is
@ -372,12 +372,13 @@ module Google
class GoogleDatastoreAdminV1beta1Progress
include Google::Apis::Core::Hashable
# Note that this may be greater than work_estimated.
# The amount of work that has been completed. Note that this may be greater
# than work_estimated.
# Corresponds to the JSON property `workCompleted`
# @return [Fixnum]
attr_accessor :work_completed
# An estimate of how much work needs to be performed. May be zero if the
# An estimate of how much work needs to be performed. May be zero if the
# work estimate is unavailable.
# Corresponds to the JSON property `workEstimated`
# @return [Fixnum]
@ -400,7 +401,7 @@ module Google
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If true, the operation is completed, and either `error` or `response` is
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# Corresponds to the JSON property `done`
# @return [Boolean]

View File

@ -52,7 +52,7 @@ module Google
# to another storage system, such as Google Cloud Storage. Recent updates to
# entities may not be reflected in the export. The export occurs in the
# background and its progress can be monitored and managed via the
# Operation resource that is created. The output of an export may only be
# Operation resource that is created. The output of an export may only be
# used once the associated operation is done. If an export operation is
# cancelled before completion it may leave partial data behind in Google
# Cloud Storage.
@ -91,7 +91,7 @@ module Google
# Imports entities into Google Cloud Datastore. Existing entities with the
# same key are overwritten. The import occurs in the background and its
# progress can be monitored and managed via the Operation resource that is
# created. If an ImportEntities operation is cancelled, it is possible
# created. If an ImportEntities operation is cancelled, it is possible
# that a subset of the data has already been imported to Cloud Datastore.
# @param [String] project_id
# Project ID against which to make the request.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1beta3
VERSION = 'V1beta3'
REVISION = '20170811'
REVISION = '20170904'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -334,12 +334,12 @@ module Google
attr_accessor :end_time
# The client-assigned labels which were provided when the operation was
# created. May also include additional labels.
# created. May also include additional labels.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The type of the operation. Can be used as a filter in
# The type of the operation. Can be used as a filter in
# ListOperationsRequest.
# Corresponds to the JSON property `operationType`
# @return [String]
@ -369,8 +369,8 @@ module Google
end
end
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -391,9 +391,9 @@ module Google
# @return [Array<String>]
attr_accessor :kinds
# An empty list represents all namespaces. This is the preferred
# An empty list represents all namespaces. This is the preferred
# usage for projects that don't use namespaces.
# An empty string element represents the default namespace. This should be
# An empty string element represents the default namespace. This should be
# used if the project has data in non-default namespaces, but doesn't want to
# include them.
# Each namespace in this list must be unique.
@ -421,8 +421,8 @@ module Google
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -504,8 +504,8 @@ module Google
# @return [Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata]
attr_accessor :common
# Identifies a subset of entities in a project. This is specified as
# combinations of kind + namespace (either or both of which may be all, as
# Identifies a subset of entities in a project. This is specified as
# combinations of kinds and namespaces (either or both of which may be all, as
# described in the following examples).
# Example usage:
# Entire project:
@ -557,12 +557,13 @@ module Google
class GoogleDatastoreAdminV1beta1Progress
include Google::Apis::Core::Hashable
# Note that this may be greater than work_estimated.
# The amount of work that has been completed. Note that this may be greater
# than work_estimated.
# Corresponds to the JSON property `workCompleted`
# @return [Fixnum]
attr_accessor :work_completed
# An estimate of how much work needs to be performed. May be zero if the
# An estimate of how much work needs to be performed. May be zero if the
# work estimate is unavailable.
# Corresponds to the JSON property `workEstimated`
# @return [Fixnum]

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'deploymentmanager/alpha/projects/')
@batch_path = 'batch'
@batch_path = 'batch/deploymentmanager/alpha'
end
# Deletes a composite type.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/')
@batch_path = 'batch/deploymentmanager/v2'
@batch_path = 'batch'
end
# Cancels and removes the preview currently associated with the deployment.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'dfareporting/v2.7/')
@batch_path = 'batch'
@batch_path = 'batch/dfareporting/v2.7'
end
# Gets the account's active ad summary by account ID.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'dfareporting/v2.8/')
@batch_path = 'batch'
@batch_path = 'batch/dfareporting/v2.8'
end
# Gets the account's active ad summary by account ID.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'dns/v1/projects/')
@batch_path = 'batch/dns/v1'
@batch_path = 'batch'
end
# Atomically update the ResourceRecordSet collection.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'dns/v2beta1/projects/')
@batch_path = 'batch'
@batch_path = 'batch/dns/v2beta1'
end
# Atomically update the ResourceRecordSet collection.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/')
@batch_path = 'batch'
@batch_path = 'batch/doubleclickbidmanager/v1'
end
# Retrieves line items in CSV format.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'doubleclicksearch/v2/')
@batch_path = 'batch/doubleclicksearch/v2'
@batch_path = 'batch'
end
# Retrieves a list of conversions from a DoubleClick Search engine account.

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1
VERSION = 'V1'
REVISION = '20170809'
REVISION = '20170907'
# View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

@ -153,6 +153,49 @@ module Google
end
end
# Signals associated with the device making the request.
class DeviceInfo
include Google::Apis::Core::Hashable
# Device model name.
# Corresponds to the JSON property `deviceModelName`
# @return [String]
attr_accessor :device_model_name
# Device language code setting.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Device display resolution height.
# Corresponds to the JSON property `screenResolutionHeight`
# @return [Fixnum]
attr_accessor :screen_resolution_height
# Device display resolution width.
# Corresponds to the JSON property `screenResolutionWidth`
# @return [Fixnum]
attr_accessor :screen_resolution_width
# Device timezone setting.
# Corresponds to the JSON property `timezone`
# @return [String]
attr_accessor :timezone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@device_model_name = args[:device_model_name] if args.key?(:device_model_name)
@language_code = args[:language_code] if args.key?(:language_code)
@screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height)
@screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width)
@timezone = args[:timezone] if args.key?(:timezone)
end
end
# Dynamic Link event stat.
class DynamicLinkEventStat
include Google::Apis::Core::Hashable
@ -298,6 +341,187 @@ module Google
end
end
# Request for iSDK to execute strong match flow for post-install attribution.
# This is meant for iOS requests only. Requests from other platforms will
# not be honored.
class GetIosPostInstallAttributionRequest
include Google::Apis::Core::Hashable
# App installation epoch time (https://en.wikipedia.org/wiki/Unix_time).
# This is a client signal for a more accurate weak match.
# Corresponds to the JSON property `appInstallationTime`
# @return [Fixnum]
attr_accessor :app_installation_time
# APP bundle ID.
# Corresponds to the JSON property `bundleId`
# @return [String]
attr_accessor :bundle_id
# Signals associated with the device making the request.
# Corresponds to the JSON property `device`
# @return [Google::Apis::FirebasedynamiclinksV1::DeviceInfo]
attr_accessor :device
# iOS version, ie: 9.3.5.
# Consider adding "build".
# Corresponds to the JSON property `iosVersion`
# @return [String]
attr_accessor :ios_version
# App post install attribution retrieval information. Disambiguates
# mechanism (iSDK or developer invoked) to retrieve payload from
# clicked link.
# Corresponds to the JSON property `retrievalMethod`
# @return [String]
attr_accessor :retrieval_method
# Google SDK version.
# Corresponds to the JSON property `sdkVersion`
# @return [String]
attr_accessor :sdk_version
# Possible unique matched link that server need to check before performing
# fingerprint match. If passed link is short server need to expand the link.
# If link is long server need to vslidate the link.
# Corresponds to the JSON property `uniqueMatchLinkToCheck`
# @return [String]
attr_accessor :unique_match_link_to_check
# Strong match page information. Disambiguates between default UI and
# custom page to present when strong match succeeds/fails to find cookie.
# Corresponds to the JSON property `visualStyle`
# @return [String]
attr_accessor :visual_style
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_installation_time = args[:app_installation_time] if args.key?(:app_installation_time)
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
@device = args[:device] if args.key?(:device)
@ios_version = args[:ios_version] if args.key?(:ios_version)
@retrieval_method = args[:retrieval_method] if args.key?(:retrieval_method)
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
@unique_match_link_to_check = args[:unique_match_link_to_check] if args.key?(:unique_match_link_to_check)
@visual_style = args[:visual_style] if args.key?(:visual_style)
end
end
# Response for iSDK to execute strong match flow for post-install attribution.
class GetIosPostInstallAttributionResponse
include Google::Apis::Core::Hashable
# The minimum version for app, specified by dev through ?imv= parameter.
# Return to iSDK to allow app to evaluate if current version meets this.
# Corresponds to the JSON property `appMinimumVersion`
# @return [String]
attr_accessor :app_minimum_version
# The confidence of the returned attribution.
# Corresponds to the JSON property `attributionConfidence`
# @return [String]
attr_accessor :attribution_confidence
# The deep-link attributed post-install via one of several techniques
# (fingerprint, copy unique).
# Corresponds to the JSON property `deepLink`
# @return [String]
attr_accessor :deep_link
# User-agent specific custom-scheme URIs for iSDK to open. This will be set
# according to the user-agent tha the click was originally made in. There is
# no Safari-equivalent custom-scheme open URLs.
# ie: googlechrome://www.example.com
# ie: firefox://open-url?url=http://www.example.com
# ie: opera-http://example.com
# Corresponds to the JSON property `externalBrowserDestinationLink`
# @return [String]
attr_accessor :external_browser_destination_link
# The link to navigate to update the app if min version is not met.
# This is either (in order): 1) fallback link (from ?ifl= parameter, if
# specified by developer) or 2) AppStore URL (from ?isi= parameter, if
# specified), or 3) the payload link (from required link= parameter).
# Corresponds to the JSON property `fallbackLink`
# @return [String]
attr_accessor :fallback_link
# Invitation ID attributed post-install via one of several techniques
# (fingerprint, copy unique).
# Corresponds to the JSON property `invitationId`
# @return [String]
attr_accessor :invitation_id
# Instruction for iSDK to attemmpt to perform strong match. For instance,
# if browser does not support/allow cookie or outside of support browsers,
# this will be false.
# Corresponds to the JSON property `isStrongMatchExecutable`
# @return [Boolean]
attr_accessor :is_strong_match_executable
alias_method :is_strong_match_executable?, :is_strong_match_executable
# Describes why match failed, ie: "discarded due to low confidence".
# This message will be publicly visible.
# Corresponds to the JSON property `matchMessage`
# @return [String]
attr_accessor :match_message
# Entire FDL (short or long) attributed post-install via one of several
# techniques (fingerprint, copy unique).
# Corresponds to the JSON property `requestedLink`
# @return [String]
attr_accessor :requested_link
# The entire FDL, expanded from a short link. It is the same as the
# requested_link, if it is long. Parameters from this should not be
# used directly (ie: server can default utm_[campaign|medium|source]
# to a value when requested_link lack them, server determine the best
# fallback_link when requested_link specifies >1 fallback links).
# Corresponds to the JSON property `resolvedLink`
# @return [String]
attr_accessor :resolved_link
# Scion campaign value to be propagated by iSDK to Scion at post-install.
# Corresponds to the JSON property `utmCampaign`
# @return [String]
attr_accessor :utm_campaign
# Scion medium value to be propagated by iSDK to Scion at post-install.
# Corresponds to the JSON property `utmMedium`
# @return [String]
attr_accessor :utm_medium
# Scion source value to be propagated by iSDK to Scion at post-install.
# Corresponds to the JSON property `utmSource`
# @return [String]
attr_accessor :utm_source
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_minimum_version = args[:app_minimum_version] if args.key?(:app_minimum_version)
@attribution_confidence = args[:attribution_confidence] if args.key?(:attribution_confidence)
@deep_link = args[:deep_link] if args.key?(:deep_link)
@external_browser_destination_link = args[:external_browser_destination_link] if args.key?(:external_browser_destination_link)
@fallback_link = args[:fallback_link] if args.key?(:fallback_link)
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
@is_strong_match_executable = args[:is_strong_match_executable] if args.key?(:is_strong_match_executable)
@match_message = args[:match_message] if args.key?(:match_message)
@requested_link = args[:requested_link] if args.key?(:requested_link)
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)
@utm_source = args[:utm_source] if args.key?(:utm_source)
end
end
# Parameters for Google Play Campaign Measurements.
# [Learn more](https://developers.google.com/analytics/devguides/collection/
# android/v4/campaigns#campaign-params)

View File

@ -46,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeviceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DynamicLinkEventStat
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -70,6 +76,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GetIosPostInstallAttributionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetIosPostInstallAttributionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePlayAnalytics
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -147,6 +165,17 @@ module Google
end
end
class DeviceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_model_name, as: 'deviceModelName'
property :language_code, as: 'languageCode'
property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight'
property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth'
property :timezone, as: 'timezone'
end
end
class DynamicLinkEventStat
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -191,6 +220,40 @@ module Google
end
end
class GetIosPostInstallAttributionRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_installation_time, :numeric_string => true, as: 'appInstallationTime'
property :bundle_id, as: 'bundleId'
property :device, as: 'device', class: Google::Apis::FirebasedynamiclinksV1::DeviceInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DeviceInfo::Representation
property :ios_version, as: 'iosVersion'
property :retrieval_method, as: 'retrievalMethod'
property :sdk_version, as: 'sdkVersion'
property :unique_match_link_to_check, as: 'uniqueMatchLinkToCheck'
property :visual_style, as: 'visualStyle'
end
end
class GetIosPostInstallAttributionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_minimum_version, as: 'appMinimumVersion'
property :attribution_confidence, as: 'attributionConfidence'
property :deep_link, as: 'deepLink'
property :external_browser_destination_link, as: 'externalBrowserDestinationLink'
property :fallback_link, as: 'fallbackLink'
property :invitation_id, as: 'invitationId'
property :is_strong_match_executable, as: 'isStrongMatchExecutable'
property :match_message, as: 'matchMessage'
property :requested_link, as: 'requestedLink'
property :resolved_link, as: 'resolvedLink'
property :utm_campaign, as: 'utmCampaign'
property :utm_medium, as: 'utmMedium'
property :utm_source, as: 'utmSource'
end
end
class GooglePlayAnalytics
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -117,6 +117,36 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Get iOS strong/weak-match info for post-install attribution.
# @param [Google::Apis::FirebasedynamiclinksV1::GetIosPostInstallAttributionRequest] get_ios_post_install_attribution_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::FirebasedynamiclinksV1::GetIosPostInstallAttributionResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirebasedynamiclinksV1::GetIosPostInstallAttributionResponse]
#
# @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 install_attribution(get_ios_post_install_attribution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/installAttribution', options)
command.request_representation = Google::Apis::FirebasedynamiclinksV1::GetIosPostInstallAttributionRequest::Representation
command.request_object = get_ios_post_install_attribution_request_object
command.response_representation = Google::Apis::FirebasedynamiclinksV1::GetIosPostInstallAttributionResponse::Representation
command.response_class = Google::Apis::FirebasedynamiclinksV1::GetIosPostInstallAttributionResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'fitness/v1/users/')
@batch_path = 'batch'
@batch_path = 'batch/fitness/v1'
end
# Creates a new data source that is unique across all data sources belonging to

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'games/v1configuration/')
@batch_path = 'batch'
@batch_path = 'batch/gamesConfiguration/v1configuration'
end
# Delete the achievement configuration with the given ID.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'games/v1/')
@batch_path = 'batch'
@batch_path = 'batch/games/v1'
end
# Lists all the achievement definitions for your application.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'gmail/v1/users/')
@batch_path = 'batch'
@batch_path = 'batch/gmail/v1'
end
# Gets the current user's Gmail profile.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'groups/v1/groups/')
@batch_path = 'batch'
@batch_path = 'batch/groupsmigration/v1'
end
# Inserts a new mail into the archive of the Google group.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'groups/v1/groups/')
@batch_path = 'batch'
@batch_path = 'batch/groupssettings/v1'
end
# Gets one resource by id.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'apps/licensing/v1/product/')
@batch_path = 'batch'
@batch_path = 'batch/licensing/v1'
end
# Revoke License.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'mirror/v1/')
@batch_path = 'batch'
@batch_path = 'batch/mirror/v1'
end
# Inserts a new account for a user

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'pagespeedonline/v2/')
@batch_path = 'batch/pagespeedonline/v2'
@batch_path = 'batch'
end
# Runs PageSpeed analysis on the page at the specified URL, and returns

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'playcustomapp/v1/accounts/')
@batch_path = 'batch'
@batch_path = 'batch/playcustomapp/v1'
end
# Create and publish a new custom app.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'plus/v1/')
@batch_path = 'batch'
@batch_path = 'batch/plus/v1'
end
# Get an activity.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'prediction/v1.2/')
@batch_path = 'batch'
@batch_path = 'batch/prediction/v1.2'
end
# Submit data and request a prediction

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'prediction/v1.3/')
@batch_path = 'batch'
@batch_path = 'batch/prediction/v1.3'
end
# Submit input and request an output against a hosted model

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'prediction/v1.5/')
@batch_path = 'batch'
@batch_path = 'batch/prediction/v1.5'
end
# Submit input and request an output against a hosted model.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'replicapool/v1beta1/projects/')
@batch_path = 'batch'
@batch_path = 'batch/replicapool/v1beta1'
end
# Deletes a replica pool.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'apps/reseller/v1/')
@batch_path = 'batch/reseller/v1'
@batch_path = 'batch'
end
# Get a customer account.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'resourceviews/v1beta2/projects/')
@batch_path = 'batch'
@batch_path = 'batch/resourceviews/v1beta2'
end
# Retrieves the specified zone-specific operation resource.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'siteVerification/v1/')
@batch_path = 'batch'
@batch_path = 'batch/siteVerification/v1'
end
# Relinquish ownership of a website or domain.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'spectrum/v1explorer/paws/')
@batch_path = 'batch'
@batch_path = 'batch/spectrum/v1explorer'
end
# Requests information about the available spectrum for a device at a location.

View File

@ -51,7 +51,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'sql/v1beta3/')
@batch_path = 'batch'
@batch_path = 'batch/sqladmin/v1beta3'
end
# Retrieves information about a specified backup run for a Cloud SQL instance.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/storage/docs/json_api/
module StorageV1
VERSION = 'V1'
REVISION = '20170810'
REVISION = '20170824'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1410,6 +1410,11 @@ module Google
class Binding
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `condition`
# @return [Object]
attr_accessor :condition
# A collection of identifiers for members who may assume the provided role.
# Recognized identifiers are as follows:
# - allUsers — A special identifier that represents anyone on the internet; with
@ -1468,6 +1473,7 @@ module Google
# Update properties of this object
def update!(**args)
@condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role)
end

View File

@ -590,6 +590,7 @@ module Google
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition'
collection :members, as: 'members'
property :role, as: 'role'
end

View File

@ -2011,7 +2011,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an object's metadata. This method supports patch semantics.
# Patches an object's metadata.
# @param [String] bucket
# Name of the bucket in which the object resides.
# @param [String] object
@ -2051,6 +2051,8 @@ module Google
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [IO, String] download_dest
# IO stream or filename to receive content download
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@ -2063,8 +2065,13 @@ 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_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
else
command = make_download_command(:patch, 'b/{bucket}/o/{object}', options)
command.download_dest = download_dest
end
command.request_representation = Google::Apis::StorageV1::Object::Representation
command.request_object = object_object
command.response_representation = Google::Apis::StorageV1::Object::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/storage/docs/json_api/
module StorageV1beta1
VERSION = 'V1beta1'
REVISION = '20170816'
REVISION = '20170824'
# Manage your data and permissions in Google Cloud Storage
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/storage/docs/json_api/
module StorageV1beta2
VERSION = 'V1beta2'
REVISION = '20170816'
REVISION = '20170824'
# Manage your data and permissions in Google Cloud Storage
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'storage/v1beta2/')
@batch_path = 'batch'
@batch_path = 'batch/storage/v1beta2'
end
# Permanently deletes the ACL entry for the specified entity on the specified

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'tagmanager/v1/')
@batch_path = 'batch'
@batch_path = 'batch/tagmanager/v1'
end
# Gets a GTM Account.

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'tagmanager/v2/')
@batch_path = 'batch'
@batch_path = 'batch/tagmanager/v2'
end
# Gets a GTM Account.

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20170831'
REVISION = '20170906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
@batch_path = 'batch/toolresults/v1beta3'
@batch_path = 'batch'
end
# Gets the Tool Results settings for a project.
@ -941,10 +941,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a PerfMetricsSummary resource.
# May return any of the following error code(s): - ALREADY_EXISTS - A
# PerfMetricSummary already exists for the given Step - NOT_FOUND - The
# containing Step does not exist
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
# already been created.
# May return any of the following error code(s): - NOT_FOUND - The containing
# Step does not exist
# @param [String] project_id
# The cloud project
# @param [String] history_id

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3firstparty
VERSION = 'V1beta3firstparty'
REVISION = '20170831'
REVISION = '20170906'
end
end
end

View File

@ -941,10 +941,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a PerfMetricsSummary resource.
# May return any of the following error code(s): - ALREADY_EXISTS - A
# PerfMetricSummary already exists for the given Step - NOT_FOUND - The
# containing Step does not exist
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
# already been created.
# May return any of the following error code(s): - NOT_FOUND - The containing
# Step does not exist
# @param [String] project_id
# The cloud project
# @param [String] history_id

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'urlshortener/v1/')
@batch_path = 'batch'
@batch_path = 'batch/urlshortener/v1'
end
# Expands a short URL or gets creation time and analytics.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/webmaster-tools/
module WebmastersV3
VERSION = 'V3'
REVISION = '20170322'
REVISION = '20170528'
# View and manage Search Console data for your verified sites
AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters'

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'webmasters/v3/')
@batch_path = 'batch'
@batch_path = 'batch/webmasters/v3'
end
# Query your data with filters and parameters that you define. Returns zero or

View File

@ -25,7 +25,7 @@ module Google
# @see http://developers.google.com/youtube/analytics/
module YoutubeAnalyticsV1
VERSION = 'V1'
REVISION = '20170905'
REVISION = '20170906'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -25,7 +25,7 @@ module Google
# @see http://developers.google.com/youtube/analytics/
module YoutubeAnalyticsV1beta1
VERSION = 'V1beta1'
REVISION = '20170905'
REVISION = '20170906'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20170828'
REVISION = '20170904'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'

View File

@ -50,7 +50,7 @@ module Google
def initialize
super('https://www.googleapis.com/', 'youtube/partner/v1/')
@batch_path = 'batch'
@batch_path = 'batch/youtubePartner/v1'
end
# Insert an asset label for an owner.