regenerate APIs
This commit is contained in:
parent
c9da9f38d1
commit
b3daed447d
|
@ -1603,6 +1603,7 @@
|
|||
"/admin:directory_v1/Members/members/member": member
|
||||
"/admin:directory_v1/Members/nextPageToken": next_page_token
|
||||
"/admin:directory_v1/MobileDevice": mobile_device
|
||||
"/admin:directory_v1/MobileDevice/adbStatus": adb_status
|
||||
"/admin:directory_v1/MobileDevice/applications": applications
|
||||
"/admin:directory_v1/MobileDevice/applications/application": application
|
||||
"/admin:directory_v1/MobileDevice/applications/application/displayName": display_name
|
||||
|
@ -1614,6 +1615,7 @@
|
|||
"/admin:directory_v1/MobileDevice/basebandVersion": baseband_version
|
||||
"/admin:directory_v1/MobileDevice/buildNumber": build_number
|
||||
"/admin:directory_v1/MobileDevice/defaultLanguage": default_language
|
||||
"/admin:directory_v1/MobileDevice/developerOptionsStatus": developer_options_status
|
||||
"/admin:directory_v1/MobileDevice/deviceCompromisedStatus": device_compromised_status
|
||||
"/admin:directory_v1/MobileDevice/deviceId": device_id
|
||||
"/admin:directory_v1/MobileDevice/email": email
|
||||
|
@ -1632,10 +1634,14 @@
|
|||
"/admin:directory_v1/MobileDevice/name/name": name
|
||||
"/admin:directory_v1/MobileDevice/networkOperator": network_operator
|
||||
"/admin:directory_v1/MobileDevice/os": os
|
||||
"/admin:directory_v1/MobileDevice/otherAccountsInfo": other_accounts_info
|
||||
"/admin:directory_v1/MobileDevice/otherAccountsInfo/other_accounts_info": other_accounts_info
|
||||
"/admin:directory_v1/MobileDevice/resourceId": resource_id
|
||||
"/admin:directory_v1/MobileDevice/serialNumber": serial_number
|
||||
"/admin:directory_v1/MobileDevice/status": status
|
||||
"/admin:directory_v1/MobileDevice/supportsWorkProfile": supports_work_profile
|
||||
"/admin:directory_v1/MobileDevice/type": type
|
||||
"/admin:directory_v1/MobileDevice/unknownSourcesStatus": unknown_sources_status
|
||||
"/admin:directory_v1/MobileDevice/userAgent": user_agent
|
||||
"/admin:directory_v1/MobileDevice/wifiMacAddress": wifi_mac_address
|
||||
"/admin:directory_v1/MobileDeviceAction": mobile_device_action
|
||||
|
@ -4566,6 +4572,7 @@
|
|||
"/bigquery:v2/Table/description": description
|
||||
"/bigquery:v2/Table/etag": etag
|
||||
"/bigquery:v2/Table/expirationTime": expiration_time
|
||||
"/bigquery:v2/Table/externalDataConfiguration": external_data_configuration
|
||||
"/bigquery:v2/Table/friendlyName": friendly_name
|
||||
"/bigquery:v2/Table/id": id
|
||||
"/bigquery:v2/Table/kind": kind
|
||||
|
@ -7985,8 +7992,6 @@
|
|||
"/compute:v1/VpnTunnel/description": description
|
||||
"/compute:v1/VpnTunnel/detailedStatus": detailed_status
|
||||
"/compute:v1/VpnTunnel/id": id
|
||||
"/compute:v1/VpnTunnel/ikeNetworks": ike_networks
|
||||
"/compute:v1/VpnTunnel/ikeNetworks/ike_network": ike_network
|
||||
"/compute:v1/VpnTunnel/ikeVersion": ike_version
|
||||
"/compute:v1/VpnTunnel/kind": kind
|
||||
"/compute:v1/VpnTunnel/name": name
|
||||
|
@ -8432,6 +8437,7 @@
|
|||
"/content:v2/Inventory/quantity": quantity
|
||||
"/content:v2/Inventory/salePrice": sale_price
|
||||
"/content:v2/Inventory/salePriceEffectiveDate": sale_price_effective_date
|
||||
"/content:v2/Inventory/sellOnGoogleQuantity": sell_on_google_quantity
|
||||
"/content:v2/InventoryCustomBatchRequest/entries": entries
|
||||
"/content:v2/InventoryCustomBatchRequest/entries/entry": entry
|
||||
"/content:v2/InventoryCustomBatchRequestEntry/batchId": batch_id
|
||||
|
@ -8450,6 +8456,7 @@
|
|||
"/content:v2/InventorySetRequest/quantity": quantity
|
||||
"/content:v2/InventorySetRequest/salePrice": sale_price
|
||||
"/content:v2/InventorySetRequest/salePriceEffectiveDate": sale_price_effective_date
|
||||
"/content:v2/InventorySetRequest/sellOnGoogleQuantity": sell_on_google_quantity
|
||||
"/content:v2/InventorySetResponse/kind": kind
|
||||
"/content:v2/LoyaltyPoints": loyalty_points
|
||||
"/content:v2/LoyaltyPoints/name": name
|
||||
|
@ -12207,6 +12214,7 @@
|
|||
"/drive:v2/drive.files.patch/addParents": add_parents
|
||||
"/drive:v2/drive.files.patch/convert": convert
|
||||
"/drive:v2/drive.files.patch/fileId": file_id
|
||||
"/drive:v2/drive.files.patch/modifiedDateBehavior": modified_date_behavior
|
||||
"/drive:v2/drive.files.patch/newRevision": new_revision
|
||||
"/drive:v2/drive.files.patch/ocr": ocr
|
||||
"/drive:v2/drive.files.patch/ocrLanguage": ocr_language
|
||||
|
@ -12227,6 +12235,7 @@
|
|||
"/drive:v2/drive.files.update/addParents": add_parents
|
||||
"/drive:v2/drive.files.update/convert": convert
|
||||
"/drive:v2/drive.files.update/fileId": file_id
|
||||
"/drive:v2/drive.files.update/modifiedDateBehavior": modified_date_behavior
|
||||
"/drive:v2/drive.files.update/newRevision": new_revision
|
||||
"/drive:v2/drive.files.update/ocr": ocr
|
||||
"/drive:v2/drive.files.update/ocrLanguage": ocr_language
|
||||
|
@ -12772,8 +12781,6 @@
|
|||
"/fitness:v1/AggregateBy": aggregate_by
|
||||
"/fitness:v1/AggregateBy/dataSourceId": data_source_id
|
||||
"/fitness:v1/AggregateBy/dataTypeName": data_type_name
|
||||
"/fitness:v1/AggregateBy/outputDataSourceId": output_data_source_id
|
||||
"/fitness:v1/AggregateBy/outputDataTypeName": output_data_type_name
|
||||
"/fitness:v1/AggregateRequest": aggregate_request
|
||||
"/fitness:v1/AggregateRequest/aggregateBy": aggregate_by
|
||||
"/fitness:v1/AggregateRequest/aggregateBy/aggregate_by": aggregate_by
|
||||
|
@ -14704,6 +14711,12 @@
|
|||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_iam_policy
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_iam_policy
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_iam_permissions
|
||||
"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource
|
||||
"/cloudresourcemanager:v1beta1/Project": project
|
||||
"/cloudresourcemanager:v1beta1/Project/projectNumber": project_number
|
||||
"/cloudresourcemanager:v1beta1/Project/projectId": project_id
|
||||
|
@ -14717,6 +14730,56 @@
|
|||
"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project
|
||||
"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token
|
||||
"/cloudresourcemanager:v1beta1/Empty": empty
|
||||
"/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request
|
||||
"/cloudresourcemanager:v1beta1/Policy": policy
|
||||
"/cloudresourcemanager:v1beta1/Policy/version": version
|
||||
"/cloudresourcemanager:v1beta1/Policy/bindings": bindings
|
||||
"/cloudresourcemanager:v1beta1/Policy/bindings/binding": binding
|
||||
"/cloudresourcemanager:v1beta1/Policy/rules": rules
|
||||
"/cloudresourcemanager:v1beta1/Policy/rules/rule": rule
|
||||
"/cloudresourcemanager:v1beta1/Policy/etag": etag
|
||||
"/cloudresourcemanager:v1beta1/Binding": binding
|
||||
"/cloudresourcemanager:v1beta1/Binding/role": role
|
||||
"/cloudresourcemanager:v1beta1/Binding/members": members
|
||||
"/cloudresourcemanager:v1beta1/Binding/members/member": member
|
||||
"/cloudresourcemanager:v1beta1/Rule": rule
|
||||
"/cloudresourcemanager:v1beta1/Rule/description": description
|
||||
"/cloudresourcemanager:v1beta1/Rule/permissions": permissions
|
||||
"/cloudresourcemanager:v1beta1/Rule/permissions/permission": permission
|
||||
"/cloudresourcemanager:v1beta1/Rule/action": action
|
||||
"/cloudresourcemanager:v1beta1/Rule/in": in
|
||||
"/cloudresourcemanager:v1beta1/Rule/in/in": in
|
||||
"/cloudresourcemanager:v1beta1/Rule/notIn": not_in
|
||||
"/cloudresourcemanager:v1beta1/Rule/notIn/not_in": not_in
|
||||
"/cloudresourcemanager:v1beta1/Rule/conditions": conditions
|
||||
"/cloudresourcemanager:v1beta1/Rule/conditions/condition": condition
|
||||
"/cloudresourcemanager:v1beta1/Rule/logConfig": log_config
|
||||
"/cloudresourcemanager:v1beta1/Rule/logConfig/log_config": log_config
|
||||
"/cloudresourcemanager:v1beta1/Condition": condition
|
||||
"/cloudresourcemanager:v1beta1/Condition/iam": iam
|
||||
"/cloudresourcemanager:v1beta1/Condition/sys": sys
|
||||
"/cloudresourcemanager:v1beta1/Condition/svc": svc
|
||||
"/cloudresourcemanager:v1beta1/Condition/op": op
|
||||
"/cloudresourcemanager:v1beta1/Condition/value": value
|
||||
"/cloudresourcemanager:v1beta1/Condition/values": values
|
||||
"/cloudresourcemanager:v1beta1/Condition/values/value": value
|
||||
"/cloudresourcemanager:v1beta1/LogConfig": log_config
|
||||
"/cloudresourcemanager:v1beta1/LogConfig/counter": counter
|
||||
"/cloudresourcemanager:v1beta1/LogConfig/dataAccess": data_access
|
||||
"/cloudresourcemanager:v1beta1/LogConfig/cloudAudit": cloud_audit
|
||||
"/cloudresourcemanager:v1beta1/CounterOptions": counter_options
|
||||
"/cloudresourcemanager:v1beta1/CounterOptions/metric": metric
|
||||
"/cloudresourcemanager:v1beta1/CounterOptions/field": field
|
||||
"/cloudresourcemanager:v1beta1/DataAccessOptions": data_access_options
|
||||
"/cloudresourcemanager:v1beta1/CloudAuditOptions": cloud_audit_options
|
||||
"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request
|
||||
"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy
|
||||
"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request
|
||||
"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions
|
||||
"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission
|
||||
"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response
|
||||
"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions
|
||||
"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission
|
||||
"/container:v1/fields": fields
|
||||
"/container:v1/key": key
|
||||
"/container:v1/quotaUser": quota_user
|
||||
|
@ -18002,7 +18065,6 @@
|
|||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/zone": zone
|
||||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list": list_rolling_updates
|
||||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/filter": filter
|
||||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/instanceGroupManager": instance_group_manager
|
||||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/maxResults": max_results
|
||||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/pageToken": page_token
|
||||
"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/project": project
|
||||
|
@ -18094,6 +18156,7 @@
|
|||
"/replicapoolupdater:v1beta1/RollingUpdate/instanceGroupManager": instance_group_manager
|
||||
"/replicapoolupdater:v1beta1/RollingUpdate/instanceTemplate": instance_template
|
||||
"/replicapoolupdater:v1beta1/RollingUpdate/kind": kind
|
||||
"/replicapoolupdater:v1beta1/RollingUpdate/oldInstanceTemplate": old_instance_template
|
||||
"/replicapoolupdater:v1beta1/RollingUpdate/policy": policy
|
||||
"/replicapoolupdater:v1beta1/RollingUpdate/policy/autoPauseAfterInstances": auto_pause_after_instances
|
||||
"/replicapoolupdater:v1beta1/RollingUpdate/policy/instanceStartupTimeoutSec": instance_startup_timeout_sec
|
||||
|
|
|
@ -599,6 +599,8 @@ module Google
|
|||
# The account id to get the reports.
|
||||
# @param [String] end_date_time
|
||||
# The end time of the report in ISO 8601 timestamp format using UTC.
|
||||
# @param [String] start_date_time
|
||||
# The start time of the report in ISO 8601 timestamp format using UTC.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum number of entries returned on one result page. If not set, the default
|
||||
# is 100. Optional.
|
||||
|
@ -606,8 +608,6 @@ module Google
|
|||
# A continuation token, used to page through performance reports. To retrieve
|
||||
# the next page, set this parameter to the value of "nextPageToken" from the
|
||||
# previous response. Optional.
|
||||
# @param [String] start_date_time
|
||||
# The start time of the report in ISO 8601 timestamp format using UTC.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -629,7 +629,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_performance_reports(account_id: nil, end_date_time: nil, max_results: nil, page_token: nil, start_date_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'performancereport'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PerformanceReportList::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/ad-exchange/seller-rest/
|
||||
module AdexchangesellerV2_0
|
||||
VERSION = 'V2_0'
|
||||
REVISION = '20150719'
|
||||
REVISION = '20150726'
|
||||
|
||||
# View and manage your Ad Exchange data
|
||||
AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
|
||||
|
|
|
@ -457,10 +457,12 @@ module Google
|
|||
# specify "alt=csv" as a query parameter.
|
||||
# @param [String] account_id
|
||||
# Account which owns the generated report.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [Array<String>, String] filter
|
||||
# Filters to be run on the report.
|
||||
# @param [String] locale
|
||||
|
@ -474,8 +476,6 @@ module Google
|
|||
# The name of a dimension or metric to sort the resulting report on, optionally
|
||||
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
||||
# specified, the column is sorted ascending.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Fixnum] start_index
|
||||
# Index of the first row of report data to return.
|
||||
# @param [String] fields
|
||||
|
@ -501,7 +501,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def generate_account_report(account_id, dimension: nil, end_date: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_date: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
def generate_account_report(account_id, start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
path = 'accounts/{accountId}/reports'
|
||||
if download_dest.nil?
|
||||
command = make_simple_command(:get, path, options)
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/directory/
|
||||
module AdminDirectoryV1
|
||||
VERSION = 'DirectoryV1'
|
||||
REVISION = '20150326'
|
||||
REVISION = '20150720'
|
||||
|
||||
# View and manage your Chrome OS devices' metadata
|
||||
AUTH_ADMIN_DIRECTORY_DEVICE_CHROMEOS = 'https://www.googleapis.com/auth/admin.directory.device.chromeos'
|
||||
|
|
|
@ -716,6 +716,12 @@ module Google
|
|||
class MobileDevice
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Adb (USB debugging) enabled or disabled on device (Read-only)
|
||||
# Corresponds to the JSON property `adbStatus`
|
||||
# @return [Boolean]
|
||||
attr_accessor :adb_status
|
||||
alias_method :adb_status?, :adb_status
|
||||
|
||||
# List of applications installed on Mobile Device
|
||||
# Corresponds to the JSON property `applications`
|
||||
# @return [Array<Google::Apis::AdminDirectoryV1::MobileDevice::Application>]
|
||||
|
@ -736,6 +742,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :default_language
|
||||
|
||||
# Developer options enabled or disabled on device (Read-only)
|
||||
# Corresponds to the JSON property `developerOptionsStatus`
|
||||
# @return [Boolean]
|
||||
attr_accessor :developer_options_status
|
||||
alias_method :developer_options_status?, :developer_options_status
|
||||
|
||||
# Mobile Device compromised status (Read-only)
|
||||
# Corresponds to the JSON property `deviceCompromisedStatus`
|
||||
# @return [String]
|
||||
|
@ -820,6 +832,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :os
|
||||
|
||||
# List of accounts added on device (Read-only)
|
||||
# Corresponds to the JSON property `otherAccountsInfo`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :other_accounts_info
|
||||
|
||||
# Unique identifier of Mobile Device (Read-only)
|
||||
# Corresponds to the JSON property `resourceId`
|
||||
# @return [String]
|
||||
|
@ -835,11 +852,23 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
# Work profile supported on device (Read-only)
|
||||
# Corresponds to the JSON property `supportsWorkProfile`
|
||||
# @return [Boolean]
|
||||
attr_accessor :supports_work_profile
|
||||
alias_method :supports_work_profile?, :supports_work_profile
|
||||
|
||||
# The type of device (Read-only)
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# Unknown sources enabled or disabled on device (Read-only)
|
||||
# Corresponds to the JSON property `unknownSourcesStatus`
|
||||
# @return [Boolean]
|
||||
attr_accessor :unknown_sources_status
|
||||
alias_method :unknown_sources_status?, :unknown_sources_status
|
||||
|
||||
# Mobile Device user agent
|
||||
# Corresponds to the JSON property `userAgent`
|
||||
# @return [String]
|
||||
|
@ -856,10 +885,12 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@adb_status = args[:adb_status] unless args[:adb_status].nil?
|
||||
@applications = args[:applications] unless args[:applications].nil?
|
||||
@baseband_version = args[:baseband_version] unless args[:baseband_version].nil?
|
||||
@build_number = args[:build_number] unless args[:build_number].nil?
|
||||
@default_language = args[:default_language] unless args[:default_language].nil?
|
||||
@developer_options_status = args[:developer_options_status] unless args[:developer_options_status].nil?
|
||||
@device_compromised_status = args[:device_compromised_status] unless args[:device_compromised_status].nil?
|
||||
@device_id = args[:device_id] unless args[:device_id].nil?
|
||||
@email = args[:email] unless args[:email].nil?
|
||||
|
@ -876,10 +907,13 @@ module Google
|
|||
@name = args[:name] unless args[:name].nil?
|
||||
@network_operator = args[:network_operator] unless args[:network_operator].nil?
|
||||
@os = args[:os] unless args[:os].nil?
|
||||
@other_accounts_info = args[:other_accounts_info] unless args[:other_accounts_info].nil?
|
||||
@resource_id = args[:resource_id] unless args[:resource_id].nil?
|
||||
@serial_number = args[:serial_number] unless args[:serial_number].nil?
|
||||
@status = args[:status] unless args[:status].nil?
|
||||
@supports_work_profile = args[:supports_work_profile] unless args[:supports_work_profile].nil?
|
||||
@type = args[:type] unless args[:type].nil?
|
||||
@unknown_sources_status = args[:unknown_sources_status] unless args[:unknown_sources_status].nil?
|
||||
@user_agent = args[:user_agent] unless args[:user_agent].nil?
|
||||
@wifi_mac_address = args[:wifi_mac_address] unless args[:wifi_mac_address].nil?
|
||||
end
|
||||
|
|
|
@ -375,11 +375,13 @@ module Google
|
|||
class MobileDevice
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :adb_status, as: 'adbStatus'
|
||||
collection :applications, as: 'applications', class: Google::Apis::AdminDirectoryV1::MobileDevice::Application, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Application::Representation
|
||||
|
||||
property :baseband_version, as: 'basebandVersion'
|
||||
property :build_number, as: 'buildNumber'
|
||||
property :default_language, as: 'defaultLanguage'
|
||||
property :developer_options_status, as: 'developerOptionsStatus'
|
||||
property :device_compromised_status, as: 'deviceCompromisedStatus'
|
||||
property :device_id, as: 'deviceId'
|
||||
collection :email, as: 'email'
|
||||
|
@ -398,10 +400,13 @@ module Google
|
|||
collection :name, as: 'name'
|
||||
property :network_operator, as: 'networkOperator'
|
||||
property :os, as: 'os'
|
||||
collection :other_accounts_info, as: 'otherAccountsInfo'
|
||||
property :resource_id, as: 'resourceId'
|
||||
property :serial_number, as: 'serialNumber'
|
||||
property :status, as: 'status'
|
||||
property :supports_work_profile, as: 'supportsWorkProfile'
|
||||
property :type, as: 'type'
|
||||
property :unknown_sources_status, as: 'unknownSourcesStatus'
|
||||
property :user_agent, as: 'userAgent'
|
||||
property :wifi_mac_address, as: 'wifiMacAddress'
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/management/
|
||||
module AdsenseV1_4
|
||||
VERSION = 'V1_4'
|
||||
REVISION = '20150719'
|
||||
REVISION = '20150726'
|
||||
|
||||
# View and manage your AdSense data
|
||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||
|
|
|
@ -624,13 +624,15 @@ module Google
|
|||
# specify "alt=csv" as a query parameter.
|
||||
# @param [String] account_id
|
||||
# Account upon which to report.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [String] currency
|
||||
# Optional currency to use when reporting on monetary metrics. Defaults to the
|
||||
# account's currency if not set.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Array<String>, String] filter
|
||||
# Filters to be run on the report.
|
||||
# @param [String] locale
|
||||
|
@ -644,8 +646,6 @@ module Google
|
|||
# The name of a dimension or metric to sort the resulting report on, optionally
|
||||
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
||||
# specified, the column is sorted ascending.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Fixnum] start_index
|
||||
# Index of the first row of report data to return.
|
||||
# @param [Boolean] use_timezone_reporting
|
||||
|
@ -674,7 +674,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def generate_account_report(account_id, currency: nil, dimension: nil, end_date: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_date: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
def generate_account_report(account_id, start_date, end_date, currency: nil, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
path = 'accounts/{accountId}/reports'
|
||||
if download_dest.nil?
|
||||
command = make_simple_command(:get, path, options)
|
||||
|
@ -1448,6 +1448,10 @@ module Google
|
|||
# Generate an AdSense report based on the report request sent in the query
|
||||
# parameters. Returns the result as JSON; to retrieve output in CSV format
|
||||
# specify "alt=csv" as a query parameter.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Array<String>, String] account_id
|
||||
# Accounts upon which to report.
|
||||
# @param [String] currency
|
||||
|
@ -1455,8 +1459,6 @@ module Google
|
|||
# account's currency if not set.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Array<String>, String] filter
|
||||
# Filters to be run on the report.
|
||||
# @param [String] locale
|
||||
|
@ -1470,8 +1472,6 @@ module Google
|
|||
# The name of a dimension or metric to sort the resulting report on, optionally
|
||||
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
||||
# specified, the column is sorted ascending.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Fixnum] start_index
|
||||
# Index of the first row of report data to return.
|
||||
# @param [Boolean] use_timezone_reporting
|
||||
|
@ -1500,7 +1500,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def generate_report(account_id: nil, currency: nil, dimension: nil, end_date: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_date: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
def generate_report(start_date, end_date, account_id: nil, currency: nil, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
path = 'reports'
|
||||
if download_dest.nil?
|
||||
command = make_simple_command(:get, path, options)
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20150719'
|
||||
REVISION = '20150726'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
|
|
@ -113,7 +113,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_accounts(filter_ad_client_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_accounts(filter_ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'accounts'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AdsensehostV4_1::Accounts::Representation
|
||||
|
@ -436,9 +436,9 @@ module Google
|
|||
# Account which contains the ad client.
|
||||
# @param [String] ad_client_id
|
||||
# Ad client which contains the ad unit.
|
||||
# @param [Google::Apis::AdsensehostV4_1::AdUnit] ad_unit_object
|
||||
# @param [String] ad_unit_id
|
||||
# Ad unit to get.
|
||||
# @param [Google::Apis::AdsensehostV4_1::AdUnit] ad_unit_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -460,7 +460,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, ad_unit_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_account_ad_unit(account_id, ad_client_id, ad_unit_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'accounts/{accountId}/adclients/{adClientId}/adunits'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
||||
|
@ -523,10 +523,12 @@ module Google
|
|||
# specify "alt=csv" as a query parameter.
|
||||
# @param [String] account_id
|
||||
# Hosted account upon which to report.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [Array<String>, String] filter
|
||||
# Filters to be run on the report.
|
||||
# @param [String] locale
|
||||
|
@ -540,8 +542,6 @@ module Google
|
|||
# The name of a dimension or metric to sort the resulting report on, optionally
|
||||
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
||||
# specified, the column is sorted ascending.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Fixnum] start_index
|
||||
# Index of the first row of report data to return.
|
||||
# @param [String] fields
|
||||
|
@ -565,7 +565,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def generate_account_report(account_id, dimension: nil, end_date: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_date: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def generate_account_report(account_id, start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'accounts/{accountId}/reports'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
||||
|
@ -667,12 +667,12 @@ module Google
|
|||
# user.
|
||||
# @param [Array<String>, String] product_code
|
||||
# Products to associate with the user.
|
||||
# @param [String] website_url
|
||||
# The URL of the user's hosted website.
|
||||
# @param [String] user_locale
|
||||
# The preferred locale of the user.
|
||||
# @param [String] website_locale
|
||||
# The locale of the user's hosted website.
|
||||
# @param [String] website_url
|
||||
# The URL of the user's hosted website.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -694,7 +694,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def start_association_session(product_code: nil, user_locale: nil, website_locale: nil, website_url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def start_association_session(product_code, website_url, user_locale: nil, website_locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'associationsessions/start'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
||||
|
@ -734,7 +734,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def verify_association_session(token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def verify_association_session(token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'associationsessions/verify'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
||||
|
@ -912,9 +912,9 @@ module Google
|
|||
# patch semantics.
|
||||
# @param [String] ad_client_id
|
||||
# Ad client in which the custom channel will be updated.
|
||||
# @param [Google::Apis::AdsensehostV4_1::CustomChannel] custom_channel_object
|
||||
# @param [String] custom_channel_id
|
||||
# Custom channel to get.
|
||||
# @param [Google::Apis::AdsensehostV4_1::CustomChannel] custom_channel_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -936,7 +936,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_custom_channel(ad_client_id, custom_channel_object = nil, custom_channel_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_custom_channel(ad_client_id, custom_channel_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'adclients/{adClientId}/customchannels'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
||||
|
@ -993,10 +993,12 @@ module Google
|
|||
# Generate an AdSense report based on the report request sent in the query
|
||||
# parameters. Returns the result as JSON; to retrieve output in CSV format
|
||||
# specify "alt=csv" as a query parameter.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [String] end_date
|
||||
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Array<String>, String] dimension
|
||||
# Dimensions to base the report on.
|
||||
# @param [Array<String>, String] filter
|
||||
# Filters to be run on the report.
|
||||
# @param [String] locale
|
||||
|
@ -1010,8 +1012,6 @@ module Google
|
|||
# The name of a dimension or metric to sort the resulting report on, optionally
|
||||
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
||||
# specified, the column is sorted ascending.
|
||||
# @param [String] start_date
|
||||
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
||||
# @param [Fixnum] start_index
|
||||
# Index of the first row of report data to return.
|
||||
# @param [String] fields
|
||||
|
@ -1035,7 +1035,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def generate_report(dimension: nil, end_date: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_date: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'reports'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
||||
|
|
|
@ -53,23 +53,27 @@ module Google
|
|||
end
|
||||
|
||||
# Returns Analytics data for a view (profile).
|
||||
# @param [String] dimensions
|
||||
# A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
|
||||
# @param [String] ids
|
||||
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
||||
# where XXXX is the Analytics view (profile) ID.
|
||||
# @param [String] start_date
|
||||
# Start date for fetching Analytics data. Requests can specify a start date
|
||||
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
||||
# 7daysAgo). The default value is 7daysAgo.
|
||||
# @param [String] end_date
|
||||
# End date for fetching Analytics data. Request can should specify an end date
|
||||
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
||||
# 7daysAgo). The default value is yesterday.
|
||||
# @param [String] filters
|
||||
# A comma-separated list of dimension or metric filters to be applied to
|
||||
# Analytics data.
|
||||
# @param [String] ids
|
||||
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
||||
# where XXXX is the Analytics view (profile) ID.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of entries to include in this feed.
|
||||
# @param [String] metrics
|
||||
# A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'.
|
||||
# At least one metric must be specified.
|
||||
# @param [String] dimensions
|
||||
# A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
|
||||
# @param [String] filters
|
||||
# A comma-separated list of dimension or metric filters to be applied to
|
||||
# Analytics data.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of entries to include in this feed.
|
||||
# @param [String] output
|
||||
# The selected format for the response. Default format is JSON.
|
||||
# @param [String] sampling_level
|
||||
|
@ -79,10 +83,6 @@ module Google
|
|||
# @param [String] sort
|
||||
# A comma-separated list of dimensions or metrics that determine the sort order
|
||||
# for Analytics data.
|
||||
# @param [String] start_date
|
||||
# Start date for fetching Analytics data. Requests can specify a start date
|
||||
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
||||
# 7daysAgo). The default value is 7daysAgo.
|
||||
# @param [Fixnum] start_index
|
||||
# An index of the first entity to retrieve. Use this parameter as a pagination
|
||||
# mechanism along with the max-results parameter.
|
||||
|
@ -107,7 +107,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_ga_data(dimensions: nil, end_date: nil, filters: nil, ids: nil, max_results: nil, metrics: nil, output: nil, sampling_level: nil, segment: nil, sort: nil, start_date: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_ga_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, output: nil, sampling_level: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'data/ga'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AnalyticsV3::GaData::Representation
|
||||
|
@ -131,34 +131,34 @@ module Google
|
|||
end
|
||||
|
||||
# Returns Analytics Multi-Channel Funnels data for a view (profile).
|
||||
# @param [String] dimensions
|
||||
# A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,
|
||||
# mcf:medium'.
|
||||
# @param [String] ids
|
||||
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
||||
# where XXXX is the Analytics view (profile) ID.
|
||||
# @param [String] start_date
|
||||
# Start date for fetching Analytics data. Requests can specify a start date
|
||||
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
||||
# 7daysAgo). The default value is 7daysAgo.
|
||||
# @param [String] end_date
|
||||
# End date for fetching Analytics data. Requests can specify a start date
|
||||
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
||||
# 7daysAgo). The default value is 7daysAgo.
|
||||
# @param [String] filters
|
||||
# A comma-separated list of dimension or metric filters to be applied to the
|
||||
# Analytics data.
|
||||
# @param [String] ids
|
||||
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
||||
# where XXXX is the Analytics view (profile) ID.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of entries to include in this feed.
|
||||
# @param [String] metrics
|
||||
# A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:
|
||||
# totalConversions,mcf:totalConversionValue'. At least one metric must be
|
||||
# specified.
|
||||
# @param [String] dimensions
|
||||
# A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,
|
||||
# mcf:medium'.
|
||||
# @param [String] filters
|
||||
# A comma-separated list of dimension or metric filters to be applied to the
|
||||
# Analytics data.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of entries to include in this feed.
|
||||
# @param [String] sampling_level
|
||||
# The desired sampling level.
|
||||
# @param [String] sort
|
||||
# A comma-separated list of dimensions or metrics that determine the sort order
|
||||
# for the Analytics data.
|
||||
# @param [String] start_date
|
||||
# Start date for fetching Analytics data. Requests can specify a start date
|
||||
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
||||
# 7daysAgo). The default value is 7daysAgo.
|
||||
# @param [Fixnum] start_index
|
||||
# An index of the first entity to retrieve. Use this parameter as a pagination
|
||||
# mechanism along with the max-results parameter.
|
||||
|
@ -183,7 +183,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_mcf_data(dimensions: nil, end_date: nil, filters: nil, ids: nil, max_results: nil, metrics: nil, sampling_level: nil, sort: nil, start_date: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_mcf_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, sampling_level: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'data/mcf'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AnalyticsV3::McfData::Representation
|
||||
|
@ -205,19 +205,19 @@ module Google
|
|||
end
|
||||
|
||||
# Returns real time data for a view (profile).
|
||||
# @param [String] ids
|
||||
# Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX,
|
||||
# where XXXX is the Analytics view (profile) ID.
|
||||
# @param [String] metrics
|
||||
# A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least
|
||||
# one metric must be specified.
|
||||
# @param [String] dimensions
|
||||
# A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
|
||||
# @param [String] filters
|
||||
# A comma-separated list of dimension or metric filters to be applied to real
|
||||
# time data.
|
||||
# @param [String] ids
|
||||
# Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX,
|
||||
# where XXXX is the Analytics view (profile) ID.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of entries to include in this feed.
|
||||
# @param [String] metrics
|
||||
# A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least
|
||||
# one metric must be specified.
|
||||
# @param [String] sort
|
||||
# A comma-separated list of dimensions or metrics that determine the sort order
|
||||
# for real time data.
|
||||
|
@ -242,7 +242,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_realtime_data(dimensions: nil, filters: nil, ids: nil, max_results: nil, metrics: nil, sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_realtime_data(ids, metrics, dimensions: nil, filters: nil, max_results: nil, sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'data/realtime'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AnalyticsV3::RealtimeData::Representation
|
||||
|
|
|
@ -720,9 +720,9 @@ module Google
|
|||
end
|
||||
|
||||
# Enrolls an enterprise with the calling MDM.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
||||
# @param [String] token
|
||||
# The token provided by the enterprise to register the MDM.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -744,7 +744,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def enroll_enterprise(enterprise_object = nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def enroll_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'enterprises/enroll'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
||||
|
@ -796,9 +796,9 @@ module Google
|
|||
|
||||
# Establishes the binding between the MDM and an enterprise. This is now
|
||||
# deprecated; use enroll instead.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
||||
# @param [String] token
|
||||
# The token provided by the enterprise to register the MDM.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -820,7 +820,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_enterprise(enterprise_object = nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'enterprises'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
||||
|
@ -858,7 +858,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_enterprises(domain: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_enterprises(domain, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'enterprises'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse::Representation
|
||||
|
@ -1921,7 +1921,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_users(enterprise_id, email: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_users(enterprise_id, email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'enterprises/{enterpriseId}/users'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ListUsersResponse::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services/web/api/states
|
||||
module AppstateV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150714'
|
||||
REVISION = '20150728'
|
||||
|
||||
# View and manage your data for this application
|
||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20150710'
|
||||
REVISION = '20150723'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -168,8 +168,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :last_modified_time
|
||||
|
||||
# [Experimental] The location where the data resides. If not present, the data
|
||||
# will be stored in the US.
|
||||
# [Experimental] The geographic location where the dataset should reside.
|
||||
# Possible values include EU and US. The default value is US.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
@ -1585,9 +1585,10 @@ module Google
|
|||
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
||||
attr_accessor :default_dataset
|
||||
|
||||
# [Optional] If set, don't actually run this job. A valid query will return a
|
||||
# mostly empty response with some processing statistics, while an invalid query
|
||||
# will return the same error it would if it wasn't a dry run.
|
||||
# [Optional] If set to true, BigQuery doesn't run the job. Instead, if the query
|
||||
# is valid, BigQuery returns statistics about the job such as how many bytes
|
||||
# would be processed. If the query is invalid, an error returns. The default
|
||||
# value is false.
|
||||
# Corresponds to the JSON property `dryRun`
|
||||
# @return [Boolean]
|
||||
attr_accessor :dry_run
|
||||
|
@ -1760,6 +1761,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :expiration_time
|
||||
|
||||
# [Experimental] Describes the data format, location, and other properties of a
|
||||
# table stored outside of BigQuery. By defining these properties, the data
|
||||
# source can then be queried as if it were a standard BigQuery table.
|
||||
# Corresponds to the JSON property `externalDataConfiguration`
|
||||
# @return [Google::Apis::BigqueryV2::ExternalDataConfiguration]
|
||||
attr_accessor :external_data_configuration
|
||||
|
||||
# [Optional] A descriptive name for this table.
|
||||
# Corresponds to the JSON property `friendlyName`
|
||||
# @return [String]
|
||||
|
@ -1781,7 +1789,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :last_modified_time
|
||||
|
||||
# [Optional] The backing storage location.
|
||||
# [Output-only] The geographic location where the table resides. This value is
|
||||
# inherited from the dataset.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
@ -1835,6 +1844,7 @@ module Google
|
|||
@description = args[:description] unless args[:description].nil?
|
||||
@etag = args[:etag] unless args[:etag].nil?
|
||||
@expiration_time = args[:expiration_time] unless args[:expiration_time].nil?
|
||||
@external_data_configuration = args[:external_data_configuration] unless args[:external_data_configuration].nil?
|
||||
@friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
|
||||
@id = args[:id] unless args[:id].nil?
|
||||
@kind = args[:kind] unless args[:kind].nil?
|
||||
|
|
|
@ -614,6 +614,8 @@ module Google
|
|||
property :description, as: 'description'
|
||||
property :etag, as: 'etag'
|
||||
property :expiration_time, as: 'expirationTime'
|
||||
property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
||||
|
||||
property :friendly_name, as: 'friendlyName'
|
||||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
|
|
|
@ -493,10 +493,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists all jobs that you started in the specified project. The job list returns
|
||||
# in reverse chronological order of when the jobs were created, starting with
|
||||
# the most recent job created. Requires the Can View project role, or the Is
|
||||
# Owner project role if you set the allUsers property.
|
||||
# Lists all jobs that you started in the specified project. Job information is
|
||||
# available for a six month period after creation. The job list is sorted in
|
||||
# reverse chronological order, by job creation time. Requires the Can View
|
||||
# project role, or the Is Owner project role if you set the allUsers property.
|
||||
# @param [String] project_id
|
||||
# Project ID of the jobs to list
|
||||
# @param [Boolean] all_users
|
||||
|
|
|
@ -165,7 +165,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_blog_by_url(url: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'blogs/byurl'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BloggerV3::Blog::Representation
|
||||
|
@ -1157,10 +1157,10 @@ module Google
|
|||
# Retrieve a Post by Path.
|
||||
# @param [String] blog_id
|
||||
# ID of the blog to fetch the post from.
|
||||
# @param [Fixnum] max_comments
|
||||
# Maximum number of comments to pull back on a post.
|
||||
# @param [String] path
|
||||
# Path of the Post to retrieve.
|
||||
# @param [Fixnum] max_comments
|
||||
# Maximum number of comments to pull back on a post.
|
||||
# @param [String] view
|
||||
# Access level with which to view the returned result. Note that some fields
|
||||
# require elevated access.
|
||||
|
@ -1185,7 +1185,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_post_by_path(blog_id, max_comments: nil, path: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'blogs/{blogId}/posts/bypath'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
||||
|
@ -1467,13 +1467,13 @@ module Google
|
|||
# Search for a post.
|
||||
# @param [String] blog_id
|
||||
# ID of the blog to fetch the post from.
|
||||
# @param [String] q
|
||||
# Query terms to search this blog for matching posts.
|
||||
# @param [Boolean] fetch_bodies
|
||||
# Whether the body content of posts is included (default: true). This should be
|
||||
# set to false when the post bodies are not required, to help minimize traffic.
|
||||
# @param [String] order_by
|
||||
# Sort search results
|
||||
# @param [String] q
|
||||
# Query terms to search this blog for matching posts.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1495,7 +1495,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_posts(blog_id, fetch_bodies: nil, order_by: nil, q: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'blogs/{blogId}/posts/search'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BloggerV3::PostList::Representation
|
||||
|
|
|
@ -252,7 +252,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_book(volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def delete_book(volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'cloudloading/deleteBook'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.query['volumeId'] = volume_id unless volume_id.nil?
|
||||
|
@ -322,7 +322,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_offline_metadata_dictionary(cpksver: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_offline_metadata_dictionary(cpksver, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'dictionary/listOfflineMetadata'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::Metadata::Representation
|
||||
|
@ -434,10 +434,10 @@ module Google
|
|||
# The ID for the layer to get the annotations.
|
||||
# @param [String] annotation_data_id
|
||||
# The ID of the annotation data to retrieve.
|
||||
# @param [Boolean] allow_web_definitions
|
||||
# For the dictionary layer. Whether or not to allow web definitions.
|
||||
# @param [String] content_version
|
||||
# The content version for the volume you are trying to retrieve.
|
||||
# @param [Boolean] allow_web_definitions
|
||||
# For the dictionary layer. Whether or not to allow web definitions.
|
||||
# @param [Fixnum] h
|
||||
# The requested pixel height for any images. If height is provided width must
|
||||
# also be provided.
|
||||
|
@ -472,7 +472,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, allow_web_definitions: nil, content_version: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, content_version, allow_web_definitions: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::AnnotationData::Representation
|
||||
|
@ -498,11 +498,11 @@ module Google
|
|||
# The volume to retrieve annotation data for.
|
||||
# @param [String] layer_id
|
||||
# The ID for the layer to get the annotation data.
|
||||
# @param [String] content_version
|
||||
# The content version for the requested volume.
|
||||
# @param [Array<String>, String] annotation_data_id
|
||||
# The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
|
||||
# set.
|
||||
# @param [String] content_version
|
||||
# The content version for the requested volume.
|
||||
# @param [Fixnum] h
|
||||
# The requested pixel height for any images. If height is provided width must
|
||||
# also be provided.
|
||||
|
@ -547,7 +547,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_layer_annotation_data(volume_id, layer_id, annotation_data_id: nil, content_version: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_layer_annotation_data(volume_id, layer_id, content_version, annotation_data_id: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'volumes/{volumeId}/layers/{layerId}/data'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::AnnotationsData::Representation
|
||||
|
@ -676,7 +676,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_layer_volume_annotations(volume_id, layer_id, content_version: nil, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_layer_volume_annotations(volume_id, layer_id, content_version, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'volumes/{volumeId}/layers/{layerId}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::Volumeannotations::Representation
|
||||
|
@ -736,14 +736,14 @@ module Google
|
|||
end
|
||||
|
||||
# Release downloaded content access restriction.
|
||||
# @param [Array<String>, String] volume_ids
|
||||
# The volume(s) to release restrictions for.
|
||||
# @param [String] cpksver
|
||||
# The device/version ID from which to release the restriction.
|
||||
# @param [String] locale
|
||||
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [Array<String>, String] volume_ids
|
||||
# The volume(s) to release restrictions for.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -765,7 +765,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def release_download_access(cpksver: nil, locale: nil, source: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def release_download_access(volume_ids, cpksver, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'myconfig/releaseDownloadAccess'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::DownloadAccesses::Representation
|
||||
|
@ -781,18 +781,18 @@ module Google
|
|||
end
|
||||
|
||||
# Request concurrent and download access restrictions.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] volume_id
|
||||
# The volume to request concurrent/download restrictions for.
|
||||
# @param [String] nonce
|
||||
# The client nonce value.
|
||||
# @param [String] cpksver
|
||||
# The device/version ID from which to request the restrictions.
|
||||
# @param [String] license_types
|
||||
# The type of access license to request. If not specified, the default is BOTH.
|
||||
# @param [String] locale
|
||||
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
||||
# @param [String] nonce
|
||||
# The client nonce value.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] volume_id
|
||||
# The volume to request concurrent/download restrictions for.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -814,7 +814,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def request_access(cpksver: nil, license_types: nil, locale: nil, nonce: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def request_access(source, volume_id, nonce, cpksver, license_types: nil, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'myconfig/requestAccess'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::RequestAccess::Representation
|
||||
|
@ -832,18 +832,18 @@ module Google
|
|||
end
|
||||
|
||||
# Request downloaded content access for specified volumes on the My eBooks shelf.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] nonce
|
||||
# The client nonce value.
|
||||
# @param [String] cpksver
|
||||
# The device/version ID from which to release the restriction.
|
||||
# @param [Array<String>, String] features
|
||||
# List of features supported by the client, i.e., 'RENTALS'
|
||||
# @param [String] locale
|
||||
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
||||
# @param [String] nonce
|
||||
# The client nonce value.
|
||||
# @param [Boolean] show_preorders
|
||||
# Set to true to show pre-ordered books. Defaults to false.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [Array<String>, String] volume_ids
|
||||
# The volume(s) to request download restrictions for.
|
||||
# @param [String] fields
|
||||
|
@ -867,7 +867,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def sync_volume_licenses(cpksver: nil, features: nil, locale: nil, nonce: nil, show_preorders: nil, source: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def sync_volume_licenses(source, nonce, cpksver, features: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'myconfig/syncVolumeLicenses'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
||||
|
@ -1098,7 +1098,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def summarize_my_library_annotation(layer_ids: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'mylibrary/annotations/summary'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
|
||||
|
@ -1156,12 +1156,12 @@ module Google
|
|||
# Adds a volume to a bookshelf.
|
||||
# @param [String] shelf
|
||||
# ID of bookshelf to which to add a volume.
|
||||
# @param [String] volume_id
|
||||
# ID of volume to add.
|
||||
# @param [String] reason
|
||||
# The reason for which the book is added to the library.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] volume_id
|
||||
# ID of volume to add.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1183,7 +1183,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def add_my_library_volume(shelf, reason: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def add_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'mylibrary/bookshelves/{shelf}/addVolume'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.params['shelf'] = shelf unless shelf.nil?
|
||||
|
@ -1312,13 +1312,13 @@ module Google
|
|||
# Moves a volume within a bookshelf.
|
||||
# @param [String] shelf
|
||||
# ID of bookshelf with the volume.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] volume_id
|
||||
# ID of volume to move.
|
||||
# @param [Fixnum] volume_position
|
||||
# Position on shelf to move the item (0 puts the item before the current first
|
||||
# item, 1 puts it between the first and the second and so on.)
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1340,7 +1340,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def move_my_library_volume(shelf, source: nil, volume_id: nil, volume_position: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def move_my_library_volume(shelf, volume_id, volume_position, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'mylibrary/bookshelves/{shelf}/moveVolume'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.params['shelf'] = shelf unless shelf.nil?
|
||||
|
@ -1356,12 +1356,12 @@ module Google
|
|||
# Removes a volume from a bookshelf.
|
||||
# @param [String] shelf
|
||||
# ID of bookshelf from which to remove a volume.
|
||||
# @param [String] volume_id
|
||||
# ID of volume to remove.
|
||||
# @param [String] reason
|
||||
# The reason for which the book is removed from the library.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] volume_id
|
||||
# ID of volume to remove.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1383,7 +1383,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def remove_my_library_volume(shelf, reason: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def remove_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'mylibrary/bookshelves/{shelf}/removeVolume'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.params['shelf'] = shelf unless shelf.nil?
|
||||
|
@ -1498,18 +1498,18 @@ module Google
|
|||
# Sets my reading position information for a volume.
|
||||
# @param [String] volume_id
|
||||
# ID of volume for which to update the reading position.
|
||||
# @param [String] timestamp
|
||||
# RFC 3339 UTC format timestamp associated with this reading position.
|
||||
# @param [String] position
|
||||
# Position string for the new volume reading position.
|
||||
# @param [String] action
|
||||
# Action that caused this reading position to be set.
|
||||
# @param [String] content_version
|
||||
# Volume content version for which this reading position applies.
|
||||
# @param [String] device_cookie
|
||||
# Random persistent device cookie optional on set position.
|
||||
# @param [String] position
|
||||
# Position string for the new volume reading position.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] timestamp
|
||||
# RFC 3339 UTC format timestamp associated with this reading position.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1531,7 +1531,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_my_library_reading_position(volume_id, action: nil, content_version: nil, device_cookie: nil, position: nil, source: nil, timestamp: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def set_my_library_reading_position(volume_id, timestamp, position, action: nil, content_version: nil, device_cookie: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'mylibrary/readingpositions/{volumeId}/setPosition'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.params['volumeId'] = volume_id unless volume_id.nil?
|
||||
|
@ -1840,6 +1840,8 @@ module Google
|
|||
end
|
||||
|
||||
# Performs a book search.
|
||||
# @param [String] q
|
||||
# Full-text search query string.
|
||||
# @param [String] download
|
||||
# Restrict to volumes by download availability.
|
||||
# @param [String] filter
|
||||
|
@ -1858,8 +1860,6 @@ module Google
|
|||
# Restrict to books or magazines.
|
||||
# @param [String] projection
|
||||
# Restrict information returned to a set of selected fields.
|
||||
# @param [String] q
|
||||
# Full-text search query string.
|
||||
# @param [Boolean] show_preorders
|
||||
# Set to true to show books available for preorder. Defaults to false.
|
||||
# @param [String] source
|
||||
|
@ -1887,7 +1887,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_volumes(download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, q: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'volumes'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
||||
|
@ -2059,15 +2059,15 @@ module Google
|
|||
end
|
||||
|
||||
# Rate a recommended book for the current user.
|
||||
# @param [String] rating
|
||||
# Rating to be given to the volume.
|
||||
# @param [String] volume_id
|
||||
# ID of the source volume.
|
||||
# @param [String] locale
|
||||
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
||||
# generating recommendations.
|
||||
# @param [String] rating
|
||||
# Rating to be given to the volume.
|
||||
# @param [String] source
|
||||
# String to identify the originator of this request.
|
||||
# @param [String] volume_id
|
||||
# ID of the source volume.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -2089,7 +2089,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def rate_recommended_volume(locale: nil, rating: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def rate_recommended_volume(rating, volume_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'volumes/recommended/rate'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::BooksV1::RateRecommendedVolumeResponse::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20150701'
|
||||
REVISION = '20150720'
|
||||
|
||||
# Manage your calendars
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
|
|
@ -272,13 +272,17 @@ module Google
|
|||
attr_accessor :access_role
|
||||
|
||||
# The main color of the calendar in the hexadecimal format "#0088aa". This
|
||||
# property supersedes the index-based colorId property. Optional.
|
||||
# property supersedes the index-based colorId property. To set or change this
|
||||
# property, you need to specify colorRgbFormat=true in the parameters of the
|
||||
# insert, update and patch methods. Optional.
|
||||
# Corresponds to the JSON property `backgroundColor`
|
||||
# @return [String]
|
||||
attr_accessor :background_color
|
||||
|
||||
# The color of the calendar. This is an ID referring to an entry in the calendar
|
||||
# section of the colors definition (see the colors endpoint). Optional.
|
||||
# section of the colors definition (see the colors endpoint). This property is
|
||||
# superseded by the backgroundColor and foregroundColor properties and can be
|
||||
# ignored when using these properties. Optional.
|
||||
# Corresponds to the JSON property `colorId`
|
||||
# @return [String]
|
||||
attr_accessor :color_id
|
||||
|
@ -306,7 +310,9 @@ module Google
|
|||
attr_accessor :etag
|
||||
|
||||
# The foreground color of the calendar in the hexadecimal format "#ffffff". This
|
||||
# property supersedes the index-based colorId property. Optional.
|
||||
# property supersedes the index-based colorId property. To set or change this
|
||||
# property, you need to specify colorRgbFormat=true in the parameters of the
|
||||
# insert, update and patch methods. Optional.
|
||||
# Corresponds to the JSON property `foregroundColor`
|
||||
# @return [String]
|
||||
attr_accessor :foreground_color
|
||||
|
@ -420,7 +426,8 @@ module Google
|
|||
# The method used to deliver the notification. Possible values are:
|
||||
# - "email" - Reminders are sent via email.
|
||||
# - "sms" - Reminders are sent via SMS. This value is read-only and is ignored
|
||||
# on inserts and updates.
|
||||
# on inserts and updates. SMS reminders are only available for Google Apps for
|
||||
# Work, Education, and Government customers.
|
||||
# Corresponds to the JSON property `method`
|
||||
# @return [String]
|
||||
attr_accessor :delivery_method
|
||||
|
@ -554,15 +561,16 @@ module Google
|
|||
class Colors
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Palette of calendar colors, mapping from the color ID to its definition. A
|
||||
# calendarListEntry resource refers to one of these color IDs in its color field.
|
||||
# Read-only.
|
||||
# A global palette of calendar colors, mapping from the color ID to its
|
||||
# definition. A calendarListEntry resource refers to one of these color IDs in
|
||||
# its color field. Read-only.
|
||||
# Corresponds to the JSON property `calendar`
|
||||
# @return [Hash<String,Google::Apis::CalendarV3::ColorDefinition>]
|
||||
attr_accessor :calendar
|
||||
|
||||
# Palette of event colors, mapping from the color ID to its definition. An event
|
||||
# resource may refer to one of these color IDs in its color field. Read-only.
|
||||
# A global palette of event colors, mapping from the color ID to its definition.
|
||||
# An event resource may refer to one of these color IDs in its color field. Read-
|
||||
# only.
|
||||
# Corresponds to the JSON property `event`
|
||||
# @return [Hash<String,Google::Apis::CalendarV3::ColorDefinition>]
|
||||
attr_accessor :event
|
||||
|
@ -644,7 +652,8 @@ module Google
|
|||
# @return [Array<Google::Apis::CalendarV3::EventAttachment>]
|
||||
attr_accessor :attachments
|
||||
|
||||
# The attendees of the event.
|
||||
# The attendees of the event. See the Events with attendees guide for more
|
||||
# information on scheduling events with other calendar users.
|
||||
# Corresponds to the JSON property `attendees`
|
||||
# @return [Array<Google::Apis::CalendarV3::EventAttendee>]
|
||||
attr_accessor :attendees
|
||||
|
@ -797,8 +806,11 @@ module Google
|
|||
attr_accessor :private_copy
|
||||
alias_method :private_copy?, :private_copy
|
||||
|
||||
# List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This
|
||||
# field is omitted for single events or instances of recurring events.
|
||||
# List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as
|
||||
# specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in
|
||||
# this field; event start and end times are specified in the start and end
|
||||
# fields. This field is omitted for single events or instances of recurring
|
||||
# events.
|
||||
# Corresponds to the JSON property `recurrence`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :recurrence
|
||||
|
@ -819,9 +831,9 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :sequence
|
||||
|
||||
# Source of an event from which it was created; for example a web page, an email
|
||||
# message or any document identifiable by an URL using HTTP/HTTPS protocol.
|
||||
# Accessible only by the creator of the event.
|
||||
# Source from which the event was created. For example, a web page, an email
|
||||
# message or any document identifiable by an URL with HTTP or HTTPS scheme. Can
|
||||
# only be seen or modified by the creator of the event.
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [Google::Apis::CalendarV3::Event::Source]
|
||||
attr_accessor :source
|
||||
|
@ -992,17 +1004,18 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :display_mode
|
||||
|
||||
# The gadget's height in pixels. Optional.
|
||||
# The gadget's height in pixels. The height must be an integer greater than 0.
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `height`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :height
|
||||
|
||||
# The gadget's icon URL.
|
||||
# The gadget's icon URL. The URL scheme must be HTTPS.
|
||||
# Corresponds to the JSON property `iconLink`
|
||||
# @return [String]
|
||||
attr_accessor :icon_link
|
||||
|
||||
# The gadget's URL.
|
||||
# The gadget's URL. The URL scheme must be HTTPS.
|
||||
# Corresponds to the JSON property `link`
|
||||
# @return [String]
|
||||
attr_accessor :link
|
||||
|
@ -1022,7 +1035,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# The gadget's width in pixels. Optional.
|
||||
# The gadget's width in pixels. The width must be an integer greater than 0.
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `width`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :width
|
||||
|
@ -1092,7 +1106,7 @@ module Google
|
|||
|
||||
# If the event doesn't use the default reminders, this lists the reminders
|
||||
# specific to the event, or, if not set, indicates that no reminders are set for
|
||||
# this event.
|
||||
# this event. The maximum number of override reminders is 5.
|
||||
# Corresponds to the JSON property `overrides`
|
||||
# @return [Array<Google::Apis::CalendarV3::EventReminder>]
|
||||
attr_accessor :overrides
|
||||
|
@ -1114,9 +1128,9 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Source of an event from which it was created; for example a web page, an email
|
||||
# message or any document identifiable by an URL using HTTP/HTTPS protocol.
|
||||
# Accessible only by the creator of the event.
|
||||
# Source from which the event was created. For example, a web page, an email
|
||||
# message or any document identifiable by an URL with HTTP or HTTPS scheme. Can
|
||||
# only be seen or modified by the creator of the event.
|
||||
class Source
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1125,7 +1139,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :title
|
||||
|
||||
# URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS.
|
||||
# URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
@ -1147,7 +1161,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ID of the attached file. Read-only.
|
||||
# E.g. for Google Drive files this is the ID of the corresponding Files resource
|
||||
# For Google Drive files, this is the ID of the corresponding Files resource
|
||||
# entry in the Drive API.
|
||||
# Corresponds to the JSON property `fileId`
|
||||
# @return [String]
|
||||
|
@ -1316,14 +1330,16 @@ module Google
|
|||
|
||||
# The method used by this reminder. Possible values are:
|
||||
# - "email" - Reminders are sent via email.
|
||||
# - "sms" - Reminders are sent via SMS.
|
||||
# - "sms" - Reminders are sent via SMS. These are only available for Google Apps
|
||||
# for Work, Education, and Government customers. Requests to set SMS reminders
|
||||
# for other account types are ignored.
|
||||
# - "popup" - Reminders are sent via a UI popup.
|
||||
# Corresponds to the JSON property `method`
|
||||
# @return [String]
|
||||
attr_accessor :reminder_method
|
||||
|
||||
# Number of minutes before the start of the event when the reminder should
|
||||
# trigger.
|
||||
# trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
|
||||
# Corresponds to the JSON property `minutes`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :minutes
|
||||
|
|
|
@ -1221,10 +1221,12 @@ module Google
|
|||
# singleEvents is False. Optional. The default is False.
|
||||
# @param [DateTime] time_max
|
||||
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
||||
# default is not to filter by start time.
|
||||
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
||||
# mandatory time zone offset.
|
||||
# @param [DateTime] time_min
|
||||
# Lower bound (inclusive) for an event's end time to filter by. Optional. The
|
||||
# default is not to filter by end time.
|
||||
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
||||
# mandatory time zone offset.
|
||||
# @param [String] time_zone
|
||||
# Time zone used in the response. Optional. The default is the time zone of the
|
||||
# calendar.
|
||||
|
@ -1343,10 +1345,14 @@ module Google
|
|||
# Optional. The default is to return all entries.
|
||||
# @param [DateTime] time_max
|
||||
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
||||
# default is not to filter by start time.
|
||||
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
||||
# mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
|
||||
# 00Z. Milliseconds may be provided but will be ignored.
|
||||
# @param [DateTime] time_min
|
||||
# Lower bound (inclusive) for an event's end time to filter by. Optional. The
|
||||
# default is not to filter by end time.
|
||||
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
||||
# mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
|
||||
# 00Z. Milliseconds may be provided but will be ignored.
|
||||
# @param [String] time_zone
|
||||
# Time zone used in the response. Optional. The default is the time zone of the
|
||||
# calendar.
|
||||
|
@ -1436,7 +1442,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def move_event(calendar_id, event_id, destination: nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def move_event(calendar_id, event_id, destination, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'calendars/{calendarId}/events/{eventId}/move'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
|
@ -1516,11 +1522,11 @@ module Google
|
|||
# Creates an event based on a simple text string.
|
||||
# @param [String] calendar_id
|
||||
# Calendar identifier.
|
||||
# @param [String] text
|
||||
# The text describing the event to be created.
|
||||
# @param [Boolean] send_notifications
|
||||
# Whether to send notifications about the creation of the event. Optional. The
|
||||
# default is False.
|
||||
# @param [String] text
|
||||
# The text describing the event to be created.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1542,7 +1548,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def quick_add_event(calendar_id, send_notifications: nil, text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def quick_add_event(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'calendars/{calendarId}/events/quickAdd'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
|
@ -1691,10 +1697,14 @@ module Google
|
|||
# Optional. The default is to return all entries.
|
||||
# @param [DateTime] time_max
|
||||
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
||||
# default is not to filter by start time.
|
||||
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
||||
# mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
|
||||
# 00Z. Milliseconds may be provided but will be ignored.
|
||||
# @param [DateTime] time_min
|
||||
# Lower bound (inclusive) for an event's end time to filter by. Optional. The
|
||||
# default is not to filter by end time.
|
||||
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
||||
# mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:
|
||||
# 00Z. Milliseconds may be provided but will be ignored.
|
||||
# @param [String] time_zone
|
||||
# Time zone used in the response. Optional. The default is the time zone of the
|
||||
# calendar.
|
||||
|
|
|
@ -154,7 +154,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def query_voter_info(address: nil, election_id: nil, official_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def query_voter_info(address, election_id: nil, official_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'voterinfo'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/v2beta2/
|
||||
module CloudmonitoringV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20150713'
|
||||
REVISION = '20150727'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -202,6 +202,9 @@ module Google
|
|||
# @param [String] metric
|
||||
# Metric names are protocol-free URLs as listed in the Supported Metrics page.
|
||||
# For example, compute.googleapis.com/instance/disk/read_ops_count.
|
||||
# @param [String] youngest
|
||||
# End of the time interval (inclusive), which is expressed as an RFC 3339
|
||||
# timestamp.
|
||||
# @param [Google::Apis::CloudmonitoringV2beta2::ListTimeseriesRequest] list_timeseries_request_object
|
||||
# @param [String] aggregator
|
||||
# The aggregation function that will reduce the data points in each window to a
|
||||
|
@ -248,9 +251,6 @@ module Google
|
|||
# - d: day
|
||||
# - w: week Examples: 3m, 4w. Only one unit is allowed, for example: 2w3d is
|
||||
# not allowed; you should use 17d instead.
|
||||
# @param [String] youngest
|
||||
# End of the time interval (inclusive), which is expressed as an RFC 3339
|
||||
# timestamp.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -272,7 +272,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_timeseries(project, metric, list_timeseries_request_object = nil, aggregator: nil, count: nil, labels: nil, oldest: nil, page_token: nil, timespan: nil, window: nil, youngest: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_timeseries(project, metric, youngest, list_timeseries_request_object = nil, aggregator: nil, count: nil, labels: nil, oldest: nil, page_token: nil, timespan: nil, window: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/timeseries/{metric}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.request_representation = Google::Apis::CloudmonitoringV2beta2::ListTimeseriesRequest::Representation
|
||||
|
@ -352,6 +352,9 @@ module Google
|
|||
# @param [String] metric
|
||||
# Metric names are protocol-free URLs as listed in the Supported Metrics page.
|
||||
# For example, compute.googleapis.com/instance/disk/read_ops_count.
|
||||
# @param [String] youngest
|
||||
# End of the time interval (inclusive), which is expressed as an RFC 3339
|
||||
# timestamp.
|
||||
# @param [Google::Apis::CloudmonitoringV2beta2::ListTimeseriesDescriptorsRequest] list_timeseries_descriptors_request_object
|
||||
# @param [String] aggregator
|
||||
# The aggregation function that will reduce the data points in each window to a
|
||||
|
@ -398,9 +401,6 @@ module Google
|
|||
# - d: day
|
||||
# - w: week Examples: 3m, 4w. Only one unit is allowed, for example: 2w3d is
|
||||
# not allowed; you should use 17d instead.
|
||||
# @param [String] youngest
|
||||
# End of the time interval (inclusive), which is expressed as an RFC 3339
|
||||
# timestamp.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -422,7 +422,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_timeseries_descriptors(project, metric, list_timeseries_descriptors_request_object = nil, aggregator: nil, count: nil, labels: nil, oldest: nil, page_token: nil, timespan: nil, window: nil, youngest: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_timeseries_descriptors(project, metric, youngest, list_timeseries_descriptors_request_object = nil, aggregator: nil, count: nil, labels: nil, oldest: nil, page_token: nil, timespan: nil, window: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/timeseriesDescriptors/{metric}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.request_representation = Google::Apis::CloudmonitoringV2beta2::ListTimeseriesDescriptorsRequest::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20150711'
|
||||
REVISION = '20150729'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -135,6 +135,378 @@ module Google
|
|||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for `GetIamPolicy` method.
|
||||
class GetIamPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# # Overview The `Policy` defines an access control policy language. It is used
|
||||
# to define policies that are attached to resources like files, folders, VMs,
|
||||
# etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding`
|
||||
# binds a set of members to a role, where the members include user accounts,
|
||||
# user groups, user domains, and service accounts. A 'role' is a named set of
|
||||
# permissions, defined by IAM. The definition of a role is outside the policy. A
|
||||
# permission check first determines the roles that include the specified
|
||||
# permission, and then determines if the principal specified is a member of a
|
||||
# binding to at least one of these roles. The membership check is recursive when
|
||||
# a group is bound to a role. Policy examples: ``` ` "bindings": [ ` "role": "
|
||||
# roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com",
|
||||
# "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.
|
||||
# com"] `, ` "role": "roles/viewer", "members": ["user:sean@example.com"] ` ] ` `
|
||||
# ``
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The policy language version. The version of the policy is represented by the
|
||||
# etag. The default version is 0.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
||||
# It is an error to specify multiple bindings for the same role. It is an error
|
||||
# to specify a binding with no members.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `rules`
|
||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Can be used to perform a read-modify-write.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@version = args[:version] unless args[:version].nil?
|
||||
@bindings = args[:bindings] unless args[:bindings].nil?
|
||||
@rules = args[:rules] unless args[:rules].nil?
|
||||
@etag = args[:etag] unless args[:etag].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Associates members with roles. See below for allowed formats of members.
|
||||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the role to which the members should be bound. Examples: "roles/
|
||||
# viewer", "roles/editor", "roles/owner". Required
|
||||
# Corresponds to the JSON property `role`
|
||||
# @return [String]
|
||||
attr_accessor :role
|
||||
|
||||
# Format of member entries: 1. allUsers Matches any requesting principal (users,
|
||||
# service accounts or anonymous). 2. allAuthenticatedUsers Matches any
|
||||
# requesting authenticated principal (users or service accounts). 3. user:`
|
||||
# emailid` A google user account using an email address. For example alice@gmail.
|
||||
# com, joe@example.com 4. serviceAccount:`emailid` An service account email. 5.
|
||||
# group:`emailid` A google group with an email address. For example auth-ti-
|
||||
# cloud@google.com 6. domain:`domain` A Google Apps domain name. For example
|
||||
# google.com, example.com
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@role = args[:role] unless args[:role].nil?
|
||||
@members = args[:members] unless args[:members].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# A rule to be applied in a Policy.
|
||||
class Rule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Human-readable description of the rule.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
|
||||
# of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
|
||||
# *') matches all verbs.
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
# Required
|
||||
# Corresponds to the JSON property `action`
|
||||
# @return [String]
|
||||
attr_accessor :action
|
||||
|
||||
# The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
|
||||
# Corresponds to the JSON property `in`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :in
|
||||
|
||||
# The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of
|
||||
# entries. The formation for in and not_in entries is the same as members in a
|
||||
# Binding above.
|
||||
# Corresponds to the JSON property `notIn`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :not_in
|
||||
|
||||
# Additional restrictions that must be met
|
||||
# Corresponds to the JSON property `conditions`
|
||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Condition>]
|
||||
attr_accessor :conditions
|
||||
|
||||
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
||||
# that match the LOG action.
|
||||
# Corresponds to the JSON property `logConfig`
|
||||
# @return [Array<Google::Apis::CloudresourcemanagerV1beta1::LogConfig>]
|
||||
attr_accessor :log_config
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] unless args[:description].nil?
|
||||
@permissions = args[:permissions] unless args[:permissions].nil?
|
||||
@action = args[:action] unless args[:action].nil?
|
||||
@in = args[:in] unless args[:in].nil?
|
||||
@not_in = args[:not_in] unless args[:not_in].nil?
|
||||
@conditions = args[:conditions] unless args[:conditions].nil?
|
||||
@log_config = args[:log_config] unless args[:log_config].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# A condition to be met.
|
||||
class Condition
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Trusted attributes supplied by the IAM system.
|
||||
# Corresponds to the JSON property `iam`
|
||||
# @return [String]
|
||||
attr_accessor :iam
|
||||
|
||||
# Trusted attributes supplied by any service that owns resources and uses the
|
||||
# IAM system for access control.
|
||||
# Corresponds to the JSON property `sys`
|
||||
# @return [String]
|
||||
attr_accessor :sys
|
||||
|
||||
# Trusted attributes discharged by the service.
|
||||
# Corresponds to the JSON property `svc`
|
||||
# @return [String]
|
||||
attr_accessor :svc
|
||||
|
||||
# An operator to apply the subject with.
|
||||
# Corresponds to the JSON property `op`
|
||||
# @return [String]
|
||||
attr_accessor :op
|
||||
|
||||
# The object of the condition. Exactly one of these must be set.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@iam = args[:iam] unless args[:iam].nil?
|
||||
@sys = args[:sys] unless args[:sys].nil?
|
||||
@svc = args[:svc] unless args[:svc].nil?
|
||||
@op = args[:op] unless args[:op].nil?
|
||||
@value = args[:value] unless args[:value].nil?
|
||||
@values = args[:values] unless args[:values].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Specifies what kind of log the caller must write Increment a streamz counter
|
||||
# with the specified metric and field names. Metric names should start with a '/'
|
||||
# , generally be lowercase-only, and end in "_count". Field names should not
|
||||
# contain an initial slash. The actual exported metric names will have "/iam/
|
||||
# policy" prepended. Field names correspond to IAM request parameters and field
|
||||
# values are their respective values. At present only "iam_principal",
|
||||
# corresponding to IAMContext.principal, is supported. Examples: counter `
|
||||
# metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter /
|
||||
# iam/policy/backend_debug_access_count `iam_principal=[value of IAMContext.
|
||||
# principal]` At this time we do not support: * multiple field names (though
|
||||
# this may be supported in the future) * decrementing the counter * incrementing
|
||||
# it by anything other than 1
|
||||
class LogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Options for counters
|
||||
# Corresponds to the JSON property `counter`
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::CounterOptions]
|
||||
attr_accessor :counter
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
# Corresponds to the JSON property `dataAccess`
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::DataAccessOptions]
|
||||
attr_accessor :data_access
|
||||
|
||||
# Write a Cloud Audit log
|
||||
# Corresponds to the JSON property `cloudAudit`
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::CloudAuditOptions]
|
||||
attr_accessor :cloud_audit
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@counter = args[:counter] unless args[:counter].nil?
|
||||
@data_access = args[:data_access] unless args[:data_access].nil?
|
||||
@cloud_audit = args[:cloud_audit] unless args[:cloud_audit].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Options for counters
|
||||
class CounterOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The metric to update.
|
||||
# Corresponds to the JSON property `metric`
|
||||
# @return [String]
|
||||
attr_accessor :metric
|
||||
|
||||
# The field value to attribute.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
attr_accessor :field
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@metric = args[:metric] unless args[:metric].nil?
|
||||
@field = args[:field] unless args[:field].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
class DataAccessOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Write a Cloud Audit log
|
||||
class CloudAuditOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for `SetIamPolicy` method.
|
||||
class SetIamPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# # Overview The `Policy` defines an access control policy language. It is used
|
||||
# to define policies that are attached to resources like files, folders, VMs,
|
||||
# etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding`
|
||||
# binds a set of members to a role, where the members include user accounts,
|
||||
# user groups, user domains, and service accounts. A 'role' is a named set of
|
||||
# permissions, defined by IAM. The definition of a role is outside the policy. A
|
||||
# permission check first determines the roles that include the specified
|
||||
# permission, and then determines if the principal specified is a member of a
|
||||
# binding to at least one of these roles. The membership check is recursive when
|
||||
# a group is bound to a role. Policy examples: ``` ` "bindings": [ ` "role": "
|
||||
# roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com",
|
||||
# "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.
|
||||
# com"] `, ` "role": "roles/viewer", "members": ["user:sean@example.com"] ` ] ` `
|
||||
# ``
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@policy = args[:policy] unless args[:policy].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for `TestIamPermissions` method.
|
||||
class TestIamPermissionsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The set of permissions to check for the 'resource'. Permissions with wildcards
|
||||
# (such as '*' or 'storage.*') are not allowed.
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@permissions = args[:permissions] unless args[:permissions].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for `TestIamPermissions` method.
|
||||
class TestIamPermissionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@permissions = args[:permissions] unless args[:permissions].nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -34,6 +34,54 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class GetIamPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Binding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Rule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Condition
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class LogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class CounterOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class DataAccessOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class CloudAuditOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class SetIamPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class TestIamPermissionsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class TestIamPermissionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Project
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -60,6 +108,113 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :version, as: 'version'
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
|
||||
|
||||
collection :rules, as: 'rules', class: Google::Apis::CloudresourcemanagerV1beta1::Rule, decorator: Google::Apis::CloudresourcemanagerV1beta1::Rule::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
end
|
||||
end
|
||||
|
||||
class Binding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :role, as: 'role'
|
||||
collection :members, as: 'members'
|
||||
end
|
||||
end
|
||||
|
||||
class Rule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
collection :permissions, as: 'permissions'
|
||||
property :action, as: 'action'
|
||||
collection :in, as: 'in'
|
||||
collection :not_in, as: 'notIn'
|
||||
collection :conditions, as: 'conditions', class: Google::Apis::CloudresourcemanagerV1beta1::Condition, decorator: Google::Apis::CloudresourcemanagerV1beta1::Condition::Representation
|
||||
|
||||
collection :log_config, as: 'logConfig', class: Google::Apis::CloudresourcemanagerV1beta1::LogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::LogConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Condition
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :iam, as: 'iam'
|
||||
property :sys, as: 'sys'
|
||||
property :svc, as: 'svc'
|
||||
property :op, as: 'op'
|
||||
property :value, as: 'value'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :counter, as: 'counter', class: Google::Apis::CloudresourcemanagerV1beta1::CounterOptions, decorator: Google::Apis::CloudresourcemanagerV1beta1::CounterOptions::Representation
|
||||
|
||||
property :data_access, as: 'dataAccess', class: Google::Apis::CloudresourcemanagerV1beta1::DataAccessOptions, decorator: Google::Apis::CloudresourcemanagerV1beta1::DataAccessOptions::Representation
|
||||
|
||||
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudresourcemanagerV1beta1::CloudAuditOptions, decorator: Google::Apis::CloudresourcemanagerV1beta1::CloudAuditOptions::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CounterOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :metric, as: 'metric'
|
||||
property :field, as: 'field'
|
||||
end
|
||||
end
|
||||
|
||||
class DataAccessOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class CloudAuditOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class SetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class TestIamPermissionsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class TestIamPermissionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -288,6 +288,115 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the IAM access control policy for specified project.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy is being requested. Resource is
|
||||
# usually specified as a path, such as, projects/`project`.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
path = 'v1beta1/projects/{resource}:getIamPolicy'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
||||
command.request_object = get_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the IAM access control policy for the specified project. We do not
|
||||
# currently support 'domain:' prefixed members in a Binding of a Policy. Calling
|
||||
# this method requires enabling the App Engine Admin API.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy is being specified. Resource is
|
||||
# usually specified as a path, such as, projects/`project`/zones/`zone`/disks/`
|
||||
# disk`.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
path = 'v1beta1/projects/{resource}:setIamPolicy'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Tests the specified permissions against the IAM access control policy for the
|
||||
# specified project.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy detail is being requested. Resource is
|
||||
# usually specified as a path, such as, projects/`project`.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def test_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
path = 'v1beta1/projects/{resource}:testIamPermissions'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150713'
|
||||
REVISION = '20150723'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -3095,7 +3095,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# The URL of all TargetPool resources to which new instances in the
|
||||
# The URLs of all TargetPool resources to which new instances in the
|
||||
# instanceGroup field are added. Updating the target pool values does not affect
|
||||
# existing instances.
|
||||
# Corresponds to the JSON property `targetPools`
|
||||
|
@ -3142,37 +3142,48 @@ module Google
|
|||
class InstanceGroupManagerActionsSummary
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# [Output Only] Total number of instances in the managed instance group that are
|
||||
# scheduled to be abandoned. Abandoning an instance removes it from the managed
|
||||
# instance group without deleting it.
|
||||
# Corresponds to the JSON property `abandoning`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :abandoning
|
||||
|
||||
#
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# scheduled to be created or are currently being created.
|
||||
# Corresponds to the JSON property `creating`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :creating
|
||||
|
||||
#
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# scheduled to be deleted or are currently being deleted.
|
||||
# Corresponds to the JSON property `deleting`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :deleting
|
||||
|
||||
#
|
||||
# [Output Only] The number of instances in the managed instance group that
|
||||
# currently have no scheduled actions.
|
||||
# Corresponds to the JSON property `none`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :none
|
||||
|
||||
#
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# scheduled to be recreated or are currently being being recreated. Recreating
|
||||
# an instance deletes the existing root persistent disk and creates a new disk
|
||||
# from the image that is defined in the instance template.
|
||||
# Corresponds to the JSON property `recreating`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :recreating
|
||||
|
||||
#
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# being reconfigured with properties that do not require a restart or a recreate
|
||||
# action. For example, setting or removing target pools for the instance.
|
||||
# Corresponds to the JSON property `refreshing`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :refreshing
|
||||
|
||||
#
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# scheduled to be restarted or are currently being restarted.
|
||||
# Corresponds to the JSON property `restarting`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :restarting
|
||||
|
@ -4761,8 +4772,8 @@ module Google
|
|||
class NetworkInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An array of configurations for this interface. Currently, <codeONE_TO_ONE_NAT
|
||||
# is the only access config supported. If there are no accessConfigs specified,
|
||||
# An array of configurations for this interface. Currently, ONE_TO_ONE_NAT is
|
||||
# the only access config supported. If there are no accessConfigs specified,
|
||||
# then this instance will have no external internet access.
|
||||
# Corresponds to the JSON property `accessConfigs`
|
||||
# @return [Array<Google::Apis::ComputeV1::AccessConfig>]
|
||||
|
@ -7476,13 +7487,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# IKE networks to use when establishing the VPN tunnel with peer VPN gateway.
|
||||
# The value should be a CIDR formatted string, for example: 192.168.0.0/16. The
|
||||
# ranges should be disjoint.
|
||||
# Corresponds to the JSON property `ikeNetworks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :ike_networks
|
||||
|
||||
# IKE protocol version to use when establishing the VPN tunnel with peer VPN
|
||||
# gateway. Acceptable IKE versions are 1 or 2. Default version is 2.
|
||||
# Corresponds to the JSON property `ikeVersion`
|
||||
|
@ -7551,7 +7555,6 @@ module Google
|
|||
@description = args[:description] unless args[:description].nil?
|
||||
@detailed_status = args[:detailed_status] unless args[:detailed_status].nil?
|
||||
@id = args[:id] unless args[:id].nil?
|
||||
@ike_networks = args[:ike_networks] unless args[:ike_networks].nil?
|
||||
@ike_version = args[:ike_version] unless args[:ike_version].nil?
|
||||
@kind = args[:kind] unless args[:kind].nil?
|
||||
@name = args[:name] unless args[:name].nil?
|
||||
|
|
|
@ -2679,7 +2679,6 @@ module Google
|
|||
property :description, as: 'description'
|
||||
property :detailed_status, as: 'detailedStatus'
|
||||
property :id, as: 'id'
|
||||
collection :ike_networks, as: 'ikeNetworks'
|
||||
property :ike_version, as: 'ikeVersion'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content/v2/
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20150710'
|
||||
REVISION = '20150729'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -235,8 +235,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Sale country for which this carrier rate is valid, represented as an ISO 3166-
|
||||
# 1 Alpha-2 code.
|
||||
# The sale country for which this carrier rate is valid, represented as a CLDR
|
||||
# territory code.
|
||||
# Corresponds to the JSON property `saleCountry`
|
||||
# @return [String]
|
||||
attr_accessor :sale_country
|
||||
|
@ -329,8 +329,7 @@ module Google
|
|||
class AccountShippingLocationGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The country in which this location group is, represented as ISO 3166-1 Alpha-2
|
||||
# code.
|
||||
# The CLDR territory code of the country in which this location group is.
|
||||
# Corresponds to the JSON property `country`
|
||||
# @return [String]
|
||||
attr_accessor :country
|
||||
|
@ -419,8 +418,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-
|
||||
# 2 code.
|
||||
# The sale country for which this table is valid, represented as a CLDR
|
||||
# territory code.
|
||||
# Corresponds to the JSON property `saleCountry`
|
||||
# @return [String]
|
||||
attr_accessor :sale_country
|
||||
|
@ -499,8 +498,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Sale country for which this service can be used, represented as an ISO 3166-1
|
||||
# Alpha-2 code.
|
||||
# The CLDR territory code of the sale country for which this service can be used.
|
||||
# Corresponds to the JSON property `saleCountry`
|
||||
# @return [String]
|
||||
attr_accessor :sale_country
|
||||
|
@ -1561,8 +1559,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The two-letter ISO 3166 country where the items in the feed will be included
|
||||
# in the search index.
|
||||
# The country where the items in the feed will be included in the search index,
|
||||
# represented as a CLDR territory code.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
@ -2211,6 +2209,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sale_price_effective_date
|
||||
|
||||
# The quantity of the product that is reserved for sell-on-google ads. Supported
|
||||
# only for online products.
|
||||
# Corresponds to the JSON property `sellOnGoogleQuantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :sell_on_google_quantity
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2223,6 +2227,7 @@ module Google
|
|||
@quantity = args[:quantity] unless args[:quantity].nil?
|
||||
@sale_price = args[:sale_price] unless args[:sale_price].nil?
|
||||
@sale_price_effective_date = args[:sale_price_effective_date] unless args[:sale_price_effective_date].nil?
|
||||
@sell_on_google_quantity = args[:sell_on_google_quantity] unless args[:sell_on_google_quantity].nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2379,6 +2384,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sale_price_effective_date
|
||||
|
||||
# The quantity of the product that is reserved for sell-on-google ads. Supported
|
||||
# only for online products.
|
||||
# Corresponds to the JSON property `sellOnGoogleQuantity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :sell_on_google_quantity
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2390,6 +2401,7 @@ module Google
|
|||
@quantity = args[:quantity] unless args[:quantity].nil?
|
||||
@sale_price = args[:sale_price] unless args[:sale_price].nil?
|
||||
@sale_price_effective_date = args[:sale_price_effective_date] unless args[:sale_price_effective_date].nil?
|
||||
@sell_on_google_quantity = args[:sell_on_google_quantity] unless args[:sell_on_google_quantity].nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2802,7 +2814,7 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :sizes
|
||||
|
||||
# The two-letter ISO 3166 country code for the item.
|
||||
# The CLDR territory code for the item.
|
||||
# Corresponds to the JSON property `targetCountry`
|
||||
# @return [String]
|
||||
attr_accessor :target_country
|
||||
|
@ -3064,8 +3076,7 @@ module Google
|
|||
class ProductShipping
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The two-letter ISO 3166 country code for the country to which an item will
|
||||
# ship.
|
||||
# The CLDR territory code of the country to which an item will ship.
|
||||
# Corresponds to the JSON property `country`
|
||||
# @return [String]
|
||||
attr_accessor :country
|
||||
|
@ -3339,8 +3350,7 @@ module Google
|
|||
class ProductTax
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The country within which the item is taxed, specified with a two-letter ISO
|
||||
# 3166 country code.
|
||||
# The country within which the item is taxed, specified as a CLDR territory code.
|
||||
# Corresponds to the JSON property `country`
|
||||
# @return [String]
|
||||
attr_accessor :country
|
||||
|
|
|
@ -1030,6 +1030,7 @@ module Google
|
|||
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
||||
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1082,6 +1083,7 @@ module Google
|
|||
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
||||
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1321,7 +1321,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates price and availability for multiple products or stores in a single
|
||||
# request.
|
||||
# request. This operation does not update the expiration date of the products.
|
||||
# @param [Google::Apis::ContentV2::BatchInventoryRequest] batch_inventory_request_object
|
||||
# @param [Boolean] dry_run
|
||||
# Flag to run the request in dry-run mode.
|
||||
|
@ -1361,6 +1361,7 @@ module Google
|
|||
end
|
||||
|
||||
# Updates price and availability of a product in your Merchant Center account.
|
||||
# This operation does not update the expiration date of the product.
|
||||
# @param [String] merchant_id
|
||||
# The ID of the managing account.
|
||||
# @param [String] store_code
|
||||
|
|
|
@ -130,9 +130,15 @@ module Google
|
|||
# Inserts a new job. Only the state field of the job should be set.
|
||||
# @param [String] team_id
|
||||
# Team ID
|
||||
# @param [Google::Apis::CoordinateV1::Job] job_object
|
||||
# @param [String] address
|
||||
# Job address as newline (Unix) separated string
|
||||
# @param [Float] lat
|
||||
# The latitude coordinate of this job's location.
|
||||
# @param [Float] lng
|
||||
# The longitude coordinate of this job's location.
|
||||
# @param [String] title
|
||||
# Job title
|
||||
# @param [Google::Apis::CoordinateV1::Job] job_object
|
||||
# @param [String] assignee
|
||||
# Assignee email address, or empty string to unassign.
|
||||
# @param [Array<String>, String] custom_field
|
||||
|
@ -146,14 +152,8 @@ module Google
|
|||
# Customer name
|
||||
# @param [String] customer_phone_number
|
||||
# Customer phone number
|
||||
# @param [Float] lat
|
||||
# The latitude coordinate of this job's location.
|
||||
# @param [Float] lng
|
||||
# The longitude coordinate of this job's location.
|
||||
# @param [String] note
|
||||
# Job note as newline (Unix) separated string
|
||||
# @param [String] title
|
||||
# Job title
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -175,7 +175,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_job(team_id, job_object = nil, address: nil, assignee: nil, custom_field: nil, customer_name: nil, customer_phone_number: nil, lat: nil, lng: nil, note: nil, title: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_job(team_id, address, lat, lng, title, job_object = nil, assignee: nil, custom_field: nil, customer_name: nil, customer_phone_number: nil, note: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'teams/{teamId}/jobs'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::CoordinateV1::Job::Representation
|
||||
|
@ -403,12 +403,12 @@ module Google
|
|||
# Team ID
|
||||
# @param [String] worker_email
|
||||
# Worker email address.
|
||||
# @param [String] start_timestamp_ms
|
||||
# Start timestamp in milliseconds since the epoch.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum number of results to return in one page.
|
||||
# @param [String] page_token
|
||||
# Continuation token
|
||||
# @param [String] start_timestamp_ms
|
||||
# Start timestamp in milliseconds since the epoch.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -430,7 +430,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_locations(team_id, worker_email, max_results: nil, page_token: nil, start_timestamp_ms: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_locations(team_id, worker_email, start_timestamp_ms, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'teams/{teamId}/workers/{workerEmail}/locations'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::CoordinateV1::ListLocationResponse::Representation
|
||||
|
|
|
@ -54,6 +54,8 @@ module Google
|
|||
|
||||
# Returns metadata about the search performed, metadata about the custom search
|
||||
# engine used for the search, and the search results.
|
||||
# @param [String] q
|
||||
# Query
|
||||
# @param [String] c2coff
|
||||
# Turns off the translation between zh-CN and zh-TW.
|
||||
# @param [String] cr
|
||||
|
@ -109,8 +111,6 @@ module Google
|
|||
# Provides additional search terms to check for in a document, where each
|
||||
# document in the search results must contain at least one of the additional
|
||||
# search terms
|
||||
# @param [String] q
|
||||
# Query
|
||||
# @param [String] related_site
|
||||
# Specifies that all search results should be pages that are related to the
|
||||
# specified URL
|
||||
|
@ -152,7 +152,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_cses(c2coff: nil, cr: nil, cref: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, q: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, sort: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_cses(q, c2coff: nil, cr: nil, cref: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, sort: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'v1'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20150715'
|
||||
REVISION = '20150728'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -686,7 +686,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :final_properties
|
||||
|
||||
# [Output Only] The intent of the resource, PREVIEW, UPDATE, or CANCEL.
|
||||
# [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
|
||||
# Corresponds to the JSON property `intent`
|
||||
# @return [String]
|
||||
attr_accessor :intent
|
||||
|
|
|
@ -176,24 +176,16 @@ module Google
|
|||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter expression for filtering listed resources, in the form filter=`
|
||||
# expression`. Your `expression` must contain the following:
|
||||
# FIELD_NAME COMPARISON_STRING LITERAL_STRING
|
||||
#
|
||||
# - FIELD_NAME: The name of the field you want to compare. The field name must
|
||||
# be valid for the type of resource being filtered. Only atomic field types are
|
||||
# supported (string, number, boolean). Array and object fields are not currently
|
||||
# supported.
|
||||
# - COMPARISON_STRING: The comparison string, either eq (equals) or ne (not
|
||||
# equals).
|
||||
# - LITERAL_STRING: The literal string value to filter to. The literal value
|
||||
# must be valid for the type of field (string, number, boolean). For string
|
||||
# fields, the literal value is interpreted as a regular expression using RE2
|
||||
# syntax. The literal value must match the entire field. For example, you can
|
||||
# filter by the name of a resource:
|
||||
# filter=name ne example-instance
|
||||
# The above filter returns only results whose name field does not equal example-
|
||||
# instance. You can also enclose your literal string in single, double, or no
|
||||
# quotes.
|
||||
# expression`. Your `expression` must be in the format: FIELD_NAME
|
||||
# COMPARISON_STRING LITERAL_STRING.
|
||||
# The FIELD_NAME is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The COMPARISON_STRING must be
|
||||
# either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
|
||||
# to filter to. The literal value must be valid for the type of field (string,
|
||||
# number, boolean). For string fields, the literal value is interpreted as a
|
||||
# regular expression using RE2 syntax. The literal value must match the entire
|
||||
# field.
|
||||
# For example, filter=name ne example-instance.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum count of results to be returned.
|
||||
# @param [String] page_token
|
||||
|
@ -389,24 +381,16 @@ module Google
|
|||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter expression for filtering listed resources, in the form filter=`
|
||||
# expression`. Your `expression` must contain the following:
|
||||
# FIELD_NAME COMPARISON_STRING LITERAL_STRING
|
||||
#
|
||||
# - FIELD_NAME: The name of the field you want to compare. The field name must
|
||||
# be valid for the type of resource being filtered. Only atomic field types are
|
||||
# supported (string, number, boolean). Array and object fields are not currently
|
||||
# supported.
|
||||
# - COMPARISON_STRING: The comparison string, either eq (equals) or ne (not
|
||||
# equals).
|
||||
# - LITERAL_STRING: The literal string value to filter to. The literal value
|
||||
# must be valid for the type of field (string, number, boolean). For string
|
||||
# fields, the literal value is interpreted as a regular expression using RE2
|
||||
# syntax. The literal value must match the entire field. For example, you can
|
||||
# filter by the name of a resource:
|
||||
# filter=name ne example-instance
|
||||
# The above filter returns only results whose name field does not equal example-
|
||||
# instance. You can also enclose your literal string in single, double, or no
|
||||
# quotes.
|
||||
# expression`. Your `expression` must be in the format: FIELD_NAME
|
||||
# COMPARISON_STRING LITERAL_STRING.
|
||||
# The FIELD_NAME is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The COMPARISON_STRING must be
|
||||
# either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
|
||||
# to filter to. The literal value must be valid for the type of field (string,
|
||||
# number, boolean). For string fields, the literal value is interpreted as a
|
||||
# regular expression using RE2 syntax. The literal value must match the entire
|
||||
# field.
|
||||
# For example, filter=name ne example-instance.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum count of results to be returned.
|
||||
# @param [String] page_token
|
||||
|
@ -494,24 +478,16 @@ module Google
|
|||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter expression for filtering listed resources, in the form filter=`
|
||||
# expression`. Your `expression` must contain the following:
|
||||
# FIELD_NAME COMPARISON_STRING LITERAL_STRING
|
||||
#
|
||||
# - FIELD_NAME: The name of the field you want to compare. The field name must
|
||||
# be valid for the type of resource being filtered. Only atomic field types are
|
||||
# supported (string, number, boolean). Array and object fields are not currently
|
||||
# supported.
|
||||
# - COMPARISON_STRING: The comparison string, either eq (equals) or ne (not
|
||||
# equals).
|
||||
# - LITERAL_STRING: The literal string value to filter to. The literal value
|
||||
# must be valid for the type of field (string, number, boolean). For string
|
||||
# fields, the literal value is interpreted as a regular expression using RE2
|
||||
# syntax. The literal value must match the entire field. For example, you can
|
||||
# filter by the name of a resource:
|
||||
# filter=name ne example-instance
|
||||
# The above filter returns only results whose name field does not equal example-
|
||||
# instance. You can also enclose your literal string in single, double, or no
|
||||
# quotes.
|
||||
# expression`. Your `expression` must be in the format: FIELD_NAME
|
||||
# COMPARISON_STRING LITERAL_STRING.
|
||||
# The FIELD_NAME is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The COMPARISON_STRING must be
|
||||
# either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
|
||||
# to filter to. The literal value must be valid for the type of field (string,
|
||||
# number, boolean). For string fields, the literal value is interpreted as a
|
||||
# regular expression using RE2 syntax. The literal value must match the entire
|
||||
# field.
|
||||
# For example, filter=name ne example-instance.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum count of results to be returned.
|
||||
# @param [String] page_token
|
||||
|
@ -603,24 +579,16 @@ module Google
|
|||
# The name of the deployment for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter expression for filtering listed resources, in the form filter=`
|
||||
# expression`. Your `expression` must contain the following:
|
||||
# FIELD_NAME COMPARISON_STRING LITERAL_STRING
|
||||
#
|
||||
# - FIELD_NAME: The name of the field you want to compare. The field name must
|
||||
# be valid for the type of resource being filtered. Only atomic field types are
|
||||
# supported (string, number, boolean). Array and object fields are not currently
|
||||
# supported.
|
||||
# - COMPARISON_STRING: The comparison string, either eq (equals) or ne (not
|
||||
# equals).
|
||||
# - LITERAL_STRING: The literal string value to filter to. The literal value
|
||||
# must be valid for the type of field (string, number, boolean). For string
|
||||
# fields, the literal value is interpreted as a regular expression using RE2
|
||||
# syntax. The literal value must match the entire field. For example, you can
|
||||
# filter by the name of a resource:
|
||||
# filter=name ne example-instance
|
||||
# The above filter returns only results whose name field does not equal example-
|
||||
# instance. You can also enclose your literal string in single, double, or no
|
||||
# quotes.
|
||||
# expression`. Your `expression` must be in the format: FIELD_NAME
|
||||
# COMPARISON_STRING LITERAL_STRING.
|
||||
# The FIELD_NAME is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The COMPARISON_STRING must be
|
||||
# either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
|
||||
# to filter to. The literal value must be valid for the type of field (string,
|
||||
# number, boolean). For string fields, the literal value is interpreted as a
|
||||
# regular expression using RE2 syntax. The literal value must match the entire
|
||||
# field.
|
||||
# For example, filter=name ne example-instance.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum count of results to be returned.
|
||||
# @param [String] page_token
|
||||
|
@ -669,24 +637,16 @@ module Google
|
|||
# The project ID for this request.
|
||||
# @param [String] filter
|
||||
# Sets a filter expression for filtering listed resources, in the form filter=`
|
||||
# expression`. Your `expression` must contain the following:
|
||||
# FIELD_NAME COMPARISON_STRING LITERAL_STRING
|
||||
#
|
||||
# - FIELD_NAME: The name of the field you want to compare. The field name must
|
||||
# be valid for the type of resource being filtered. Only atomic field types are
|
||||
# supported (string, number, boolean). Array and object fields are not currently
|
||||
# supported.
|
||||
# - COMPARISON_STRING: The comparison string, either eq (equals) or ne (not
|
||||
# equals).
|
||||
# - LITERAL_STRING: The literal string value to filter to. The literal value
|
||||
# must be valid for the type of field (string, number, boolean). For string
|
||||
# fields, the literal value is interpreted as a regular expression using RE2
|
||||
# syntax. The literal value must match the entire field. For example, you can
|
||||
# filter by the name of a resource:
|
||||
# filter=name ne example-instance
|
||||
# The above filter returns only results whose name field does not equal example-
|
||||
# instance. You can also enclose your literal string in single, double, or no
|
||||
# quotes.
|
||||
# expression`. Your `expression` must be in the format: FIELD_NAME
|
||||
# COMPARISON_STRING LITERAL_STRING.
|
||||
# The FIELD_NAME is the name of the field you want to compare. Only atomic field
|
||||
# types are supported (string, number, boolean). The COMPARISON_STRING must be
|
||||
# either eq (equals) or ne (not equals). The LITERAL_STRING is the string value
|
||||
# to filter to. The literal value must be valid for the type of field (string,
|
||||
# number, boolean). For string fields, the literal value is interpreted as a
|
||||
# regular expression using RE2 syntax. The literal value must match the entire
|
||||
# field.
|
||||
# For example, filter=name ne example-instance.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum count of results to be returned.
|
||||
# @param [String] page_token
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/doubleclick-advertisers/reporting/
|
||||
module DfareportingV2_1
|
||||
VERSION = 'V2_1'
|
||||
REVISION = '20150326'
|
||||
REVISION = '20150717'
|
||||
|
||||
# View and manage DoubleClick for Advertisers reports
|
||||
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
||||
|
|
|
@ -4715,7 +4715,7 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :site_ids
|
||||
|
||||
# Whether this tag is SSL-compliant or not.
|
||||
# Whether this tag is SSL-compliant or not. This is a read-only field.
|
||||
# Corresponds to the JSON property `sslCompliant`
|
||||
# @return [Boolean]
|
||||
attr_accessor :ssl_compliant
|
||||
|
@ -8623,7 +8623,7 @@ module Google
|
|||
# to members of those lists. This resource can be used to manage remarketing
|
||||
# lists that are owned by your advertisers. To see all remarketing lists that
|
||||
# are visible to your advertisers, including those that are shared to your
|
||||
# advertiser or account, use the TargetableRemarketingList resource.
|
||||
# advertiser or account, use the TargetableRemarketingLists resource.
|
||||
class RemarketingList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -9834,7 +9834,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# Site collection
|
||||
# Site collection.
|
||||
# Corresponds to the JSON property `sites`
|
||||
# @return [Array<Google::Apis::DfareportingV2_1::Site>]
|
||||
attr_accessor :sites
|
||||
|
@ -10178,7 +10178,7 @@ module Google
|
|||
# remarketing list to be used to faciliate targeting ads to specific lists.
|
||||
# Remarketing lists that are owned by your advertisers and those that are shared
|
||||
# to your advertisers or account are accessible via this resource. To manage
|
||||
# remarketing lists that are owned by your advertisers, use the RemarketingList
|
||||
# remarketing lists that are owned by your advertisers, use the RemarketingLists
|
||||
# resource.
|
||||
class TargetableRemarketingList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -391,9 +391,9 @@ module Google
|
|||
# Updates an existing account user profile. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::AccountUserProfile] account_user_profile_object
|
||||
# @param [String] id
|
||||
# User profile ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::AccountUserProfile] account_user_profile_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -415,7 +415,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_account_user_profile(profile_id, account_user_profile_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_account_user_profile(profile_id, id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/accountUserProfiles'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::AccountUserProfile::Representation
|
||||
|
@ -574,9 +574,9 @@ module Google
|
|||
# Updates an existing account. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Account] account_object
|
||||
# @param [String] id
|
||||
# Account ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Account] account_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -598,7 +598,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_account(profile_id, account_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_account(profile_id, id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/accounts'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Account::Representation
|
||||
|
@ -852,9 +852,9 @@ module Google
|
|||
# Updates an existing ad. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Ad] ad_object
|
||||
# @param [String] id
|
||||
# Ad ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Ad] ad_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -876,7 +876,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_ad(profile_id, ad_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_ad(profile_id, id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/ads'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Ad::Representation
|
||||
|
@ -1108,9 +1108,9 @@ module Google
|
|||
# Updates an existing advertiser group. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::AdvertiserGroup] advertiser_group_object
|
||||
# @param [String] id
|
||||
# Advertiser group ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::AdvertiserGroup] advertiser_group_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1132,7 +1132,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_advertiser_group(profile_id, advertiser_group_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_advertiser_group(profile_id, id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/advertiserGroups'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::AdvertiserGroup::Representation
|
||||
|
@ -1345,9 +1345,9 @@ module Google
|
|||
# Updates an existing advertiser. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Advertiser] advertiser_object
|
||||
# @param [String] id
|
||||
# Advertiser ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Advertiser] advertiser_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1369,7 +1369,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_advertiser(profile_id, advertiser_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_advertiser(profile_id, id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/advertisers'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Advertiser::Representation
|
||||
|
@ -1593,12 +1593,12 @@ module Google
|
|||
# Inserts a new campaign.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Campaign] campaign_object
|
||||
# @param [String] default_landing_page_name
|
||||
# Default landing page name for this new campaign. Must be less than 256
|
||||
# characters long.
|
||||
# @param [String] default_landing_page_url
|
||||
# Default landing page URL for this new campaign.
|
||||
# @param [Google::Apis::DfareportingV2_1::Campaign] campaign_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1620,7 +1620,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_campaign(profile_id, campaign_object = nil, default_landing_page_name: nil, default_landing_page_url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_campaign(profile_id, default_landing_page_name, default_landing_page_url, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/campaigns'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
||||
|
@ -1720,9 +1720,9 @@ module Google
|
|||
# Updates an existing campaign. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Campaign] campaign_object
|
||||
# @param [String] id
|
||||
# Campaign ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Campaign] campaign_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1744,7 +1744,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_campaign(profile_id, campaign_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_campaign(profile_id, id, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/campaigns'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Campaign::Representation
|
||||
|
@ -2215,9 +2215,9 @@ module Google
|
|||
# Updates an existing content category. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::ContentCategory] content_category_object
|
||||
# @param [String] id
|
||||
# Content category ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::ContentCategory] content_category_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -2239,7 +2239,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_content_category(profile_id, content_category_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_content_category(profile_id, id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/contentCategories'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::ContentCategory::Representation
|
||||
|
@ -2607,9 +2607,9 @@ module Google
|
|||
# User profile ID associated with this request.
|
||||
# @param [String] creative_field_id
|
||||
# Creative field ID for this creative field value.
|
||||
# @param [Google::Apis::DfareportingV2_1::CreativeFieldValue] creative_field_value_object
|
||||
# @param [String] id
|
||||
# Creative Field Value ID
|
||||
# @param [Google::Apis::DfareportingV2_1::CreativeFieldValue] creative_field_value_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -2631,7 +2631,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_creative_field_value(profile_id, creative_field_id, creative_field_value_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_creative_field_value(profile_id, creative_field_id, id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::CreativeFieldValue::Representation
|
||||
|
@ -2870,9 +2870,9 @@ module Google
|
|||
# Updates an existing creative field. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::CreativeField] creative_field_object
|
||||
# @param [String] id
|
||||
# Creative Field ID
|
||||
# @param [Google::Apis::DfareportingV2_1::CreativeField] creative_field_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -2894,7 +2894,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_creative_field(profile_id, creative_field_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_creative_field(profile_id, id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/creativeFields'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::CreativeField::Representation
|
||||
|
@ -3095,9 +3095,9 @@ module Google
|
|||
# Updates an existing creative group. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::CreativeGroup] creative_group_object
|
||||
# @param [String] id
|
||||
# Creative group ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::CreativeGroup] creative_group_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3119,7 +3119,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_creative_group(profile_id, creative_group_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_creative_group(profile_id, id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/creativeGroups'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::CreativeGroup::Representation
|
||||
|
@ -3345,9 +3345,9 @@ module Google
|
|||
# Updates an existing creative. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Creative] creative_object
|
||||
# @param [String] id
|
||||
# Creative ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Creative] creative_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3369,7 +3369,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_creative(profile_id, creative_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_creative(profile_id, id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/creatives'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Creative::Representation
|
||||
|
@ -3860,13 +3860,16 @@ module Google
|
|||
# @param [String] campaign_id
|
||||
# Select only event tags that belong to this campaign.
|
||||
# @param [Boolean] definitions_only
|
||||
# Examine only the specified ad or campaign or advertiser's event tags for
|
||||
# matching selector criteria. When set to false, the parent advertiser and
|
||||
# parent campaign is examined as well. In addition, when set to false, the
|
||||
# status field is examined as well along with the enabledByDefault field.
|
||||
# Examine only the specified campaign or advertiser's event tags for matching
|
||||
# selector criteria. When set to false, the parent advertiser and parent
|
||||
# campaign of the specified ad or campaign is examined as well. In addition,
|
||||
# when set to false, the status field is examined as well, along with the
|
||||
# enabledByDefault field. This parameter can not be set to true when adId is
|
||||
# specified as ads do not define their own even tags.
|
||||
# @param [Boolean] enabled
|
||||
# Select only enabled event tags. When definitionsOnly is set to true, only the
|
||||
# specified advertiser or campaign's event tags' enabledByDefault field is
|
||||
# Select only enabled event tags. What is considered enabled or disabled depends
|
||||
# on the definitionsOnly parameter. When definitionsOnly is set to true, only
|
||||
# the specified advertiser or campaign's event tags' enabledByDefault field is
|
||||
# examined. When definitionsOnly is set to false, the specified ad or specified
|
||||
# campaign's parent advertiser's or parent campaign's event tags'
|
||||
# enabledByDefault and status fields are examined as well.
|
||||
|
@ -3934,9 +3937,9 @@ module Google
|
|||
# Updates an existing event tag. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::EventTag] event_tag_object
|
||||
# @param [String] id
|
||||
# Event tag ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::EventTag] event_tag_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -3958,7 +3961,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_event_tag(profile_id, event_tag_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_event_tag(profile_id, id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/eventTags'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::EventTag::Representation
|
||||
|
@ -4356,9 +4359,9 @@ module Google
|
|||
# Updates an existing floodlight activity. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::FloodlightActivity] floodlight_activity_object
|
||||
# @param [String] id
|
||||
# Floodlight activity ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::FloodlightActivity] floodlight_activity_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -4380,7 +4383,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_floodlight_activity(profile_id, floodlight_activity_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_floodlight_activity(profile_id, id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/floodlightActivities'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivity::Representation
|
||||
|
@ -4629,9 +4632,9 @@ module Google
|
|||
# semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::FloodlightActivityGroup] floodlight_activity_group_object
|
||||
# @param [String] id
|
||||
# Floodlight activity Group ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::FloodlightActivityGroup] floodlight_activity_group_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -4653,7 +4656,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_floodlight_activity_group(profile_id, floodlight_activity_group_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_floodlight_activity_group(profile_id, id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/floodlightActivityGroups'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightActivityGroup::Representation
|
||||
|
@ -4790,9 +4793,9 @@ module Google
|
|||
# semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::FloodlightConfiguration] floodlight_configuration_object
|
||||
# @param [String] id
|
||||
# Floodlight configuration ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::FloodlightConfiguration] floodlight_configuration_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -4814,7 +4817,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_floodlight_configuration(profile_id, floodlight_configuration_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_floodlight_configuration(profile_id, id, floodlight_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/floodlightConfigurations'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::FloodlightConfiguration::Representation
|
||||
|
@ -5142,9 +5145,9 @@ module Google
|
|||
# User profile ID associated with this request.
|
||||
# @param [String] campaign_id
|
||||
# Landing page campaign ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::LandingPage] landing_page_object
|
||||
# @param [String] id
|
||||
# Landing page ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::LandingPage] landing_page_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -5166,7 +5169,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_landing_page(profile_id, campaign_id, landing_page_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_landing_page(profile_id, campaign_id, id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::LandingPage::Representation
|
||||
|
@ -5881,9 +5884,9 @@ module Google
|
|||
# Updates an existing placement group. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::PlacementGroup] placement_group_object
|
||||
# @param [String] id
|
||||
# Placement group ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::PlacementGroup] placement_group_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -5905,7 +5908,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_placement_group(profile_id, placement_group_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_placement_group(profile_id, id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/placementGroups'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::PlacementGroup::Representation
|
||||
|
@ -6137,9 +6140,9 @@ module Google
|
|||
# Updates an existing placement strategy. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::PlacementStrategy] placement_strategy_object
|
||||
# @param [String] id
|
||||
# Placement strategy ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::PlacementStrategy] placement_strategy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -6161,7 +6164,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_placement_strategy(profile_id, placement_strategy_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_placement_strategy(profile_id, id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/placementStrategies'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::PlacementStrategy::Representation
|
||||
|
@ -6441,9 +6444,9 @@ module Google
|
|||
# Updates an existing placement. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Placement] placement_object
|
||||
# @param [String] id
|
||||
# Placement ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Placement] placement_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -6465,7 +6468,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_placement(profile_id, placement_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_placement(profile_id, id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/placements'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Placement::Representation
|
||||
|
@ -6849,9 +6852,9 @@ module Google
|
|||
# semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::RemarketingListShare] remarketing_list_share_object
|
||||
# @param [String] remarketing_list_id
|
||||
# Remarketing list ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::RemarketingListShare] remarketing_list_share_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -6873,7 +6876,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_remarketing_list_share(profile_id, remarketing_list_share_object = nil, remarketing_list_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_remarketing_list_share(profile_id, remarketing_list_id, remarketing_list_share_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/remarketingListShares'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingListShare::Representation
|
||||
|
@ -7008,10 +7011,10 @@ module Google
|
|||
# Retrieves a list of remarketing lists, possibly filtered.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Boolean] active
|
||||
# Select only active or only inactive remarketing lists.
|
||||
# @param [String] advertiser_id
|
||||
# Select only remarketing lists owned by this advertiser.
|
||||
# @param [Boolean] active
|
||||
# Select only active or only inactive remarketing lists.
|
||||
# @param [String] floodlight_activity_id
|
||||
# Select only remarketing lists that have this floodlight activity ID.
|
||||
# @param [Fixnum] max_results
|
||||
|
@ -7051,7 +7054,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_remarketing_lists(profile_id, active: nil, advertiser_id: nil, floodlight_activity_id: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_remarketing_lists(profile_id, advertiser_id, active: nil, floodlight_activity_id: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/remarketingLists'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::DfareportingV2_1::ListRemarketingListsResponse::Representation
|
||||
|
@ -7074,9 +7077,9 @@ module Google
|
|||
# Updates an existing remarketing list. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::RemarketingList] remarketing_list_object
|
||||
# @param [String] id
|
||||
# Remarketing list ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::RemarketingList] remarketing_list_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -7098,7 +7101,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_remarketing_list(profile_id, remarketing_list_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_remarketing_list(profile_id, id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/remarketingLists'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::RemarketingList::Representation
|
||||
|
@ -7754,9 +7757,9 @@ module Google
|
|||
# Updates an existing site. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Site] site_object
|
||||
# @param [String] id
|
||||
# Site ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Site] site_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -7778,7 +7781,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_site(profile_id, site_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_site(profile_id, id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/sites'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Site::Representation
|
||||
|
@ -8098,9 +8101,9 @@ module Google
|
|||
# Updates an existing subaccount. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::Subaccount] subaccount_object
|
||||
# @param [String] id
|
||||
# Subaccount ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::Subaccount] subaccount_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -8122,7 +8125,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_subaccount(profile_id, subaccount_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_subaccount(profile_id, id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/subaccounts'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::Subaccount::Representation
|
||||
|
@ -8218,10 +8221,10 @@ module Google
|
|||
# Retrieves a list of targetable remarketing lists, possibly filtered.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Boolean] active
|
||||
# Select only active or only inactive targetable remarketing lists.
|
||||
# @param [String] advertiser_id
|
||||
# Select only targetable remarketing lists targetable by these advertisers.
|
||||
# @param [Boolean] active
|
||||
# Select only active or only inactive targetable remarketing lists.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum number of results to return.
|
||||
# @param [String] name
|
||||
|
@ -8259,7 +8262,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_targetable_remarketing_lists(profile_id, active: nil, advertiser_id: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_targetable_remarketing_lists(profile_id, advertiser_id, active: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/targetableRemarketingLists'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::DfareportingV2_1::ListTargetableRemarketingListsResponse::Representation
|
||||
|
@ -8684,9 +8687,9 @@ module Google
|
|||
# Updates an existing user role. This method supports patch semantics.
|
||||
# @param [String] profile_id
|
||||
# User profile ID associated with this request.
|
||||
# @param [Google::Apis::DfareportingV2_1::UserRole] user_role_object
|
||||
# @param [String] id
|
||||
# User role ID.
|
||||
# @param [Google::Apis::DfareportingV2_1::UserRole] user_role_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -8708,7 +8711,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_user_role(profile_id, user_role_object = nil, id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_user_role(profile_id, id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'userprofiles/{profileId}/userRoles'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DfareportingV2_1::UserRole::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/doubleclick-search/
|
||||
module DoubleclicksearchV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20150708'
|
||||
REVISION = '20150722'
|
||||
|
||||
# View and manage your advertising data in DoubleClick Search
|
||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||
|
|
|
@ -60,14 +60,6 @@ module Google
|
|||
# Numeric ID of the advertiser.
|
||||
# @param [String] engine_account_id
|
||||
# Numeric ID of the engine account.
|
||||
# @param [String] ad_group_id
|
||||
# Numeric ID of the ad group.
|
||||
# @param [String] ad_id
|
||||
# Numeric ID of the ad.
|
||||
# @param [String] campaign_id
|
||||
# Numeric ID of the campaign.
|
||||
# @param [String] criterion_id
|
||||
# Numeric ID of the criterion.
|
||||
# @param [Fixnum] end_date
|
||||
# Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
||||
# @param [Fixnum] row_count
|
||||
|
@ -76,6 +68,14 @@ module Google
|
|||
# First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
||||
# @param [Fixnum] start_row
|
||||
# The 0-based starting index for retrieving conversions results.
|
||||
# @param [String] ad_group_id
|
||||
# Numeric ID of the ad group.
|
||||
# @param [String] ad_id
|
||||
# Numeric ID of the ad.
|
||||
# @param [String] campaign_id
|
||||
# Numeric ID of the campaign.
|
||||
# @param [String] criterion_id
|
||||
# Numeric ID of the criterion.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -97,7 +97,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_conversion(agency_id, advertiser_id, engine_account_id, ad_group_id: nil, ad_id: nil, campaign_id: nil, criterion_id: nil, end_date: nil, row_count: nil, start_date: nil, start_row: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_conversion(agency_id, advertiser_id, engine_account_id, end_date, row_count, start_date, start_row, ad_group_id: nil, ad_id: nil, campaign_id: nil, criterion_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
||||
|
@ -157,7 +157,6 @@ module Google
|
|||
|
||||
# Updates a batch of conversions in DoubleClick Search. This method supports
|
||||
# patch semantics.
|
||||
# @param [Google::Apis::DoubleclicksearchV2::ConversionList] conversion_list_object
|
||||
# @param [String] advertiser_id
|
||||
# Numeric ID of the advertiser.
|
||||
# @param [String] agency_id
|
||||
|
@ -172,6 +171,7 @@ module Google
|
|||
# First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
||||
# @param [Fixnum] start_row
|
||||
# The 0-based starting index for retrieving conversions results.
|
||||
# @param [Google::Apis::DoubleclicksearchV2::ConversionList] conversion_list_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -193,7 +193,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_conversion(conversion_list_object = nil, advertiser_id: nil, agency_id: nil, end_date: nil, engine_account_id: nil, row_count: nil, start_date: nil, start_row: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_conversion(advertiser_id, agency_id, end_date, engine_account_id, row_count, start_date, start_row, conversion_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'conversion'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20150702'
|
||||
REVISION = '20150716'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
@ -45,6 +45,9 @@ module Google
|
|||
# View metadata for files in your Google Drive
|
||||
AUTH_DRIVE_METADATA_READONLY = 'https://www.googleapis.com/auth/drive.metadata.readonly'
|
||||
|
||||
# View the photos, videos and albums in your Google Photos
|
||||
AUTH_DRIVE_PHOTOS_READONLY = 'https://www.googleapis.com/auth/drive.photos.readonly'
|
||||
|
||||
# View the files in your Google Drive
|
||||
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
||||
|
||||
|
|
|
@ -1454,8 +1454,8 @@ module Google
|
|||
# @return [Google::Apis::DriveV2::User]
|
||||
attr_accessor :sharing_user
|
||||
|
||||
# The list of spaces which contain the file. Supported values are 'drive' and '
|
||||
# appDataFolder'.
|
||||
# The list of spaces which contain the file. Supported values are 'drive', '
|
||||
# appDataFolder' and 'photos'.
|
||||
# Corresponds to the JSON property `spaces`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :spaces
|
||||
|
|
|
@ -231,8 +231,8 @@ module Google
|
|||
# @param [String] page_token
|
||||
# Page token for changes.
|
||||
# @param [String] spaces
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive' and '
|
||||
# appDataFolder'.
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
||||
# appDataFolder' and 'photos'.
|
||||
# @param [String] start_change_id
|
||||
# Change ID to start listing changes from.
|
||||
# @param [String] fields
|
||||
|
@ -286,8 +286,8 @@ module Google
|
|||
# @param [String] page_token
|
||||
# Page token for changes.
|
||||
# @param [String] spaces
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive' and '
|
||||
# appDataFolder'.
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
||||
# appDataFolder' and 'photos'.
|
||||
# @param [String] start_change_id
|
||||
# Change ID to start listing changes from.
|
||||
# @param [String] fields
|
||||
|
@ -1048,8 +1048,8 @@ module Google
|
|||
# @param [String] q
|
||||
# Query string for searching files.
|
||||
# @param [String] spaces
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive' and '
|
||||
# appDataFolder'.
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
||||
# appDataFolder' and 'photos'.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1096,6 +1096,8 @@ module Google
|
|||
# Comma-separated list of parent IDs to add.
|
||||
# @param [Boolean] convert
|
||||
# Whether to convert this file to the corresponding Google Docs format.
|
||||
# @param [String] modified_date_behavior
|
||||
# How the modifiedDate field should be updated. This overrides setModifiedDate.
|
||||
# @param [Boolean] new_revision
|
||||
# Whether a blob upload should create a new revision. If false, the blob data in
|
||||
# the current head revision is replaced. If true or not set, a new blob is
|
||||
|
@ -1142,7 +1144,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'files/{fileId}'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::DriveV2::File::Representation
|
||||
|
@ -1152,6 +1154,7 @@ module Google
|
|||
command.params['fileId'] = file_id unless file_id.nil?
|
||||
command.query['addParents'] = add_parents unless add_parents.nil?
|
||||
command.query['convert'] = convert unless convert.nil?
|
||||
command.query['modifiedDateBehavior'] = modified_date_behavior unless modified_date_behavior.nil?
|
||||
command.query['newRevision'] = new_revision unless new_revision.nil?
|
||||
command.query['ocr'] = ocr unless ocr.nil?
|
||||
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
|
||||
|
@ -1204,7 +1207,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Moves a file to the trash.
|
||||
# Moves a file to the trash. The currently authenticated user must own the file.
|
||||
# @param [String] file_id
|
||||
# The ID of the file to trash.
|
||||
# @param [String] fields
|
||||
|
@ -1284,6 +1287,8 @@ module Google
|
|||
# Comma-separated list of parent IDs to add.
|
||||
# @param [Boolean] convert
|
||||
# Whether to convert this file to the corresponding Google Docs format.
|
||||
# @param [String] modified_date_behavior
|
||||
# How the modifiedDate field should be updated. This overrides setModifiedDate.
|
||||
# @param [Boolean] new_revision
|
||||
# Whether a blob upload should create a new revision. If false, the blob data in
|
||||
# the current head revision is replaced. If true or not set, a new blob is
|
||||
|
@ -1334,7 +1339,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
path = 'files/{fileId}'
|
||||
if upload_source.nil?
|
||||
command = make_simple_command(:put, path, options)
|
||||
|
@ -1350,6 +1355,7 @@ module Google
|
|||
command.params['fileId'] = file_id unless file_id.nil?
|
||||
command.query['addParents'] = add_parents unless add_parents.nil?
|
||||
command.query['convert'] = convert unless convert.nil?
|
||||
command.query['modifiedDateBehavior'] = modified_date_behavior unless modified_date_behavior.nil?
|
||||
command.query['newRevision'] = new_revision unless new_revision.nil?
|
||||
command.query['ocr'] = ocr unless ocr.nil?
|
||||
command.query['ocrLanguage'] = ocr_language unless ocr_language.nil?
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/fit/rest/
|
||||
module FitnessV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150717'
|
||||
REVISION = '20150720'
|
||||
|
||||
# View your activity information in Google Fit
|
||||
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
||||
|
|
|
@ -26,17 +26,17 @@ module Google
|
|||
class AggregateBucket
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT
|
||||
# Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT
|
||||
# Corresponds to the JSON property `activity`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :activity
|
||||
|
||||
# There will be one dataset per datatype/datasource
|
||||
# There will be one dataset per AggregateBy in the request.
|
||||
# Corresponds to the JSON property `dataset`
|
||||
# @return [Array<Google::Apis::FitnessV1::Dataset>]
|
||||
attr_accessor :dataset
|
||||
|
||||
#
|
||||
# The end time for the aggregated data, in milliseconds since epoch, inclusive.
|
||||
# Corresponds to the JSON property `endTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :end_time_millis
|
||||
|
@ -47,7 +47,7 @@ module Google
|
|||
# @return [Google::Apis::FitnessV1::Session]
|
||||
attr_accessor :session
|
||||
|
||||
#
|
||||
# The start time for the aggregated data, in milliseconds since epoch, inclusive.
|
||||
# Corresponds to the JSON property `startTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :start_time_millis
|
||||
|
@ -73,30 +73,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
# The specification of which data to aggregate.
|
||||
class AggregateBy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# A data source ID to aggregate. Mutually exclusive of dataTypeName. Only data
|
||||
# from the specified data source ID will be included in the aggregation. The
|
||||
# dataset in the response will have the same data source ID.
|
||||
# Corresponds to the JSON property `dataSourceId`
|
||||
# @return [String]
|
||||
attr_accessor :data_source_id
|
||||
|
||||
# by dataype or by datasource
|
||||
# The data type to aggregate. All data sources providing this data type will
|
||||
# contribute data to the aggregation. The response will contain a single dataset
|
||||
# for this data type name. The dataset will have a data source ID of derived:com.
|
||||
# google.:com.google.android.gms:aggregated
|
||||
# Corresponds to the JSON property `dataTypeName`
|
||||
# @return [String]
|
||||
attr_accessor :data_type_name
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `outputDataSourceId`
|
||||
# @return [String]
|
||||
attr_accessor :output_data_source_id
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `outputDataTypeName`
|
||||
# @return [String]
|
||||
attr_accessor :output_data_type_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -105,8 +100,6 @@ module Google
|
|||
def update!(**args)
|
||||
@data_source_id = args[:data_source_id] unless args[:data_source_id].nil?
|
||||
@data_type_name = args[:data_type_name] unless args[:data_type_name].nil?
|
||||
@output_data_source_id = args[:output_data_source_id] unless args[:output_data_source_id].nil?
|
||||
@output_data_type_name = args[:output_data_type_name] unless args[:output_data_type_name].nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -114,37 +107,52 @@ module Google
|
|||
class AggregateRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The specification of data to be aggregated. At least one aggregateBy spec must
|
||||
# be provided. All data that is specified will be aggregated using the same
|
||||
# bucketing criteria. There will be one dataset in the response for every
|
||||
# aggregateBy spec.
|
||||
# Corresponds to the JSON property `aggregateBy`
|
||||
# @return [Array<Google::Apis::FitnessV1::AggregateBy>]
|
||||
attr_accessor :aggregate_by
|
||||
|
||||
#
|
||||
# Specifies that data be aggregated each activity segment recored for a user.
|
||||
# Similar to bucketByActivitySegment, but bucketing is done for each activity
|
||||
# segment rather than all segments of the same type. Mutually exclusive of other
|
||||
# bucketing specifications.
|
||||
# Corresponds to the JSON property `bucketByActivitySegment`
|
||||
# @return [Google::Apis::FitnessV1::BucketByActivity]
|
||||
attr_accessor :bucket_by_activity_segment
|
||||
|
||||
#
|
||||
# Specifies that data be aggregated by the type of activity being performed when
|
||||
# the data was recorded. All data that was recorded during a certain activity
|
||||
# type (for the given time range) will be aggregated into the same bucket. Data
|
||||
# that was recorded while the user was not active will not be included in the
|
||||
# response. Mutually exclusive of other bucketing specifications.
|
||||
# Corresponds to the JSON property `bucketByActivityType`
|
||||
# @return [Google::Apis::FitnessV1::BucketByActivity]
|
||||
attr_accessor :bucket_by_activity_type
|
||||
|
||||
#
|
||||
# Specifies that data be aggregated by user sessions. Data that does not fall
|
||||
# within the time range of a session will not be included in the response.
|
||||
# Mutually exclusive of other bucketing specifications.
|
||||
# Corresponds to the JSON property `bucketBySession`
|
||||
# @return [Google::Apis::FitnessV1::BucketBySession]
|
||||
attr_accessor :bucket_by_session
|
||||
|
||||
# apparently oneof is not supported by reduced_nano_proto
|
||||
# Specifies that data be aggregated by a single time interval. Mutually
|
||||
# exclusive of other bucketing specifications.
|
||||
# Corresponds to the JSON property `bucketByTime`
|
||||
# @return [Google::Apis::FitnessV1::BucketByTime]
|
||||
attr_accessor :bucket_by_time
|
||||
|
||||
#
|
||||
# The end of a window of time. Data that intersects with this time window will
|
||||
# be aggregated. The time is in milliseconds since epoch, inclusive.
|
||||
# Corresponds to the JSON property `endTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :end_time_millis
|
||||
|
||||
# required time range
|
||||
# The start of a window of time. Data that intersects with this time window will
|
||||
# be aggregated. The time is in milliseconds since epoch, inclusive.
|
||||
# Corresponds to the JSON property `startTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :start_time_millis
|
||||
|
@ -169,7 +177,7 @@ module Google
|
|||
class AggregateResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# A list of buckets containing the aggregated data.
|
||||
# Corresponds to the JSON property `bucket`
|
||||
# @return [Array<Google::Apis::FitnessV1::AggregateBucket>]
|
||||
attr_accessor :bucket
|
||||
|
@ -232,12 +240,14 @@ module Google
|
|||
class BucketByActivity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# default activity stream will be used if not specified
|
||||
# The default activity stream will be used if a specific activityDataSourceId is
|
||||
# not specified.
|
||||
# Corresponds to the JSON property `activityDataSourceId`
|
||||
# @return [String]
|
||||
attr_accessor :activity_data_source_id
|
||||
|
||||
# Only activity segments of duration longer than this is used
|
||||
# Specifies that only activity segments of duration longer than
|
||||
# minDurationMillis are considered and used as a container for aggregated data.
|
||||
# Corresponds to the JSON property `minDurationMillis`
|
||||
# @return [String]
|
||||
attr_accessor :min_duration_millis
|
||||
|
@ -257,7 +267,8 @@ module Google
|
|||
class BucketBySession
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Only sessions of duration longer than this is used
|
||||
# Specifies that only sessions of duration longer than minDurationMillis are
|
||||
# considered and used as a container for aggregated data.
|
||||
# Corresponds to the JSON property `minDurationMillis`
|
||||
# @return [String]
|
||||
attr_accessor :min_duration_millis
|
||||
|
@ -276,7 +287,9 @@ module Google
|
|||
class BucketByTime
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Specifies that result buckets aggregate data by exactly durationMillis time
|
||||
# frames. Time frames that contain no data will be included in the response with
|
||||
# an empty dataset.
|
||||
# Corresponds to the JSON property `durationMillis`
|
||||
# @return [String]
|
||||
attr_accessor :duration_millis
|
||||
|
|
|
@ -121,8 +121,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :data_source_id, as: 'dataSourceId'
|
||||
property :data_type_name, as: 'dataTypeName'
|
||||
property :output_data_source_id, as: 'outputDataSourceId'
|
||||
property :output_data_type_name, as: 'outputDataTypeName'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -491,8 +491,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
#
|
||||
# Aggregates data of a certain type or stream into buckets divided by a given
|
||||
# type of boundary. Multiple data sets of multiple types and from multiple
|
||||
# sources can be aggreated into exactly one bucket type per request.
|
||||
# @param [String] user_id
|
||||
# Aggregate data for the person identified. Use me to indicate the authenticated
|
||||
# user. Only me is supported at this time.
|
||||
# @param [Google::Apis::FitnessV1::AggregateRequest] aggregate_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -302,8 +302,6 @@ module Google
|
|||
# - SHOW
|
||||
# - DESCRIBE
|
||||
# - CREATE statement.
|
||||
# @param [Boolean] hdrs
|
||||
# Whether column names are included in the first row. Default is true.
|
||||
# @param [String] sql
|
||||
# A Fusion Tables SQL statement, which can be any of
|
||||
# - SELECT
|
||||
|
@ -313,6 +311,8 @@ module Google
|
|||
# - SHOW
|
||||
# - DESCRIBE
|
||||
# - CREATE
|
||||
# @param [Boolean] hdrs
|
||||
# Whether column names are included in the first row. Default is true.
|
||||
# @param [Boolean] typed
|
||||
# Whether typed values are returned in the (JSON) response: numbers for numeric
|
||||
# values and parsed geometries for KML values. Default is true.
|
||||
|
@ -339,7 +339,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def sql_query(hdrs: nil, sql: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
def sql_query(sql, hdrs: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
path = 'query'
|
||||
if download_dest.nil?
|
||||
command = make_simple_command(:post, path, options)
|
||||
|
@ -362,13 +362,13 @@ module Google
|
|||
# - SELECT
|
||||
# - SHOW
|
||||
# - DESCRIBE
|
||||
# @param [Boolean] hdrs
|
||||
# Whether column names are included (in the first row). Default is true.
|
||||
# @param [String] sql
|
||||
# A SQL statement which can be any of
|
||||
# - SELECT
|
||||
# - SHOW
|
||||
# - DESCRIBE
|
||||
# @param [Boolean] hdrs
|
||||
# Whether column names are included (in the first row). Default is true.
|
||||
# @param [Boolean] typed
|
||||
# Whether typed values are returned in the (JSON) response: numbers for numeric
|
||||
# values and parsed geometries for KML values. Default is true.
|
||||
|
@ -395,7 +395,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def sql_get_query(hdrs: nil, sql: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
def sql_get_query(sql, hdrs: nil, typed: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
||||
path = 'query'
|
||||
if download_dest.nil?
|
||||
command = make_simple_command(:get, path, options)
|
||||
|
@ -833,14 +833,14 @@ module Google
|
|||
end
|
||||
|
||||
# Imports a new table.
|
||||
# @param [String] name
|
||||
# The name to be assigned to the new table.
|
||||
# @param [String] delimiter
|
||||
# The delimiter used to separate cell values. This can only consist of a single
|
||||
# character. Default is ,.
|
||||
# @param [String] encoding
|
||||
# The encoding of the content. Default is UTF-8. Use auto-detect if you are
|
||||
# unsure of the encoding.
|
||||
# @param [String] name
|
||||
# The name to be assigned to the new table.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -866,7 +866,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def import_table(delimiter: nil, encoding: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
def import_table(name, delimiter: nil, encoding: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
path = 'tables/import'
|
||||
if upload_source.nil?
|
||||
command = make_simple_command(:post, path, options)
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services
|
||||
module GamesConfigurationV1configuration
|
||||
VERSION = 'V1configuration'
|
||||
REVISION = '20150713'
|
||||
REVISION = '20150728'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services/
|
||||
module GamesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150713'
|
||||
REVISION = '20150728'
|
||||
|
||||
# View and manage its own configuration data in your Google Drive
|
||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||
|
|
|
@ -100,12 +100,12 @@ module Google
|
|||
# authenticated player.
|
||||
# @param [String] achievement_id
|
||||
# The ID of the achievement used by this method.
|
||||
# @param [Fixnum] steps_to_increment
|
||||
# The number of steps to increment.
|
||||
# @param [String] request_id
|
||||
# A randomly generated numeric ID for each request specified by the caller. This
|
||||
# number is used at the server to ensure that the request is handled correctly
|
||||
# across retries.
|
||||
# @param [Fixnum] steps_to_increment
|
||||
# The number of steps to increment.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -127,7 +127,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def increment_achievement(achievement_id, request_id: nil, steps_to_increment: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def increment_achievement(achievement_id, steps_to_increment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'achievements/{achievementId}/increment'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::AchievementIncrementResponse::Representation
|
||||
|
@ -260,7 +260,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_steps_at_least_achievement(achievement_id, steps: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def set_steps_at_least_achievement(achievement_id, steps, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'achievements/{achievementId}/setStepsAtLeast'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse::Representation
|
||||
|
@ -905,7 +905,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def claim_quest_milestone(quest_id, milestone_id, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def claim_quest_milestone(quest_id, milestone_id, request_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'quests/{questId}/milestones/{milestoneId}/claim'
|
||||
command = make_simple_command(:put, path, options)
|
||||
command.params['questId'] = quest_id unless quest_id.nil?
|
||||
|
@ -1035,7 +1035,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def check_revision(client_revision: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def check_revision(client_revision, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'revisions/check'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::CheckRevisionResponse::Representation
|
||||
|
@ -1442,6 +1442,8 @@ module Google
|
|||
# The ID of the leaderboard.
|
||||
# @param [String] collection
|
||||
# The collection of scores you're requesting.
|
||||
# @param [String] time_span
|
||||
# The time span for the scores and ranks you're requesting.
|
||||
# @param [String] language
|
||||
# The preferred language to use for strings returned by this method.
|
||||
# @param [Fixnum] max_results
|
||||
|
@ -1450,8 +1452,6 @@ module Google
|
|||
# the specified maxResults.
|
||||
# @param [String] page_token
|
||||
# The token returned by the previous request.
|
||||
# @param [String] time_span
|
||||
# The time span for the scores and ranks you're requesting.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1473,7 +1473,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_scores(leaderboard_id, collection, language: nil, max_results: nil, page_token: nil, time_span: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_scores(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'leaderboards/{leaderboardId}/scores/{collection}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
||||
|
@ -1495,6 +1495,8 @@ module Google
|
|||
# The ID of the leaderboard.
|
||||
# @param [String] collection
|
||||
# The collection of scores you're requesting.
|
||||
# @param [String] time_span
|
||||
# The time span for the scores and ranks you're requesting.
|
||||
# @param [String] language
|
||||
# The preferred language to use for strings returned by this method.
|
||||
# @param [Fixnum] max_results
|
||||
|
@ -1511,8 +1513,6 @@ module Google
|
|||
# @param [Boolean] return_top_if_absent
|
||||
# True if the top scores should be returned when the player is not in the
|
||||
# leaderboard. Defaults to true.
|
||||
# @param [String] time_span
|
||||
# The time span for the scores and ranks you're requesting.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1534,7 +1534,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_window_score(leaderboard_id, collection, language: nil, max_results: nil, page_token: nil, results_above: nil, return_top_if_absent: nil, time_span: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_window_score(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, results_above: nil, return_top_if_absent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'leaderboards/{leaderboardId}/window/{collection}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
||||
|
@ -1556,8 +1556,6 @@ module Google
|
|||
# Submits a score to the specified leaderboard.
|
||||
# @param [String] leaderboard_id
|
||||
# The ID of the leaderboard.
|
||||
# @param [String] language
|
||||
# The preferred language to use for strings returned by this method.
|
||||
# @param [String] score
|
||||
# The score you're submitting. The submitted score is ignored if it is worse
|
||||
# than a previously submitted score, where worse depends on the leaderboard sort
|
||||
|
@ -1565,6 +1563,8 @@ module Google
|
|||
# For fixed-point, the score represents the raw value. For time, the score
|
||||
# represents elapsed time in milliseconds. For currency, the score represents a
|
||||
# value in micro units.
|
||||
# @param [String] language
|
||||
# The preferred language to use for strings returned by this method.
|
||||
# @param [String] score_tag
|
||||
# Additional information about the score you're submitting. Values must contain
|
||||
# no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
|
||||
|
@ -1589,7 +1589,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def submit_score(leaderboard_id, language: nil, score: nil, score_tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def submit_score(leaderboard_id, score, language: nil, score_tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'leaderboards/{leaderboardId}/scores'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::PlayerScoreResponse::Representation
|
||||
|
@ -2047,10 +2047,10 @@ module Google
|
|||
# the match.
|
||||
# @param [String] match_id
|
||||
# The ID of the match.
|
||||
# @param [String] language
|
||||
# The preferred language to use for strings returned by this method.
|
||||
# @param [Fixnum] match_version
|
||||
# The version of the match being updated.
|
||||
# @param [String] language
|
||||
# The preferred language to use for strings returned by this method.
|
||||
# @param [String] pending_participant_id
|
||||
# The ID of another participant who should take their turn next. If not set, the
|
||||
# match will wait for other player(s) to join via automatching; this is only
|
||||
|
@ -2077,7 +2077,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def leave_turn(match_id, language: nil, match_version: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def leave_turn(match_id, match_version, language: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'turnbasedmatches/{matchId}/leaveTurn'
|
||||
command = make_simple_command(:put, path, options)
|
||||
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see
|
||||
module GenomicsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150716'
|
||||
REVISION = '20150723'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -141,38 +141,38 @@ module Google
|
|||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` defines a logical error model that is suitable for different
|
||||
# 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 3 pieces of data: error code, error
|
||||
# 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][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, it can be sent in the error details or localized by
|
||||
# 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` which 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 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 purpose. - 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.
|
||||
# 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` which 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 purpose. - 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 `error`
|
||||
# @return [Google::Apis::GenomicsV1::Status]
|
||||
attr_accessor :error
|
||||
|
@ -200,38 +200,38 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The `Status` defines a logical error model that is suitable for different
|
||||
# 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 3 pieces of data: error code, error
|
||||
# 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][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, it can be sent in the error details or localized by
|
||||
# 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` which 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 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 purpose. - 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.
|
||||
# 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` which 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 purpose. - 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.
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -2155,7 +2155,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sample_id
|
||||
|
||||
# The IDs of the variant sets this call set belongs to.
|
||||
# The IDs of the variant sets this call set belongs to. This field must have
|
||||
# exactly length one, as a call set belongs to a single variant set. This field
|
||||
# is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/
|
||||
# ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
|
||||
# Corresponds to the JSON property `variantSetIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :variant_set_ids
|
||||
|
|
|
@ -301,7 +301,7 @@ module Google
|
|||
# The maximum number of results to return. If unspecified, defaults to 256. The
|
||||
# maximum value is 2048.
|
||||
# @param [String] page_token
|
||||
# The standard List page token.
|
||||
# The standard list page token.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -208,7 +208,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_license_assignment_for_product(product_id, customer_id: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_license_assignment_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{productId}/users'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
|
||||
|
@ -257,7 +257,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_license_assignment_for_product_and_sku(product_id, sku_id, customer_id: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_license_assignment_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{productId}/sku/{skuId}/users'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
|
||||
|
|
|
@ -2280,6 +2280,11 @@ module Google
|
|||
end
|
||||
|
||||
# Return all rasters readable by the current user.
|
||||
# @param [String] project_id
|
||||
# The ID of a Maps Engine project, used to filter the response. To list all
|
||||
# available projects with their IDs, send a Projects: list request. You can also
|
||||
# find your project ID as the value of the DashboardPlace:cid URL parameter when
|
||||
# signed in to mapsengine.google.com.
|
||||
# @param [String] bbox
|
||||
# A bounding box, expressed as "west,south,east,north". If set, only assets
|
||||
# which intersect this bounding box will be returned.
|
||||
|
@ -2306,11 +2311,6 @@ module Google
|
|||
# next page of results, set this parameter to the value of nextPageToken from
|
||||
# the previous response.
|
||||
# @param [String] processing_status
|
||||
# @param [String] project_id
|
||||
# The ID of a Maps Engine project, used to filter the response. To list all
|
||||
# available projects with their IDs, send a Projects: list request. You can also
|
||||
# find your project ID as the value of the DashboardPlace:cid URL parameter when
|
||||
# signed in to mapsengine.google.com.
|
||||
# @param [String] role
|
||||
# The role parameter indicates that the response should only contain assets
|
||||
# where the current user has the specified level of access.
|
||||
|
@ -2341,7 +2341,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_rasters(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_rasters(project_id, bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'rasters'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::MapsengineV1::ListRastersResponse::Representation
|
||||
|
@ -2504,7 +2504,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_raster_file(id, filename: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
def insert_raster_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
path = 'rasters/{id}/files'
|
||||
if upload_source.nil?
|
||||
command = make_simple_command(:post, path, options)
|
||||
|
@ -3274,7 +3274,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_table_file(id, filename: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
def insert_table_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
||||
path = 'tables/{id}/files'
|
||||
if upload_source.nil?
|
||||
command = make_simple_command(:post, path, options)
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/glass
|
||||
module MirrorV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150326'
|
||||
REVISION = '20150720'
|
||||
|
||||
# View your location
|
||||
AUTH_GLASS_LOCATION = 'https://www.googleapis.com/auth/glass.location'
|
||||
|
|
|
@ -56,6 +56,8 @@ module Google
|
|||
# Runs PageSpeed analysis on the page at the specified URL, and returns
|
||||
# PageSpeed scores, a list of suggestions to make that page faster, and other
|
||||
# information.
|
||||
# @param [String] url
|
||||
# The URL to fetch and analyze
|
||||
# @param [Boolean] filter_third_party_resources
|
||||
# Indicates if third party resources should be filtered out before PageSpeed
|
||||
# analysis.
|
||||
|
@ -67,8 +69,6 @@ module Google
|
|||
# Indicates if binary data containing a screenshot should be included
|
||||
# @param [String] strategy
|
||||
# The analysis strategy to use
|
||||
# @param [String] url
|
||||
# The URL to fetch and analyze
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -90,7 +90,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def run_pagespeed(filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def run_pagespeed(url, filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'runPagespeed'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::PagespeedonlineV2::Result::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/+/domains/
|
||||
module PlusDomainsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150719'
|
||||
REVISION = '20150729'
|
||||
|
||||
# View your circles and the people and pages in them
|
||||
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/+/api/
|
||||
module PlusV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150719'
|
||||
REVISION = '20150729'
|
||||
|
||||
# Know your basic profile info and list of people in your circles.
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
|
|
@ -139,6 +139,8 @@ module Google
|
|||
end
|
||||
|
||||
# Search public activities.
|
||||
# @param [String] query
|
||||
# Full-text search query string.
|
||||
# @param [String] language
|
||||
# Specify the preferred language to search with. See search language codes for
|
||||
# available values.
|
||||
|
@ -152,8 +154,6 @@ module Google
|
|||
# The continuation token, which is used to page through large result sets. To
|
||||
# get the next page of results, set this parameter to the value of "
|
||||
# nextPageToken" from the previous response. This token can be of any length.
|
||||
# @param [String] query
|
||||
# Full-text search query string.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -175,7 +175,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_activities(language: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def search_activities(query, language: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'activities'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::PlusV1::ActivityFeed::Representation
|
||||
|
@ -554,6 +554,8 @@ module Google
|
|||
end
|
||||
|
||||
# Search all public profiles.
|
||||
# @param [String] query
|
||||
# Specify a query string for full text search of public text in all profiles.
|
||||
# @param [String] language
|
||||
# Specify the preferred language to search with. See search language codes for
|
||||
# available values.
|
||||
|
@ -565,8 +567,6 @@ module Google
|
|||
# The continuation token, which is used to page through large result sets. To
|
||||
# get the next page of results, set this parameter to the value of "
|
||||
# nextPageToken" from the previous response. This token can be of any length.
|
||||
# @param [String] query
|
||||
# Specify a query string for full text search of public text in all profiles.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -588,7 +588,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def search_people(language: nil, max_results: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def search_people(query, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'people'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::PlusV1::PeopleFeed::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/pubsub/docs
|
||||
module PubsubV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20150604'
|
||||
REVISION = '20150427'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -385,12 +385,11 @@ module Google
|
|||
class Topic
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the topic. It must have the format "projects/`project`/topics/`
|
||||
# topic`" for Google Cloud Pub/Sub API v1 and v1beta2. `topic` must start with a
|
||||
# letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-),
|
||||
# underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It
|
||||
# must be between 3 and 255 characters in length, and it must not start with "
|
||||
# goog".
|
||||
# The name of the topic. It must have the format `"projects/`project`/topics/`
|
||||
# topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
|
||||
# z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
|
||||
# tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
|
||||
# characters in length, and it must not start with `"goog"`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -424,7 +423,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A message data and its attributes.
|
||||
# A message data and its attributes. The message payload must not be empty; it
|
||||
# must contain either a non-empty data field, or at least one attribute.
|
||||
class Message
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -553,12 +553,12 @@ module Google
|
|||
class Subscription
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the subscription. It must have the format "projects/`project`/
|
||||
# subscriptions/`subscription`" for Google Cloud Pub/Sub API v1 and v1beta2. `
|
||||
# subscription` must start with a letter, and contain only letters ([A-Za-z]),
|
||||
# numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+)
|
||||
# or percent signs (%). It must be between 3 and 255 characters in length, and
|
||||
# it must not start with "goog".
|
||||
# The name of the subscription. It must have the format `"projects/`project`/
|
||||
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
|
||||
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
||||
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
||||
# `). It must be between 3 and 255 characters in length, and it must not start
|
||||
# with `"goog"`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -579,12 +579,12 @@ module Google
|
|||
# before the ack deadline expires and before the message is acknowledged, it is
|
||||
# an outstanding message and will not be delivered again during that time (on a
|
||||
# best-effort basis). For pull delivery this value is used as the initial value
|
||||
# for the ack deadline. It may be overridden for each message using its
|
||||
# corresponding ack_id by calling ModifyAckDeadline. For push delivery, this
|
||||
# value is also used to set the request timeout for the call to the push
|
||||
# endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
|
||||
# will eventually redeliver the message. If this parameter is not set, the
|
||||
# default value of 60 seconds is used.
|
||||
# for the ack deadline. To override this value for a given message, call
|
||||
# ModifyAckDeadline with the corresponding ack_id. For push delivery, this value
|
||||
# is also used to set the request timeout for the call to the push endpoint. If
|
||||
# the subscriber never acknowledges the message, the Pub/Sub system will
|
||||
# eventually redeliver the message. If this parameter is not set, the default
|
||||
# value of 10 seconds is used.
|
||||
# Corresponds to the JSON property `ackDeadlineSeconds`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :ack_deadline_seconds
|
||||
|
@ -785,7 +785,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :ack_id
|
||||
|
||||
# A message data and its attributes.
|
||||
# A message data and its attributes. The message payload must not be empty; it
|
||||
# must contain either a non-empty data field, or at least one attribute.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [Google::Apis::PubsubV1beta2::Message]
|
||||
attr_accessor :message
|
||||
|
|
|
@ -153,12 +153,11 @@ module Google
|
|||
|
||||
# Creates the given topic with the given name.
|
||||
# @param [String] name
|
||||
# The name of the topic. It must have the format "projects/`project`/topics/`
|
||||
# topic`" for Google Cloud Pub/Sub API v1 and v1beta2. `topic` must start with a
|
||||
# letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-),
|
||||
# underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It
|
||||
# must be between 3 and 255 characters in length, and it must not start with "
|
||||
# goog".
|
||||
# The name of the topic. It must have the format `"projects/`project`/topics/`
|
||||
# topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
|
||||
# z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
|
||||
# tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
|
||||
# characters in length, and it must not start with `"goog"`.
|
||||
# @param [Google::Apis::PubsubV1beta2::Topic] topic_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -191,7 +190,8 @@ module Google
|
|||
end
|
||||
|
||||
# Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
|
||||
# not exist.
|
||||
# not exist. The message payload must not be empty; it must contain either a non-
|
||||
# empty data field, or at least one attribute.
|
||||
# @param [String] topic
|
||||
# The messages in the request will be published on this topic.
|
||||
# @param [Google::Apis::PubsubV1beta2::PublishRequest] publish_request_object
|
||||
|
@ -480,12 +480,12 @@ module Google
|
|||
# request, the server will assign a random name for this subscription on the
|
||||
# same project as the topic.
|
||||
# @param [String] name
|
||||
# The name of the subscription. It must have the format "projects/`project`/
|
||||
# subscriptions/`subscription`" for Google Cloud Pub/Sub API v1 and v1beta2. `
|
||||
# subscription` must start with a letter, and contain only letters ([A-Za-z]),
|
||||
# numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+)
|
||||
# or percent signs (%). It must be between 3 and 255 characters in length, and
|
||||
# it must not start with "goog".
|
||||
# The name of the subscription. It must have the format `"projects/`project`/
|
||||
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
|
||||
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
||||
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
||||
# `). It must be between 3 and 255 characters in length, and it must not start
|
||||
# with `"goog"`.
|
||||
# @param [Google::Apis::PubsubV1beta2::Subscription] subscription_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -239,9 +239,9 @@ module Google
|
|||
# The Google Developers Console project name.
|
||||
# @param [String] zone
|
||||
# The name of the zone in which the instance group manager resides.
|
||||
# @param [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] instance_group_manager_object
|
||||
# @param [Fixnum] size
|
||||
# Number of instances that should exist.
|
||||
# @param [Google::Apis::ReplicapoolV1beta2::InstanceGroupManager] instance_group_manager_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -263,7 +263,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, size: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_instance_group_manager(project, zone, size, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/zones/{zone}/instanceGroupManagers'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::ReplicapoolV1beta2::InstanceGroupManager::Representation
|
||||
|
@ -408,7 +408,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def resize_instance(project, zone, instance_group_manager, size: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def resize_instance(project, zone, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::ReplicapoolV1beta2::Operation::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service
|
||||
module ReplicapoolupdaterV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20150326'
|
||||
REVISION = '20150722'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -31,7 +31,7 @@ module Google
|
|||
# @return [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error]
|
||||
attr_accessor :error
|
||||
|
||||
# URL of the instance being updated.
|
||||
# Fully-qualified URL of the instance being updated.
|
||||
# Corresponds to the JSON property `instance`
|
||||
# @return [String]
|
||||
attr_accessor :instance
|
||||
|
@ -468,6 +468,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Fully-qualified URL of the instance template encountered while starting the
|
||||
# update.
|
||||
# Corresponds to the JSON property `oldInstanceTemplate`
|
||||
# @return [String]
|
||||
attr_accessor :old_instance_template
|
||||
|
||||
# Parameters of the update process.
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy]
|
||||
|
@ -526,6 +532,7 @@ module Google
|
|||
@instance_group_manager = args[:instance_group_manager] unless args[:instance_group_manager].nil?
|
||||
@instance_template = args[:instance_template] unless args[:instance_template].nil?
|
||||
@kind = args[:kind] unless args[:kind].nil?
|
||||
@old_instance_template = args[:old_instance_template] unless args[:old_instance_template].nil?
|
||||
@policy = args[:policy] unless args[:policy].nil?
|
||||
@progress = args[:progress] unless args[:progress].nil?
|
||||
@self_link = args[:self_link] unless args[:self_link].nil?
|
||||
|
|
|
@ -194,6 +194,7 @@ module Google
|
|||
property :instance_group_manager, as: 'instanceGroupManager'
|
||||
property :instance_template, as: 'instanceTemplate'
|
||||
property :kind, as: 'kind'
|
||||
property :old_instance_template, as: 'oldInstanceTemplate'
|
||||
property :policy, as: 'policy', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy::Representation
|
||||
|
||||
property :progress, as: 'progress'
|
||||
|
|
|
@ -188,9 +188,6 @@ module Google
|
|||
# The name of the zone in which the update's target resides.
|
||||
# @param [String] filter
|
||||
# Optional. Filter expression for filtering listed resources.
|
||||
# @param [String] instance_group_manager
|
||||
# The name of the instance group manager. Use this parameter to return only
|
||||
# updates to instances that are part of a specific instance group.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum count of results to be returned. Maximum value is 500 and
|
||||
# default value is 500.
|
||||
|
@ -218,7 +215,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_rolling_updates(project, zone, filter: nil, instance_group_manager: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_rolling_updates(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/zones/{zone}/rollingUpdates'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList::Representation
|
||||
|
@ -226,7 +223,6 @@ module Google
|
|||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
|
|
|
@ -400,7 +400,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_subscription(customer_id, subscription_id, deletion_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def delete_subscription(customer_id, subscription_id, deletion_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'customers/{customerId}/subscriptions/{subscriptionId}'
|
||||
command = make_simple_command(:delete, path, options)
|
||||
command.params['customerId'] = customer_id unless customer_id.nil?
|
||||
|
|
|
@ -159,9 +159,9 @@ module Google
|
|||
end
|
||||
|
||||
# Attempt verification of a website or domain.
|
||||
# @param [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource] site_verification_web_resource_resource_object
|
||||
# @param [String] verification_method
|
||||
# The method to use for verifying a site or domain.
|
||||
# @param [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource] site_verification_web_resource_resource_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -183,7 +183,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_web_resource(site_verification_web_resource_resource_object = nil, verification_method: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_web_resource(verification_method, site_verification_web_resource_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'webResource'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Representation
|
||||
|
|
|
@ -1124,7 +1124,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_operations(project, instance: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_operations(project, instance, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'projects/{project}/operations'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::SqladminV1beta4::ListOperationsResponse::Representation
|
||||
|
@ -1377,7 +1377,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def delete_user(project, instance, host, name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'projects/{project}/instances/{instance}/users'
|
||||
command = make_simple_command(:delete, path, options)
|
||||
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
||||
|
@ -1478,11 +1478,11 @@ module Google
|
|||
# Project ID of the project that contains the instance.
|
||||
# @param [String] instance
|
||||
# Database instance ID. This does not include the project ID.
|
||||
# @param [Google::Apis::SqladminV1beta4::User] user_object
|
||||
# @param [String] host
|
||||
# Host of the user in the instance.
|
||||
# @param [String] name
|
||||
# Name of the user in the instance.
|
||||
# @param [Google::Apis::SqladminV1beta4::User] user_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1504,7 +1504,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def update_user(project, instance, host, name, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'projects/{project}/instances/{instance}/users'
|
||||
command = make_simple_command(:put, path, options)
|
||||
command.request_representation = Google::Apis::SqladminV1beta4::User::Representation
|
||||
|
|
|
@ -382,13 +382,13 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a new bucket.
|
||||
# @param [String] project
|
||||
# A valid API project identifier.
|
||||
# @param [Google::Apis::StorageV1::Bucket] bucket_object
|
||||
# @param [String] predefined_acl
|
||||
# Apply a predefined set of access controls to this bucket.
|
||||
# @param [String] predefined_default_object_acl
|
||||
# Apply a predefined set of default object access controls to this bucket.
|
||||
# @param [String] project
|
||||
# A valid API project identifier.
|
||||
# @param [String] projection
|
||||
# Set of properties to return. Defaults to noAcl, unless the bucket resource
|
||||
# specifies acl or defaultObjectAcl properties, when it defaults to full.
|
||||
|
@ -413,7 +413,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_bucket(bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, project: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'b'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::StorageV1::Bucket::Representation
|
||||
|
@ -431,6 +431,8 @@ module Google
|
|||
end
|
||||
|
||||
# Retrieves a list of buckets for a given project.
|
||||
# @param [String] project
|
||||
# A valid API project identifier.
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum number of buckets to return.
|
||||
# @param [String] page_token
|
||||
|
@ -438,8 +440,6 @@ module Google
|
|||
# results to view.
|
||||
# @param [String] prefix
|
||||
# Filter results to buckets whose names begin with this prefix.
|
||||
# @param [String] project
|
||||
# A valid API project identifier.
|
||||
# @param [String] projection
|
||||
# Set of properties to return. Defaults to noAcl.
|
||||
# @param [String] fields
|
||||
|
@ -463,7 +463,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_buckets(max_results: nil, page_token: nil, prefix: nil, project: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'b'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::StorageV1::Buckets::Representation
|
||||
|
|
|
@ -223,12 +223,12 @@ module Google
|
|||
# The project under which the queue lies.
|
||||
# @param [String] taskqueue
|
||||
# The taskqueue to lease a task from.
|
||||
# @param [Boolean] group_by_tag
|
||||
# When true, all returned tasks will have the same tag
|
||||
# @param [Fixnum] lease_secs
|
||||
# The lease in seconds.
|
||||
# @param [Fixnum] num_tasks
|
||||
# The number of tasks to lease.
|
||||
# @param [Fixnum] lease_secs
|
||||
# The lease in seconds.
|
||||
# @param [Boolean] group_by_tag
|
||||
# When true, all returned tasks will have the same tag
|
||||
# @param [String] tag
|
||||
# The tag allowed for tasks in the response. Must only be specified if
|
||||
# group_by_tag is true. If group_by_tag is true and tag is not specified the tag
|
||||
|
@ -254,7 +254,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def lease_task(project, taskqueue, group_by_tag: nil, lease_secs: nil, num_tasks: nil, tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def lease_task(project, taskqueue, num_tasks, lease_secs, group_by_tag: nil, tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/taskqueues/{taskqueue}/tasks/lease'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.response_representation = Google::Apis::TaskqueueV1beta2::Tasks::Representation
|
||||
|
@ -316,9 +316,9 @@ module Google
|
|||
# The project under which the queue lies.
|
||||
# @param [String] taskqueue
|
||||
# @param [String] task
|
||||
# @param [Google::Apis::TaskqueueV1beta2::Task] task_object
|
||||
# @param [Fixnum] new_lease_seconds
|
||||
# The new lease in seconds.
|
||||
# @param [Google::Apis::TaskqueueV1beta2::Task] task_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -340,7 +340,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_task(project, taskqueue, task, task_object = nil, new_lease_seconds: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_task(project, taskqueue, task, new_lease_seconds, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
|
||||
command = make_simple_command(:patch, path, options)
|
||||
command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
|
||||
|
@ -362,9 +362,9 @@ module Google
|
|||
# The project under which the queue lies.
|
||||
# @param [String] taskqueue
|
||||
# @param [String] task
|
||||
# @param [Google::Apis::TaskqueueV1beta2::Task] task_object
|
||||
# @param [Fixnum] new_lease_seconds
|
||||
# The new lease in seconds.
|
||||
# @param [Google::Apis::TaskqueueV1beta2::Task] task_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -386,7 +386,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_task(project, taskqueue, task, task_object = nil, new_lease_seconds: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def update_task(project, taskqueue, task, new_lease_seconds, task_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = '{project}/taskqueues/{taskqueue}/tasks/{task}'
|
||||
command = make_simple_command(:post, path, options)
|
||||
command.request_representation = Google::Apis::TaskqueueV1beta2::Task::Representation
|
||||
|
|
|
@ -76,7 +76,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_detections(q: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_detections(q, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'v2/detect'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::TranslateV2::ListDetectionsResponse::Representation
|
||||
|
@ -125,16 +125,16 @@ module Google
|
|||
end
|
||||
|
||||
# Returns text translations from one language to another.
|
||||
# @param [Array<String>, String] q
|
||||
# The text to translate
|
||||
# @param [String] target
|
||||
# The target language into which the text should be translated
|
||||
# @param [Array<String>, String] cid
|
||||
# The customization id for translate
|
||||
# @param [String] format
|
||||
# The format of the text
|
||||
# @param [Array<String>, String] q
|
||||
# The text to translate
|
||||
# @param [String] source
|
||||
# The source language of the text
|
||||
# @param [String] target
|
||||
# The target language into which the text should be translated
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -156,7 +156,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_translations(cid: nil, format: nil, q: nil, source: nil, target: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_translations(q, target, cid: nil, format: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'v2'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::TranslateV2::ListTranslationsResponse::Representation
|
||||
|
|
|
@ -53,10 +53,10 @@ module Google
|
|||
end
|
||||
|
||||
# Expands a short URL or gets creation time and analytics.
|
||||
# @param [String] projection
|
||||
# Additional information to return.
|
||||
# @param [String] short_url
|
||||
# The short URL, including the protocol.
|
||||
# @param [String] projection
|
||||
# Additional information to return.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -78,7 +78,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_url(projection: nil, short_url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_url(short_url, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'url'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::UrlshortenerV1::Url::Representation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/webmaster-tools/
|
||||
module WebmastersV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20150624'
|
||||
REVISION = '20150715'
|
||||
|
||||
# View and modify Webmaster Tools data for your verified sites
|
||||
AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters'
|
||||
|
|
|
@ -125,12 +125,12 @@ module Google
|
|||
class SearchAnalyticsQueryRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Optional; Default is AUTO] How data is aggregated. If aggregated by property,
|
||||
# all data for the same property is aggregated; if aggregated by page, all data
|
||||
# is aggregated by canonical URI. If you filter or group by page, choose AUTO;
|
||||
# otherwise you can aggregate either by property or by page, depending on how
|
||||
# you want your data calculated; see the help documentation to learn how data
|
||||
# is calculated differently by site versus by page.
|
||||
# [Optional; Default is "auto"] How data is aggregated. If aggregated by
|
||||
# property, all data for the same property is aggregated; if aggregated by page,
|
||||
# all data is aggregated by canonical URI. If you filter or group by page,
|
||||
# choose AUTO; otherwise you can aggregate either by property or by page,
|
||||
# depending on how you want your data calculated; see the help documentation to
|
||||
# learn how data is calculated differently by site versus by page.
|
||||
# Note: If you group or filter by page, you cannot aggregate by property.
|
||||
# If you specify any value other than AUTO, the aggregation type in the result
|
||||
# will match the requested type, or if you request an invalid type, you will get
|
||||
|
@ -141,9 +141,9 @@ module Google
|
|||
attr_accessor :aggregation_type
|
||||
|
||||
# [Optional] Zero or more filters to apply to the dimension grouping values; for
|
||||
# example, 'Country CONTAINS "Guinea"' to see only data where the country
|
||||
# contains the substring "Guinea". You can filter by a dimension without
|
||||
# grouping by it.
|
||||
# example, 'query contains "buy"' to see only data where the query string
|
||||
# contains the substring "buy" (not case-sensitive). You can filter by a
|
||||
# dimension without grouping by it.
|
||||
# Corresponds to the JSON property `dimensionFilterGroups`
|
||||
# @return [Array<Google::Apis::WebmastersV3::ApiDimensionFilterGroup>]
|
||||
attr_accessor :dimension_filter_groups
|
||||
|
@ -164,12 +164,12 @@ module Google
|
|||
attr_accessor :end_date
|
||||
|
||||
# [Optional; Default is 1000] The maximum number of rows to return. Must be a
|
||||
# number from 1 to 1,000 (inclusive).
|
||||
# number from 1 to 5,000 (inclusive).
|
||||
# Corresponds to the JSON property `rowLimit`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :row_limit
|
||||
|
||||
# [Optional; Default is WEB] The search type to filter for.
|
||||
# [Optional; Default is "web"] The search type to filter for.
|
||||
# Corresponds to the JSON property `searchType`
|
||||
# @return [String]
|
||||
attr_accessor :search_type
|
||||
|
|
|
@ -471,7 +471,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_errors_sample(site_url, url, category: nil, platform: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_errors_sample(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::WebmastersV3::UrlCrawlErrorsSample::Representation
|
||||
|
@ -514,7 +514,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_errors_samples(site_url, category: nil, platform: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_errors_samples(site_url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'sites/{siteUrl}/urlCrawlErrorsSamples'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse::Representation
|
||||
|
@ -561,7 +561,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def mark_as_fixed(site_url, url, category: nil, platform: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def mark_as_fixed(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}'
|
||||
command = make_simple_command(:delete, path, options)
|
||||
command.params['siteUrl'] = site_url unless site_url.nil?
|
||||
|
|
|
@ -77,7 +77,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_batch_report_definitions(on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_batch_report_definitions(on_behalf_of_content_owner, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'batchReportDefinitions'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList::Representation
|
||||
|
@ -117,7 +117,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_batch_reports(batch_report_definition_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_batch_reports(batch_report_definition_id, on_behalf_of_content_owner, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'batchReports'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::YoutubeAnalyticsV1::BatchReportList::Representation
|
||||
|
@ -165,7 +165,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_group_item(id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def delete_group_item(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'groupItems'
|
||||
command = make_simple_command(:delete, path, options)
|
||||
command.query['id'] = id unless id.nil?
|
||||
|
@ -258,7 +258,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_group_items(group_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_group_items(group_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'groupItems'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::YoutubeAnalyticsV1::ListGroupItemResponse::Representation
|
||||
|
@ -306,7 +306,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_group(id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def delete_group(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'groups'
|
||||
command = make_simple_command(:delete, path, options)
|
||||
command.query['id'] = id unless id.nil?
|
||||
|
@ -467,6 +467,25 @@ module Google
|
|||
end
|
||||
|
||||
# Retrieve your YouTube Analytics reports.
|
||||
# @param [String] ids
|
||||
# Identifies the YouTube channel or content owner for which you are retrieving
|
||||
# YouTube Analytics data.
|
||||
# - To request data for a YouTube user, set the ids parameter value to channel==
|
||||
# CHANNEL_ID, where CHANNEL_ID specifies the unique YouTube channel ID.
|
||||
# - To request data for a YouTube CMS content owner, set the ids parameter value
|
||||
# to contentOwner==OWNER_NAME, where OWNER_NAME is the CMS name of the content
|
||||
# owner.
|
||||
# @param [String] start_date
|
||||
# The start date for fetching YouTube Analytics data. The value should be in
|
||||
# YYYY-MM-DD format.
|
||||
# @param [String] end_date
|
||||
# The end date for fetching YouTube Analytics data. The value should be in YYYY-
|
||||
# MM-DD format.
|
||||
# @param [String] metrics
|
||||
# A comma-separated list of YouTube Analytics metrics, such as views or likes,
|
||||
# dislikes. See the Available Reports document for a list of the reports that
|
||||
# you can retrieve and the metrics available in each report, and see the Metrics
|
||||
# document for definitions of those metrics.
|
||||
# @param [String] currency
|
||||
# The currency to which financial metrics should be converted. The default is US
|
||||
# Dollar (USD). If the result contains no financial metrics, this flag will be
|
||||
|
@ -476,9 +495,6 @@ module Google
|
|||
# ageGroup,gender. See the Available Reports document for a list of the reports
|
||||
# that you can retrieve and the dimensions used for those reports. Also see the
|
||||
# Dimensions document for definitions of those dimensions.
|
||||
# @param [String] end_date
|
||||
# The end date for fetching YouTube Analytics data. The value should be in YYYY-
|
||||
# MM-DD format.
|
||||
# @param [String] filters
|
||||
# A list of filters that should be applied when retrieving YouTube Analytics
|
||||
# data. The Available Reports document identifies the dimensions that can be
|
||||
|
@ -487,28 +503,12 @@ module Google
|
|||
# semicolon (;), and the returned result table will satisfy both filters. For
|
||||
# example, a filters parameter value of video==dMH0bHeiRNg;country==IT restricts
|
||||
# the result set to include data for the given video in Italy.
|
||||
# @param [String] ids
|
||||
# Identifies the YouTube channel or content owner for which you are retrieving
|
||||
# YouTube Analytics data.
|
||||
# - To request data for a YouTube user, set the ids parameter value to channel==
|
||||
# CHANNEL_ID, where CHANNEL_ID specifies the unique YouTube channel ID.
|
||||
# - To request data for a YouTube CMS content owner, set the ids parameter value
|
||||
# to contentOwner==OWNER_NAME, where OWNER_NAME is the CMS name of the content
|
||||
# owner.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of rows to include in the response.
|
||||
# @param [String] metrics
|
||||
# A comma-separated list of YouTube Analytics metrics, such as views or likes,
|
||||
# dislikes. See the Available Reports document for a list of the reports that
|
||||
# you can retrieve and the metrics available in each report, and see the Metrics
|
||||
# document for definitions of those metrics.
|
||||
# @param [String] sort
|
||||
# A comma-separated list of dimensions or metrics that determine the sort order
|
||||
# for YouTube Analytics data. By default the sort order is ascending. The '-'
|
||||
# prefix causes descending sort order.
|
||||
# @param [String] start_date
|
||||
# The start date for fetching YouTube Analytics data. The value should be in
|
||||
# YYYY-MM-DD format.
|
||||
# @param [Fixnum] start_index
|
||||
# An index of the first entity to retrieve. Use this parameter as a pagination
|
||||
# mechanism along with the max-results parameter (one-based, inclusive).
|
||||
|
@ -533,7 +533,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def query_report(currency: nil, dimensions: nil, end_date: nil, filters: nil, ids: nil, max_results: nil, metrics: nil, sort: nil, start_date: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def query_report(ids, start_date, end_date, metrics, currency: nil, dimensions: nil, filters: nil, max_results: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
path = 'reports'
|
||||
command = make_simple_command(:get, path, options)
|
||||
command.response_representation = Google::Apis::YoutubeAnalyticsV1::ResultTable::Representation
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue