Autogenerated update (2017-09-05)

Update:
- androiddeviceprovisioning_v1
- androidenterprise_v1
- cloudfunctions_v1
- cloudfunctions_v1beta2
- servicemanagement_v1
- serviceuser_v1
This commit is contained in:
Google APIs 2017-09-05 00:36:10 +00:00
parent d6eb6def76
commit 7ffbcd94e2
18 changed files with 179 additions and 457 deletions

View File

@ -4868,6 +4868,8 @@
"/androiddeviceprovisioning:v1/Company/name": name "/androiddeviceprovisioning:v1/Company/name": name
"/androiddeviceprovisioning:v1/Company/ownerEmails": owner_emails "/androiddeviceprovisioning:v1/Company/ownerEmails": owner_emails
"/androiddeviceprovisioning:v1/Company/ownerEmails/owner_email": owner_email "/androiddeviceprovisioning:v1/Company/ownerEmails/owner_email": owner_email
"/androiddeviceprovisioning:v1/CreateCustomerRequest": create_customer_request
"/androiddeviceprovisioning:v1/CreateCustomerRequest/customer": customer
"/androiddeviceprovisioning:v1/Device": device "/androiddeviceprovisioning:v1/Device": device
"/androiddeviceprovisioning:v1/Device/claims": claims "/androiddeviceprovisioning:v1/Device/claims": claims
"/androiddeviceprovisioning:v1/Device/claims/claim": claim "/androiddeviceprovisioning:v1/Device/claims/claim": claim
@ -4968,6 +4970,8 @@
"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceMetadata": device_metadata "/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceMetadata": device_metadata
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get": get_operation "/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get": get_operation
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get/name": name "/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get/name": name
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.create": create_customer
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.create/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.list": list_partner_customers "/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.list": list_partner_customers
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.list/partnerId": partner_id "/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.list/partnerId": partner_id
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.claim": claim_device "/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.devices.claim": claim_device

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/ # @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1 module AndroiddeviceprovisioningV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170825' REVISION = '20170903'
end end
end end
end end

View File

