Skip to content

Commit

Permalink
regenerate APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Jul 31, 2015
1 parent c9da9f3 commit b3daed4
Show file tree
Hide file tree
Showing 89 changed files with 2,242 additions and 1,816 deletions.
73 changes: 68 additions & 5 deletions api_names_out.yaml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/adexchangebuyer_v1_3/service.rb
Expand Up @@ -599,15 +599,15 @@ def list_direct_deals(fields: nil, quota_user: nil, user_ip: nil, options: nil,
# 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.
# @param [String] page_token
# 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
Expand All @@ -629,7 +629,7 @@ def list_direct_deals(fields: nil, quota_user: nil, user_ip: nil, options: nil,
# @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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adexchangeseller_v2_0.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @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'
Expand Down
10 changes: 5 additions & 5 deletions generated/google/apis/adexchangeseller_v2_0/service.rb
Expand Up @@ -457,10 +457,12 @@ def list_account_preferred_deals(account_id, fields: nil, quota_user: nil, user_
# 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
Expand All @@ -474,8 +476,6 @@ def list_account_preferred_deals(account_id, fields: nil, quota_user: nil, user_
# 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
Expand All @@ -501,7 +501,7 @@ def list_account_preferred_deals(account_id, fields: nil, quota_user: nil, user_
# @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)
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/admin_directory_v1.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @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'
Expand Down
34 changes: 34 additions & 0 deletions generated/google/apis/admin_directory_v1/classes.rb
Expand Up @@ -716,6 +716,12 @@ def update!(**args)
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>]
Expand All @@ -736,6 +742,12 @@ class MobileDevice
# @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]
Expand Down Expand Up @@ -820,6 +832,11 @@ class MobileDevice
# @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]
Expand All @@ -835,11 +852,23 @@ class MobileDevice
# @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]
Expand All @@ -856,10 +885,12 @@ def initialize(**args)

# 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?
Expand All @@ -876,10 +907,13 @@ def update!(**args)
@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
Expand Down

0 comments on commit b3daed4

Please sign in to comment.