@ -31,12 +31,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :customer_id attr_accessor :customer_id
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
# Section to claim # The section to claim.
# Corresponds to the JSON property `sectionType` # Corresponds to the JSON property `sectionType`
# @return [String] # @return [String]
attr_accessor :section_type attr_accessor :section_type
@ -57,13 +57,13 @@ module Google
class ClaimDeviceResponse class ClaimDeviceResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# the device id of the claimed device. # The device ID of the claimed device.
# Corresponds to the JSON property `deviceId` # Corresponds to the JSON property `deviceId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :device_id attr_accessor :device_id
# the resource name of the device in # The resource name of the device in the format
# 'partners/[PARTNER_ID]/devices/[DEVICE_ID]'. # `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
# Corresponds to the JSON property `deviceName` # Corresponds to the JSON property `deviceName`
# @return [String] # @return [String]
attr_accessor :device_name attr_accessor :device_name
@ -83,7 +83,7 @@ module Google
class ClaimDevicesRequest class ClaimDevicesRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# list of claims. # List of claims.
# Corresponds to the JSON property `claims` # Corresponds to the JSON property `claims`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::PartnerClaim>]
attr_accessor :claims attr_accessor :claims
@ -102,31 +102,32 @@ module Google
class Company class Company
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Admin email. # Admin emails.
# Admins will be able to operate on the portal. # Admins are able to operate on the portal.
# This field is a WRITE-only field at creation time. # This field is a write-only field at creation time.
# Corresponds to the JSON property `adminEmails` # Corresponds to the JSON property `adminEmails`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :admin_emails attr_accessor :admin_emails
# company id # Company ID.
# Corresponds to the JSON property `companyId` # Corresponds to the JSON property `companyId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :company_id attr_accessor :company_id
# company name # Company name.
# Corresponds to the JSON property `companyName` # Corresponds to the JSON property `companyName`
# @return [String] # @return [String]
attr_accessor :company_name attr_accessor :company_name
# REST Resource name. # The API resource name of the company in the format
# `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Owner email. # Owner emails.
# Owner is able to operate on the portal, and modify admins and other owners. # Owners are able to operate on the portal, and modify admins or other
# This field is a WRITE-only field at creation time. # owners. This field is a write-only field at creation time.
# Corresponds to the JSON property `ownerEmails` # Corresponds to the JSON property `ownerEmails`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :owner_emails attr_accessor :owner_emails
@ -145,11 +146,30 @@ module Google
end end
end end
# Device # Request message to create a customer.
class CreateCustomerRequest
include Google::Apis::Core::Hashable
# Company
# Corresponds to the JSON property `customer`
# @return [Google::Apis::AndroiddeviceprovisioningV1::Company]
attr_accessor :customer
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@customer = args[:customer] if args.key?(:customer)
end
end
# An Android device.
class Device class Device
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# claims # Claims.
# Corresponds to the JSON property `claims` # Corresponds to the JSON property `claims`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim>]
attr_accessor :claims attr_accessor :claims
@ -160,22 +180,22 @@ module Google
# @return [String] # @return [String]
attr_accessor :configuration attr_accessor :configuration
# Device id # Device ID.
# Corresponds to the JSON property `deviceId` # Corresponds to the JSON property `deviceId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :device_id attr_accessor :device_id
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
# A key value pair of the device metadata. # A key-value pair of the device metadata.
# Corresponds to the JSON property `deviceMetadata` # Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata attr_accessor :device_metadata
# Resource name in 'partners/[PARTNER_ID]/devices/[DEVICE_ID]'. # Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -195,16 +215,16 @@ module Google
end end
end end
# containing the necessary info about a claim for a partner. # Information about a device claimed for a partner.
class DeviceClaim class DeviceClaim
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# owner id # Owner ID.
# Corresponds to the JSON property `ownerCompanyId` # Corresponds to the JSON property `ownerCompanyId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :owner_company_id attr_accessor :owner_company_id
# section type. # Section type of the device claim.
# Corresponds to the JSON property `sectionType` # Corresponds to the JSON property `sectionType`
# @return [String] # @return [String]
attr_accessor :section_type attr_accessor :section_type
@ -220,11 +240,11 @@ module Google
end end
end end
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
class DeviceIdentifier class DeviceIdentifier
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# IMEI # IMEI number.
# Corresponds to the JSON property `imei` # Corresponds to the JSON property `imei`
# @return [String] # @return [String]
attr_accessor :imei attr_accessor :imei
@ -236,12 +256,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :manufacturer attr_accessor :manufacturer
# MEID # MEID number.
# Corresponds to the JSON property `meid` # Corresponds to the JSON property `meid`
# @return [String] # @return [String]
attr_accessor :meid attr_accessor :meid
# Serial number (optional) # Serial number (optional).
# Corresponds to the JSON property `serialNumber` # Corresponds to the JSON property `serialNumber`
# @return [String] # @return [String]
attr_accessor :serial_number attr_accessor :serial_number
@ -259,7 +279,7 @@ module Google
end end
end end
# A key value pair of the device metadata. # A key-value pair of the device metadata.
class DeviceMetadata class DeviceMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -313,8 +333,8 @@ module Google
class DevicesLongRunningOperationResponse class DevicesLongRunningOperationResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# processing status for each device. # Processing status for each device.
# One PerDeviceStatus per device. The order is the same as in your requests. # One `PerDeviceStatus` per device. The order is the same as in your requests.
# Corresponds to the JSON property `perDeviceStatus` # Corresponds to the JSON property `perDeviceStatus`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::OperationPerDevice>]
attr_accessor :per_device_status attr_accessor :per_device_status
@ -358,7 +378,7 @@ module Google
class FindDevicesByDeviceIdentifierRequest class FindDevicesByDeviceIdentifierRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
@ -368,7 +388,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :limit attr_accessor :limit
# Page token # Page token.
# Corresponds to the JSON property `pageToken` # Corresponds to the JSON property `pageToken`
# @return [String] # @return [String]
attr_accessor :page_token attr_accessor :page_token
@ -394,7 +414,7 @@ module Google
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Device>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Device>]
attr_accessor :devices attr_accessor :devices
# Page token of next page # Page token of the next page.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -414,7 +434,7 @@ module Google
class FindDevicesByOwnerRequest class FindDevicesByOwnerRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of customer ids to search for. # List of customer IDs to search for.
# Corresponds to the JSON property `customerId` # Corresponds to the JSON property `customerId`
# @return [Array<Fixnum>] # @return [Array<Fixnum>]
attr_accessor :customer_id attr_accessor :customer_id
@ -424,7 +444,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :limit attr_accessor :limit
# Page token # Page token.
# Corresponds to the JSON property `pageToken` # Corresponds to the JSON property `pageToken`
# @return [String] # @return [String]
attr_accessor :page_token attr_accessor :page_token
@ -456,7 +476,7 @@ module Google
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Device>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Device>]
attr_accessor :devices attr_accessor :devices
# Page token of next page # Page token of the next page.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -621,22 +641,22 @@ module Google
class PartnerClaim class PartnerClaim
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# customer id to claim for. # Customer ID to claim for.
# Corresponds to the JSON property `customerId` # Corresponds to the JSON property `customerId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :customer_id attr_accessor :customer_id
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
# A key value pair of the device metadata. # A key-value pair of the device metadata.
# Corresponds to the JSON property `deviceMetadata` # Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata attr_accessor :device_metadata
# section type to claim. # Section type to claim.
# Corresponds to the JSON property `sectionType` # Corresponds to the JSON property `sectionType`
# @return [String] # @return [String]
attr_accessor :section_type attr_accessor :section_type
@ -658,17 +678,17 @@ module Google
class PartnerUnclaim class PartnerUnclaim
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# device id of the device. # Device ID of the device.
# Corresponds to the JSON property `deviceId` # Corresponds to the JSON property `deviceId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :device_id attr_accessor :device_id
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
# section type to unclaim. # Section type to unclaim.
# Corresponds to the JSON property `sectionType` # Corresponds to the JSON property `sectionType`
# @return [String] # @return [String]
attr_accessor :section_type attr_accessor :section_type
@ -689,7 +709,7 @@ module Google
class PerDeviceStatusInBatch class PerDeviceStatusInBatch
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# device id of the device if process succeeds. # Device ID of the device if process succeeds.
# Corresponds to the JSON property `deviceId` # Corresponds to the JSON property `deviceId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :device_id attr_accessor :device_id
@ -699,7 +719,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :error_identifier attr_accessor :error_identifier
# Error message # Error message.
# Corresponds to the JSON property `errorMessage` # Corresponds to the JSON property `errorMessage`
# @return [String] # @return [String]
attr_accessor :error_message attr_accessor :error_message
@ -798,12 +818,12 @@ module Google
class UnclaimDeviceRequest class UnclaimDeviceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The device id returned by ClaimDevice. # The device ID returned by `ClaimDevice`.
# Corresponds to the JSON property `deviceId` # Corresponds to the JSON property `deviceId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :device_id attr_accessor :device_id
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
@ -829,7 +849,7 @@ module Google
class UnclaimDevicesRequest class UnclaimDevicesRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# list of unclaims. # List of devices to unclaim.
# Corresponds to the JSON property `unclaims` # Corresponds to the JSON property `unclaims`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::PartnerUnclaim>]
attr_accessor :unclaims attr_accessor :unclaims
@ -848,7 +868,7 @@ module Google
class UpdateDeviceMetadataInBatchRequest class UpdateDeviceMetadataInBatchRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# list of metadata updates. # List of metadata updates.
# Corresponds to the JSON property `updates` # Corresponds to the JSON property `updates`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments>] # @return [Array<Google::Apis::AndroiddeviceprovisioningV1::UpdateMetadataArguments>]
attr_accessor :updates attr_accessor :updates
@ -867,7 +887,7 @@ module Google
class UpdateDeviceMetadataRequest class UpdateDeviceMetadataRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A key value pair of the device metadata. # A key-value pair of the device metadata.
# Corresponds to the JSON property `deviceMetadata` # Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata attr_accessor :device_metadata
@ -886,17 +906,17 @@ module Google
class UpdateMetadataArguments class UpdateMetadataArguments
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# device id of the device. # Device ID of the device.
# Corresponds to the JSON property `deviceId` # Corresponds to the JSON property `deviceId`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :device_id attr_accessor :device_id
# DeviceIdentifiers identifies an unique device. # Identifies a unique device.
# Corresponds to the JSON property `deviceIdentifier` # Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier attr_accessor :device_identifier
# A key value pair of the device metadata. # A key-value pair of the device metadata.
# Corresponds to the JSON property `deviceMetadata` # Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata] # @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata attr_accessor :device_metadata

View File

@ -46,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CreateCustomerRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Device class Device
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -221,6 +227,14 @@ module Google
end end
end end
class CreateCustomerRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :customer, as: 'customer', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
end
end
class Device class Device
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -80,9 +80,46 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# List all the customers that has delegates some role to this customer. # A customer for Zero Touch Provisioning will be created.
# After a Customer is created, their admins and owners will be able to manage
# devices on partner.android.com/zerotouch or via their API.
# @param [String] parent
# The parent resource in format `partners/[PARTNER_ID]'.
# @param [Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest] create_customer_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::AndroiddeviceprovisioningV1::Company] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Company]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_customer(parent, create_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/customers', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest::Representation
command.request_object = create_customer_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Company
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# List the customers that are enrolled to the reseller identified by the
# `partnerId` argument. This list includes customers that the reseller
# created and customers that enrolled themselves using the portal.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# the id of the partner. # The ID of the partner.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -112,7 +149,7 @@ module Google
# Claim the device identified by device identifier. # Claim the device identified by device identifier.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# Id of the partner. # ID of the partner.
# @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest] claim_device_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest] claim_device_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -143,9 +180,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Claim devices asynchronously # Claim devices asynchronously.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# partner id. # Partner ID.
# @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest] claim_devices_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest] claim_devices_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -178,7 +215,7 @@ module Google
# Find devices by device identifier. # Find devices by device identifier.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# id of the partner. # ID of the partner.
# @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest] find_devices_by_device_identifier_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest] find_devices_by_device_identifier_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -211,7 +248,7 @@ module Google
# Find devices by ownership. # Find devices by ownership.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# id of the partner. # ID of the partner.
# @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest] find_devices_by_owner_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest] find_devices_by_owner_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -242,9 +279,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Get a device # Get a device.
# @param [String] name # @param [String] name
# resource name in 'partners/[PARTNER_ID]/devices/[DEVICE_ID]'. # Resource name in `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -272,11 +309,11 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Update the metadata # Update the metadata.
# @param [Fixnum] metadata_owner_id # @param [Fixnum] metadata_owner_id
# The owner of the newly set metadata. Should be partner id itself. # The owner of the newly set metadata. Set this to the partner ID.
# @param [Fixnum] device_id # @param [Fixnum] device_id
# id of the partner. # ID of the partner.
# @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest] update_device_metadata_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest] update_device_metadata_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -308,9 +345,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Unclaim the device identified by device_id or identifier. # Unclaim the device identified by the `device_id` or the `deviceIdentifier`.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# Id of the partner. # ID of the partner.
# @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest] unclaim_device_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest] unclaim_device_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -341,9 +378,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Unclaim devices asynchronously # Unclaim devices asynchronously.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# partner id. # Partner ID.
# @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest] unclaim_devices_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest] unclaim_devices_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -376,7 +413,7 @@ module Google
# Set metadata in batch asynchronously. # Set metadata in batch asynchronously.
# @param [Fixnum] partner_id # @param [Fixnum] partner_id
# partner id. # Partner ID.
# @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest] update_device_metadata_in_batch_request_object # @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest] update_device_metadata_in_batch_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api # @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1 module AndroidenterpriseV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170823' REVISION = '20170830'
# Manage corporate Android devices # Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -722,22 +722,20 @@ module Google
end end
end end
# A group license object indicates a product that an enterprise admin has # Group license objects allow you to keep track of licenses (called entitlements)
# approved for use in the enterprise. The product may be free or paid. For free # for both free and paid apps. For a free app, a group license is created when
# products, a group license object is created in these cases: if the enterprise # an enterprise admin first approves the product in Google Play or when the
# admin approves a product in Google Play, if the product is added to a # first entitlement for the product is created for a user via the API. For a
# collection, or if an entitlement for the product is created for a user via the # paid app, a group license object is only created when an enterprise admin
# API. For paid products, a group license object is only created as part of the # purchases the product in Google Play for the first time.
# first bulk purchase of that product in Google Play by the enterprise admin. # Use the API to query group licenses. A Grouplicenses resource includes the
# The API can be used to query group licenses; the available information # total number of licenses purchased (paid apps only) and the total number of
# includes the total number of licenses purchased (for paid products) and the # licenses currently in use. Iyn other words, the total number of Entitlements
# total number of licenses that have been provisioned, that is, the total number # that exist for the product.
# of user entitlements in existence for the product. # Only one group license object is created per product and group license objects
# Group license objects are never deleted. If, for example, a free app is added # are never deleted. If a product is unapproved, its group license remains. This
# to a collection and then removed, the group license will remain, allowing the # allows enterprise admins to keep track of any remaining entitlements for the
# enterprise admin to keep track of any remaining entitlements. An enterprise # product.
# admin may indicate they are no longer interested in the group license by
# marking it as unapproved in Google Play.
class GroupLicense class GroupLicense
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1463,8 +1461,7 @@ module Google
class Product class Product
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# App versions currently available for this product. The returned list contains # App versions currently available for this product.
# only public versions. Alpha and beta versions are not included.
# Corresponds to the JSON property `appVersion` # Corresponds to the JSON property `appVersion`
# @return [Array<Google::Apis::AndroidenterpriseV1::AppVersion>] # @return [Array<Google::Apis::AndroidenterpriseV1::AppVersion>]
attr_accessor :app_version attr_accessor :app_version

View File

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

View File

@ -118,7 +118,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress. # If the value is `false`, it means the operation is still in progress.
# If true, the operation is completed, and either `error` or `response` is # If `true`, the operation is completed, and either `error` or `response` is
# available. # available.
# Corresponds to the JSON property `done` # Corresponds to the JSON property `done`
# @return [Boolean] # @return [Boolean]

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/functions # @see https://cloud.google.com/functions
module CloudfunctionsV1beta2 module CloudfunctionsV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20170822' REVISION = '20170830'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -402,7 +402,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress. # If the value is `false`, it means the operation is still in progress.
# If true, the operation is completed, and either `error` or `response` is # If `true`, the operation is completed, and either `error` or `response` is
# available. # available.
# Corresponds to the JSON property `done` # Corresponds to the JSON property `done`
# @return [Boolean] # @return [Boolean]

View File

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

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServicemanagementV1 module ServicemanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170728' REVISION = '20170828'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -524,8 +524,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The # The number of seconds to wait for a response from a request. The default
# default depends on the deployment context. # deadline for gRPC and HTTP requests is 5 seconds. For Stubby requests,
# the default is no deadline.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline
@ -629,75 +630,6 @@ module Google
end end
end end
# Write a Cloud Audit log
class CloudAuditOptions
include Google::Apis::Core::Hashable
# The log_name to populate in the Cloud Audit Record.
# Corresponds to the JSON property `logName`
# @return [String]
attr_accessor :log_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@log_name = args[:log_name] if args.key?(:log_name)
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
# An operator to apply the subject with.
# Corresponds to the JSON property `op`
# @return [String]
attr_accessor :op
# Trusted attributes discharged by the service.
# Corresponds to the JSON property `svc`
# @return [String]
attr_accessor :svc
# 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
# DEPRECATED. Use 'values' instead.
# 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] if args.key?(:iam)
@op = args[:op] if args.key?(:op)
@svc = args[:svc] if args.key?(:svc)
@sys = args[:sys] if args.key?(:sys)
@value = args[:value] if args.key?(:value)
@values = args[:values] if args.key?(:values)
end
end
# Output generated from semantically comparing two versions of a service # Output generated from semantically comparing two versions of a service
# configuration. # configuration.
# Includes detailed information about a field that have changed with # Includes detailed information about a field that have changed with
@ -924,47 +856,6 @@ module Google
end end
end end
# 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 the only supported field names are
# - "iam_principal", corresponding to IAMContext.principal;
# - "" (empty string), resulting in one aggretated counter with no field.
# 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 CounterOptions
include Google::Apis::Core::Hashable
# The field value to attribute.
# Corresponds to the JSON property `field`
# @return [String]
attr_accessor :field
# The metric to update.
# Corresponds to the JSON property `metric`
# @return [String]
attr_accessor :metric
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@field = args[:field] if args.key?(:field)
@metric = args[:metric] if args.key?(:metric)
end
end
# Configuration for a custom authentication provider. # Configuration for a custom authentication provider.
class CustomAuthRequirements class CustomAuthRequirements
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1072,26 +963,6 @@ module Google
end end
end end
# Write a Data Access (Gin) log
class DataAccessOptions
include Google::Apis::Core::Hashable
# Whether Gin logging should happen in a fail-closed manner at the caller.
# This is relevant only in the LocalIAM implementation, for now.
# Corresponds to the JSON property `logMode`
# @return [String]
attr_accessor :log_mode
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@log_mode = args[:log_mode] if args.key?(:log_mode)
end
end
# Strategy used to delete a service. This strategy is a placeholder only # Strategy used to delete a service. This strategy is a placeholder only
# used by the system generated rollout to delete a service. # used by the system generated rollout to delete a service.
class DeleteServiceStrategy class DeleteServiceStrategy
@ -2215,53 +2086,6 @@ module Google
end end
end end
# Specifies what kind of log the caller must write
class LogConfig
include Google::Apis::Core::Hashable
# Write a Cloud Audit log
# Corresponds to the JSON property `cloudAudit`
# @return [Google::Apis::ServicemanagementV1::CloudAuditOptions]
attr_accessor :cloud_audit
# 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 the only supported field names are
# - "iam_principal", corresponding to IAMContext.principal;
# - "" (empty string), resulting in one aggretated counter with no field.
# 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
# Corresponds to the JSON property `counter`
# @return [Google::Apis::ServicemanagementV1::CounterOptions]
attr_accessor :counter
# Write a Data Access (Gin) log
# Corresponds to the JSON property `dataAccess`
# @return [Google::Apis::ServicemanagementV1::DataAccessOptions]
attr_accessor :data_access
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
@counter = args[:counter] if args.key?(:counter)
@data_access = args[:data_access] if args.key?(:data_access)
end
end
# A description of a log type. Example in YAML format: # A description of a log type. Example in YAML format:
# - name: library.googleapis.com/activity_history # - name: library.googleapis.com/activity_history
# description: The history of borrowing and returning library items. # description: The history of borrowing and returning library items.
@ -3063,7 +2887,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress. # If the value is `false`, it means the operation is still in progress.
# If true, the operation is completed, and either `error` or `response` is # If `true`, the operation is completed, and either `error` or `response` is
# available. # available.
# Corresponds to the JSON property `done` # Corresponds to the JSON property `done`
# @return [Boolean] # @return [Boolean]
@ -3332,19 +3156,6 @@ module Google
attr_accessor :iam_owned attr_accessor :iam_owned
alias_method :iam_owned?, :iam_owned alias_method :iam_owned?, :iam_owned
# If more than one rule is specified, the rules are applied in the following
# manner:
# - All matching LOG rules are always applied.
# - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
# Logging will be applied if one or more matching rule requires logging.
# - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
# granted.
# Logging will be applied if one or more matching rule requires logging.
# - Otherwise, if no rule applies, permission is denied.
# Corresponds to the JSON property `rules`
# @return [Array<Google::Apis::ServicemanagementV1::Rule>]
attr_accessor :rules
# Version of the `Policy`. The default version is 0. # Version of the `Policy`. The default version is 0.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
@ -3360,7 +3171,6 @@ module Google
@bindings = args[:bindings] if args.key?(:bindings) @bindings = args[:bindings] if args.key?(:bindings)
@etag = args[:etag] if args.key?(:etag) @etag = args[:etag] if args.key?(:etag)
@iam_owned = args[:iam_owned] if args.key?(:iam_owned) @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
@rules = args[:rules] if args.key?(:rules)
@version = args[:version] if args.key?(:version) @version = args[:version] if args.key?(:version)
end end
end end
@ -3651,68 +3461,6 @@ module Google
end end
end end
# A rule to be applied in a Policy.
class Rule
include Google::Apis::Core::Hashable
# Required
# Corresponds to the JSON property `action`
# @return [String]
attr_accessor :action
# Additional restrictions that must be met
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::ServicemanagementV1::Condition>]
attr_accessor :conditions
# Human-readable description of the rule.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# If one or more 'in' clauses are specified, the rule matches if
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
# Corresponds to the JSON property `in`
# @return [Array<String>]
attr_accessor :in
# 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::ServicemanagementV1::LogConfig>]
attr_accessor :log_config
# If one or more 'not_in' clauses are specified, the rule matches
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
# The format for in and not_in entries is the same as for members in a
# Binding (see google/iam/v1/policy.proto).
# Corresponds to the JSON property `notIn`
# @return [Array<String>]
attr_accessor :not_in
# A permission is a string of form '<service>.<resource type>.<verb>'
# (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
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action = args[:action] if args.key?(:action)
@conditions = args[:conditions] if args.key?(:conditions)
@description = args[:description] if args.key?(:description)
@in = args[:in] if args.key?(:in)
@log_config = args[:log_config] if args.key?(:log_config)
@not_in = args[:not_in] if args.key?(:not_in)
@permissions = args[:permissions] if args.key?(:permissions)
end
end
# `Service` is the root object of Google service configuration schema. It # `Service` is the root object of Google service configuration schema. It
# describes basic information about a service, such as the name and the # describes basic information about a service, such as the name and the
# title, and delegates other aspects to sub-sections. Each sub-section is # title, and delegates other aspects to sub-sections. Each sub-section is

View File

@ -100,18 +100,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CloudAuditOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Condition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConfigChange class ConfigChange
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,12 +142,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CounterOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomAuthRequirements class CustomAuthRequirements
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -184,12 +166,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DataAccessOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteServiceStrategy class DeleteServiceStrategy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -328,12 +304,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LogDescriptor class LogDescriptor
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -466,12 +436,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Rule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Service class Service
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -720,25 +684,6 @@ module Google
end end
end end
class CloudAuditOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :log_name, as: 'logName'
end
end
class Condition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :iam, as: 'iam'
property :op, as: 'op'
property :svc, as: 'svc'
property :sys, as: 'sys'
property :value, as: 'value'
collection :values, as: 'values'
end
end
class ConfigChange class ConfigChange
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -800,14 +745,6 @@ module Google
end end
end end
class CounterOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :field, as: 'field'
property :metric, as: 'metric'
end
end
class CustomAuthRequirements class CustomAuthRequirements
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -840,13 +777,6 @@ module Google
end end
end end
class DataAccessOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :log_mode, as: 'logMode'
end
end
class DeleteServiceStrategy class DeleteServiceStrategy
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1082,18 +1012,6 @@ module Google
end end
end end
class LogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::ServicemanagementV1::CloudAuditOptions, decorator: Google::Apis::ServicemanagementV1::CloudAuditOptions::Representation
property :counter, as: 'counter', class: Google::Apis::ServicemanagementV1::CounterOptions, decorator: Google::Apis::ServicemanagementV1::CounterOptions::Representation
property :data_access, as: 'dataAccess', class: Google::Apis::ServicemanagementV1::DataAccessOptions, decorator: Google::Apis::ServicemanagementV1::DataAccessOptions::Representation
end
end
class LogDescriptor class LogDescriptor
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1289,8 +1207,6 @@ module Google
property :etag, :base64 => true, as: 'etag' property :etag, :base64 => true, as: 'etag'
property :iam_owned, as: 'iamOwned' property :iam_owned, as: 'iamOwned'
collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::Rule, decorator: Google::Apis::ServicemanagementV1::Rule::Representation
property :version, as: 'version' property :version, as: 'version'
end end
end end
@ -1336,21 +1252,6 @@ module Google
end end
end end
class Rule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
collection :conditions, as: 'conditions', class: Google::Apis::ServicemanagementV1::Condition, decorator: Google::Apis::ServicemanagementV1::Condition::Representation
property :description, as: 'description'
collection :in, as: 'in'
collection :log_config, as: 'logConfig', class: Google::Apis::ServicemanagementV1::LogConfig, decorator: Google::Apis::ServicemanagementV1::LogConfig::Representation
collection :not_in, as: 'notIn'
collection :permissions, as: 'permissions'
end
end
class Service class Service
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -423,8 +423,9 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The # The number of seconds to wait for a response from a request. The default
# default depends on the deployment context. # deadline for gRPC and HTTP requests is 5 seconds. For Stubby requests,
# the default is no deadline.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline
@ -2267,7 +2268,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress. # If the value is `false`, it means the operation is still in progress.
# If true, the operation is completed, and either `error` or `response` is # If `true`, the operation is completed, and either `error` or `response` is
# available. # available.
# Corresponds to the JSON property `done` # Corresponds to the JSON property `done`
# @return [Boolean] # @return [Boolean]

View File

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