Autogenerated update (2017-12-19)

Update:
- androiddeviceprovisioning_v1
- androidmanagement_v1
- calendar_v3
- cloudfunctions_v1
- cloudfunctions_v1beta2
- compute_v1
- sheets_v4
This commit is contained in:
Google APIs 2017-12-19 00:35:20 +00:00
parent a31469048d
commit 5ce2863ef1
22 changed files with 1644 additions and 69 deletions

View File

@ -5210,8 +5210,40 @@
"/androiddeviceprovisioning:v1/Company/name": name
"/androiddeviceprovisioning:v1/Company/ownerEmails": owner_emails
"/androiddeviceprovisioning:v1/Company/ownerEmails/owner_email": owner_email
"/androiddeviceprovisioning:v1/Configuration": configuration
"/androiddeviceprovisioning:v1/Configuration/companyName": company_name
"/androiddeviceprovisioning:v1/Configuration/configurationId": configuration_id
"/androiddeviceprovisioning:v1/Configuration/configurationName": configuration_name
"/androiddeviceprovisioning:v1/Configuration/contactEmail": contact_email
"/androiddeviceprovisioning:v1/Configuration/contactPhone": contact_phone
"/androiddeviceprovisioning:v1/Configuration/customMessage": custom_message
"/androiddeviceprovisioning:v1/Configuration/dpcExtras": dpc_extras
"/androiddeviceprovisioning:v1/Configuration/dpcResourcePath": dpc_resource_path
"/androiddeviceprovisioning:v1/Configuration/isDefault": is_default
"/androiddeviceprovisioning:v1/Configuration/name": name
"/androiddeviceprovisioning:v1/CreateCustomerRequest": create_customer_request
"/androiddeviceprovisioning:v1/CreateCustomerRequest/customer": customer
"/androiddeviceprovisioning:v1/CustomerApplyConfigurationRequest": customer_apply_configuration_request
"/androiddeviceprovisioning:v1/CustomerApplyConfigurationRequest/configuration": configuration
"/androiddeviceprovisioning:v1/CustomerApplyConfigurationRequest/device": device
"/androiddeviceprovisioning:v1/CustomerListConfigurationsResponse": customer_list_configurations_response
"/androiddeviceprovisioning:v1/CustomerListConfigurationsResponse/configurations": configurations
"/androiddeviceprovisioning:v1/CustomerListConfigurationsResponse/configurations/configuration": configuration
"/androiddeviceprovisioning:v1/CustomerListCustomersResponse": customer_list_customers_response
"/androiddeviceprovisioning:v1/CustomerListCustomersResponse/customers": customers
"/androiddeviceprovisioning:v1/CustomerListCustomersResponse/customers/customer": customer
"/androiddeviceprovisioning:v1/CustomerListCustomersResponse/nextPageToken": next_page_token
"/androiddeviceprovisioning:v1/CustomerListDevicesResponse": customer_list_devices_response
"/androiddeviceprovisioning:v1/CustomerListDevicesResponse/devices": devices
"/androiddeviceprovisioning:v1/CustomerListDevicesResponse/devices/device": device
"/androiddeviceprovisioning:v1/CustomerListDevicesResponse/nextPageToken": next_page_token
"/androiddeviceprovisioning:v1/CustomerListDpcsResponse": customer_list_dpcs_response
"/androiddeviceprovisioning:v1/CustomerListDpcsResponse/dpcs": dpcs
"/androiddeviceprovisioning:v1/CustomerListDpcsResponse/dpcs/dpc": dpc
"/androiddeviceprovisioning:v1/CustomerRemoveConfigurationRequest": customer_remove_configuration_request
"/androiddeviceprovisioning:v1/CustomerRemoveConfigurationRequest/device": device
"/androiddeviceprovisioning:v1/CustomerUnclaimDeviceRequest": customer_unclaim_device_request
"/androiddeviceprovisioning:v1/CustomerUnclaimDeviceRequest/device": device
"/androiddeviceprovisioning:v1/Device": device
"/androiddeviceprovisioning:v1/Device/claims": claims
"/androiddeviceprovisioning:v1/Device/claims/claim": claim
@ -5231,6 +5263,9 @@
"/androiddeviceprovisioning:v1/DeviceMetadata": device_metadata
"/androiddeviceprovisioning:v1/DeviceMetadata/entries": entries
"/androiddeviceprovisioning:v1/DeviceMetadata/entries/entry": entry
"/androiddeviceprovisioning:v1/DeviceReference": device_reference
"/androiddeviceprovisioning:v1/DeviceReference/deviceId": device_id
"/androiddeviceprovisioning:v1/DeviceReference/deviceIdentifier": device_identifier
"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata": devices_long_running_operation_metadata
"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata/devicesCount": devices_count
"/androiddeviceprovisioning:v1/DevicesLongRunningOperationMetadata/processingStatus": processing_status
@ -5239,6 +5274,10 @@
"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse/perDeviceStatus": per_device_status
"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse/perDeviceStatus/per_device_status": per_device_status
"/androiddeviceprovisioning:v1/DevicesLongRunningOperationResponse/successCount": success_count
"/androiddeviceprovisioning:v1/Dpc": dpc
"/androiddeviceprovisioning:v1/Dpc/dpcName": dpc_name
"/androiddeviceprovisioning:v1/Dpc/name": name
"/androiddeviceprovisioning:v1/Dpc/packageName": package_name
"/androiddeviceprovisioning:v1/Empty": empty
"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierRequest": find_devices_by_device_identifier_request
"/androiddeviceprovisioning:v1/FindDevicesByDeviceIdentifierRequest/deviceIdentifier": device_identifier
@ -5310,6 +5349,34 @@
"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceId": device_id
"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceIdentifier": device_identifier
"/androiddeviceprovisioning:v1/UpdateMetadataArguments/deviceMetadata": device_metadata
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.create": create_customer_configuration
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.create/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.delete": delete_customer_configuration
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.delete/name": name
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.get": get_customer_configuration
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.get/name": name
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.list": list_customer_configurations
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.list/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.patch": patch_customer_configuration
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.patch/name": name
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.configurations.patch/updateMask": update_mask
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.applyConfiguration": apply_customer_device_configuration
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.applyConfiguration/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.get": get_customer_device
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.get/name": name
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.list": list_customer_devices
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.list/pageSize": page_size
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.list/pageToken": page_token
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.list/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.removeConfiguration": remove_customer_device_configuration
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.removeConfiguration/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.unclaim": unclaim_customer_device
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.devices.unclaim/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.dpcs.list": list_customer_dpcs
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.dpcs.list/parent": parent
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.list": list_customers
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.list/pageSize": page_size
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.customers.list/pageToken": page_token
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get": get_operation
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.operations.get/name": name
"/androiddeviceprovisioning:v1/androiddeviceprovisioning.partners.customers.create": create_customer
@ -6005,6 +6072,7 @@
"/androidmanagement:v1/Device/appliedPolicyName": applied_policy_name
"/androidmanagement:v1/Device/appliedPolicyVersion": applied_policy_version
"/androidmanagement:v1/Device/appliedState": applied_state
"/androidmanagement:v1/Device/deviceSettings": device_settings
"/androidmanagement:v1/Device/disabledReason": disabled_reason
"/androidmanagement:v1/Device/displays": displays
"/androidmanagement:v1/Device/displays/display": display_prop
@ -6034,6 +6102,13 @@
"/androidmanagement:v1/Device/softwareInfo": software_info
"/androidmanagement:v1/Device/state": state
"/androidmanagement:v1/Device/userName": user_name
"/androidmanagement:v1/DeviceSettings": device_settings
"/androidmanagement:v1/DeviceSettings/adbEnabled": adb_enabled
"/androidmanagement:v1/DeviceSettings/developmentSettingsEnabled": development_settings_enabled
"/androidmanagement:v1/DeviceSettings/encryptionStatus": encryption_status
"/androidmanagement:v1/DeviceSettings/isDeviceSecure": is_device_secure
"/androidmanagement:v1/DeviceSettings/isEncrypted": is_encrypted
"/androidmanagement:v1/DeviceSettings/unknownSourcesEnabled": unknown_sources_enabled
"/androidmanagement:v1/Display": display_prop
"/androidmanagement:v1/Display/density": density
"/androidmanagement:v1/Display/displayId": display_id
@ -6264,6 +6339,8 @@
"/androidmanagement:v1/SoftwareInfo": software_info
"/androidmanagement:v1/SoftwareInfo/androidBuildNumber": android_build_number
"/androidmanagement:v1/SoftwareInfo/androidBuildTime": android_build_time
"/androidmanagement:v1/SoftwareInfo/androidDevicePolicyVersionCode": android_device_policy_version_code
"/androidmanagement:v1/SoftwareInfo/androidDevicePolicyVersionName": android_device_policy_version_name
"/androidmanagement:v1/SoftwareInfo/androidVersion": android_version
"/androidmanagement:v1/SoftwareInfo/bootloaderVersion": bootloader_version
"/androidmanagement:v1/SoftwareInfo/deviceKernelVersion": device_kernel_version
@ -21089,6 +21166,7 @@
"/compute:beta/Backend/maxUtilization": max_utilization
"/compute:beta/BackendBucket": backend_bucket
"/compute:beta/BackendBucket/bucketName": bucket_name
"/compute:beta/BackendBucket/cdnPolicy": cdn_policy
"/compute:beta/BackendBucket/creationTimestamp": creation_timestamp
"/compute:beta/BackendBucket/description": description
"/compute:beta/BackendBucket/enableCdn": enable_cdn
@ -21096,6 +21174,10 @@
"/compute:beta/BackendBucket/kind": kind
"/compute:beta/BackendBucket/name": name
"/compute:beta/BackendBucket/selfLink": self_link
"/compute:beta/BackendBucketCdnPolicy": backend_bucket_cdn_policy
"/compute:beta/BackendBucketCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec
"/compute:beta/BackendBucketCdnPolicy/signedUrlKeyNames": signed_url_key_names
"/compute:beta/BackendBucketCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name
"/compute:beta/BackendBucketList": backend_bucket_list
"/compute:beta/BackendBucketList/id": id
"/compute:beta/BackendBucketList/items": items
@ -21151,6 +21233,9 @@
"/compute:beta/BackendServiceAggregatedList/warning/message": message
"/compute:beta/BackendServiceCdnPolicy": backend_service_cdn_policy
"/compute:beta/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy
"/compute:beta/BackendServiceCdnPolicy/signedUrlCacheMaxAgeSec": signed_url_cache_max_age_sec
"/compute:beta/BackendServiceCdnPolicy/signedUrlKeyNames": signed_url_key_names
"/compute:beta/BackendServiceCdnPolicy/signedUrlKeyNames/signed_url_key_name": signed_url_key_name
"/compute:beta/BackendServiceGroupHealth": backend_service_group_health
"/compute:beta/BackendServiceGroupHealth/healthStatus": health_status
"/compute:beta/BackendServiceGroupHealth/healthStatus/health_status": health_status
@ -22845,6 +22930,9 @@
"/compute:beta/ServiceAccount/email": email
"/compute:beta/ServiceAccount/scopes": scopes
"/compute:beta/ServiceAccount/scopes/scope": scope
"/compute:beta/SignedUrlKey": signed_url_key
"/compute:beta/SignedUrlKey/keyName": key_name
"/compute:beta/SignedUrlKey/keyValue": key_value
"/compute:beta/Snapshot": snapshot
"/compute:beta/Snapshot/creationTimestamp": creation_timestamp
"/compute:beta/Snapshot/description": description
@ -23572,10 +23660,19 @@
"/compute:beta/compute.autoscalers.update/project": project
"/compute:beta/compute.autoscalers.update/requestId": request_id
"/compute:beta/compute.autoscalers.update/zone": zone
"/compute:beta/compute.backendBuckets.addSignedUrlKey": add_backend_bucket_signed_url_key
"/compute:beta/compute.backendBuckets.addSignedUrlKey/backendBucket": backend_bucket
"/compute:beta/compute.backendBuckets.addSignedUrlKey/project": project
"/compute:beta/compute.backendBuckets.addSignedUrlKey/requestId": request_id
"/compute:beta/compute.backendBuckets.delete": delete_backend_bucket
"/compute:beta/compute.backendBuckets.delete/backendBucket": backend_bucket
"/compute:beta/compute.backendBuckets.delete/project": project
"/compute:beta/compute.backendBuckets.delete/requestId": request_id
"/compute:beta/compute.backendBuckets.deleteSignedUrlKey": delete_backend_bucket_signed_url_key
"/compute:beta/compute.backendBuckets.deleteSignedUrlKey/backendBucket": backend_bucket
"/compute:beta/compute.backendBuckets.deleteSignedUrlKey/keyName": key_name
"/compute:beta/compute.backendBuckets.deleteSignedUrlKey/project": project
"/compute:beta/compute.backendBuckets.deleteSignedUrlKey/requestId": request_id
"/compute:beta/compute.backendBuckets.get": get_backend_bucket
"/compute:beta/compute.backendBuckets.get/backendBucket": backend_bucket
"/compute:beta/compute.backendBuckets.get/project": project
@ -23596,6 +23693,10 @@
"/compute:beta/compute.backendBuckets.update/backendBucket": backend_bucket
"/compute:beta/compute.backendBuckets.update/project": project
"/compute:beta/compute.backendBuckets.update/requestId": request_id
"/compute:beta/compute.backendServices.addSignedUrlKey": add_backend_service_signed_url_key
"/compute:beta/compute.backendServices.addSignedUrlKey/backendService": backend_service
"/compute:beta/compute.backendServices.addSignedUrlKey/project": project
"/compute:beta/compute.backendServices.addSignedUrlKey/requestId": request_id
"/compute:beta/compute.backendServices.aggregatedList": aggregated_backend_service_list
"/compute:beta/compute.backendServices.aggregatedList/filter": filter
"/compute:beta/compute.backendServices.aggregatedList/maxResults": max_results
@ -23606,6 +23707,11 @@
"/compute:beta/compute.backendServices.delete/backendService": backend_service
"/compute:beta/compute.backendServices.delete/project": project
"/compute:beta/compute.backendServices.delete/requestId": request_id
"/compute:beta/compute.backendServices.deleteSignedUrlKey": delete_backend_service_signed_url_key
"/compute:beta/compute.backendServices.deleteSignedUrlKey/backendService": backend_service
"/compute:beta/compute.backendServices.deleteSignedUrlKey/keyName": key_name
"/compute:beta/compute.backendServices.deleteSignedUrlKey/project": project
"/compute:beta/compute.backendServices.deleteSignedUrlKey/requestId": request_id
"/compute:beta/compute.backendServices.get": get_backend_service
"/compute:beta/compute.backendServices.get/backendService": backend_service
"/compute:beta/compute.backendServices.get/project": project
@ -59757,6 +59863,7 @@
"/sheets:v4/BasicChartDomain/domain": domain
"/sheets:v4/BasicChartDomain/reversed": reversed
"/sheets:v4/BasicChartSeries": basic_chart_series
"/sheets:v4/BasicChartSeries/lineStyle": line_style
"/sheets:v4/BasicChartSeries/series": series
"/sheets:v4/BasicChartSeries/targetAxis": target_axis
"/sheets:v4/BasicChartSeries/type": type
@ -59940,6 +60047,7 @@
"/sheets:v4/ChartSpec/title": title
"/sheets:v4/ChartSpec/titleTextFormat": title_text_format
"/sheets:v4/ChartSpec/titleTextPosition": title_text_position
"/sheets:v4/ChartSpec/waterfallChart": waterfall_chart
"/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request
"/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id
"/sheets:v4/ClearValuesRequest": clear_values_request
@ -60165,6 +60273,9 @@
"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings
"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold
"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations
"/sheets:v4/LineStyle": line_style
"/sheets:v4/LineStyle/type": type
"/sheets:v4/LineStyle/width": width
"/sheets:v4/MatchedDeveloperMetadata": matched_developer_metadata
"/sheets:v4/MatchedDeveloperMetadata/dataFilters": data_filters
"/sheets:v4/MatchedDeveloperMetadata/dataFilters/data_filter": data_filter
@ -60510,6 +60621,26 @@
"/sheets:v4/ValueRange/values": values
"/sheets:v4/ValueRange/values/value": value
"/sheets:v4/ValueRange/values/value/value": value
"/sheets:v4/WaterfallChartColumnStyle": waterfall_chart_column_style
"/sheets:v4/WaterfallChartColumnStyle/color": color
"/sheets:v4/WaterfallChartColumnStyle/label": label
"/sheets:v4/WaterfallChartDomain": waterfall_chart_domain
"/sheets:v4/WaterfallChartDomain/data": data
"/sheets:v4/WaterfallChartDomain/reversed": reversed
"/sheets:v4/WaterfallChartSeries": waterfall_chart_series
"/sheets:v4/WaterfallChartSeries/data": data
"/sheets:v4/WaterfallChartSeries/hideTrailingSubtotal": hide_trailing_subtotal
"/sheets:v4/WaterfallChartSeries/negativeColumnsStyle": negative_columns_style
"/sheets:v4/WaterfallChartSeries/positiveColumnsStyle": positive_columns_style
"/sheets:v4/WaterfallChartSeries/subtotalColumnsStyle": subtotal_columns_style
"/sheets:v4/WaterfallChartSpec": waterfall_chart_spec
"/sheets:v4/WaterfallChartSpec/connectorLineStyle": connector_line_style
"/sheets:v4/WaterfallChartSpec/domain": domain
"/sheets:v4/WaterfallChartSpec/firstValueIsTotal": first_value_is_total
"/sheets:v4/WaterfallChartSpec/hideConnectorLines": hide_connector_lines
"/sheets:v4/WaterfallChartSpec/series": series
"/sheets:v4/WaterfallChartSpec/series/series": series
"/sheets:v4/WaterfallChartSpec/stackedType": stacked_type
"/sheets:v4/fields": fields
"/sheets:v4/key": key
"/sheets:v4/quotaUser": quota_user

View File

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

View File

@ -149,6 +149,106 @@ module Google
end
end
# A configuration collects the provisioning options for Android devices. Each
# configuration combines the following:
# * The EMM device policy controller (DPC) installed on the devices.
# * EMM policies enforced on the devices.
# * Metadata displayed on the device to help users during setup.
# Customers can add as many configurations as they need. However, zero-touch
# enrollment works best when a customer sets a default configuration that's
# applied to any new devices the organization purchases.
class Configuration
include Google::Apis::Core::Hashable
# Required. The name of the organization. Zero-touch enrollment shows this
# organization name to device users during device provisioning.
# Corresponds to the JSON property `companyName`
# @return [String]
attr_accessor :company_name
# Output only. The ID of the configuration. Assigned by the server.
# Corresponds to the JSON property `configurationId`
# @return [Fixnum]
attr_accessor :configuration_id
# Required. A short name that describes the configuration's purpose. For
# example, _Sales team_ or _Temporary employees_. The zero-touch enrollment
# portal displays this name to IT admins.
# Corresponds to the JSON property `configurationName`
# @return [String]
attr_accessor :configuration_name
# Required. The email address that device users can contact to get help.
# Zero-touch enrollment shows this email address to device users before
# device provisioning. The value is validated on input.
# Corresponds to the JSON property `contactEmail`
# @return [String]
attr_accessor :contact_email
# Required. The telephone number that device users can call, using another
# device, to get help. Zero-touch enrollment shows this number to device
# users before device provisioning. Accepts numerals, spaces, the plus sign,
# hyphens, and parentheses.
# Corresponds to the JSON property `contactPhone`
# @return [String]
attr_accessor :contact_phone
# A message, containing one or two sentences, to help device users get help
# or give them more details about whats happening to their device.
# Zero-touch enrollment shows this message before the device is provisioned.
# Corresponds to the JSON property `customMessage`
# @return [String]
attr_accessor :custom_message
# The JSON-formatted EMM provisioning extras that are passed to the DPC.
# Corresponds to the JSON property `dpcExtras`
# @return [String]
attr_accessor :dpc_extras
# Required. The resource name of the selected DPC (device policy controller)
# in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs,
# call
# `customers.dpcs.list`.
# Corresponds to the JSON property `dpcResourcePath`
# @return [String]
attr_accessor :dpc_resource_path
# Required. Whether this is the default configuration that zero-touch
# enrollment applies to any new devices the organization purchases in the
# future. Only one customer configuration can be the default. Setting this
# value to `true`, changes the previous default configuration's `isDefault`
# value to `false`.
# Corresponds to the JSON property `isDefault`
# @return [Boolean]
attr_accessor :is_default
alias_method :is_default?, :is_default
# Output only. The API resource name in the format
# `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by
# the server.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@company_name = args[:company_name] if args.key?(:company_name)
@configuration_id = args[:configuration_id] if args.key?(:configuration_id)
@configuration_name = args[:configuration_name] if args.key?(:configuration_name)
@contact_email = args[:contact_email] if args.key?(:contact_email)
@contact_phone = args[:contact_phone] if args.key?(:contact_phone)
@custom_message = args[:custom_message] if args.key?(:custom_message)
@dpc_extras = args[:dpc_extras] if args.key?(:dpc_extras)
@dpc_resource_path = args[:dpc_resource_path] if args.key?(:dpc_resource_path)
@is_default = args[:is_default] if args.key?(:is_default)
@name = args[:name] if args.key?(:name)
end
end
# Request message to create a customer.
class CreateCustomerRequest
include Google::Apis::Core::Hashable
@ -168,6 +268,182 @@ module Google
end
end
# Request message for customer to assign a configuration to device.
class CustomerApplyConfigurationRequest
include Google::Apis::Core::Hashable
# Required. The configuration applied to the device in the format
# `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`.
# Corresponds to the JSON property `configuration`
# @return [String]
attr_accessor :configuration
# A `DeviceReference` is an API abstraction that lets you supply a _device_
# argument to a method using one of the following identifier types:
# * A numeric API resource ID.
# * Real-world hardware IDs, such as IMEI number, belonging to the manufactured
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# Corresponds to the JSON property `device`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceReference]
attr_accessor :device
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@configuration = args[:configuration] if args.key?(:configuration)
@device = args[:device] if args.key?(:device)
end
end
# Response message of customer's listing configuration.
class CustomerListConfigurationsResponse
include Google::Apis::Core::Hashable
# The configurations.
# Corresponds to the JSON property `configurations`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Configuration>]
attr_accessor :configurations
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@configurations = args[:configurations] if args.key?(:configurations)
end
end
# Response message for listing my customers.
class CustomerListCustomersResponse
include Google::Apis::Core::Hashable
# Customers the current user can act as.
# Corresponds to the JSON property `customers`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Company>]
attr_accessor :customers
# Token to retrieve the next page of results, or empty if there are no
# more results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@customers = args[:customers] if args.key?(:customers)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Response message of customer's liting devices.
class CustomerListDevicesResponse
include Google::Apis::Core::Hashable
# The customer's devices.
# Corresponds to the JSON property `devices`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Device>]
attr_accessor :devices
# A token used to access the next page of results. Omitted if no further
# results are available.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@devices = args[:devices] if args.key?(:devices)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Response message of customer's listing DPCs.
class CustomerListDpcsResponse
include Google::Apis::Core::Hashable
# The list of DPCs available to the customer that support zero-touch
# enrollment.
# Corresponds to the JSON property `dpcs`
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Dpc>]
attr_accessor :dpcs
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dpcs = args[:dpcs] if args.key?(:dpcs)
end
end
# Request message for customer to remove the configuration from device.
class CustomerRemoveConfigurationRequest
include Google::Apis::Core::Hashable
# A `DeviceReference` is an API abstraction that lets you supply a _device_
# argument to a method using one of the following identifier types:
# * A numeric API resource ID.
# * Real-world hardware IDs, such as IMEI number, belonging to the manufactured
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# Corresponds to the JSON property `device`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceReference]
attr_accessor :device
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@device = args[:device] if args.key?(:device)
end
end
# Request message for customer to unclaim a device.
class CustomerUnclaimDeviceRequest
include Google::Apis::Core::Hashable
# A `DeviceReference` is an API abstraction that lets you supply a _device_
# argument to a method using one of the following identifier types:
# * A numeric API resource ID.
# * Real-world hardware IDs, such as IMEI number, belonging to the manufactured
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# Corresponds to the JSON property `device`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceReference]
attr_accessor :device
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@device = args[:device] if args.key?(:device)
end
end
# An Android device registered for zero-touch enrollment.
class Device
include Google::Apis::Core::Hashable
@ -315,6 +591,39 @@ module Google
end
end
# A `DeviceReference` is an API abstraction that lets you supply a _device_
# argument to a method using one of the following identifier types:
# * A numeric API resource ID.
# * Real-world hardware IDs, such as IMEI number, belonging to the manufactured
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
class DeviceReference
include Google::Apis::Core::Hashable
# The ID of the device.
# Corresponds to the JSON property `deviceId`
# @return [Fixnum]
attr_accessor :device_id
# Encapsulates hardware and product IDs to identify a manufactured device. To
# learn more, read [Identifiers](/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@device_id = args[:device_id] if args.key?(:device_id)
@device_identifier = args[:device_identifier] if args.key?(:device_identifier)
end
end
# Long running operation metadata.
class DevicesLongRunningOperationMetadata
include Google::Apis::Core::Hashable
@ -372,6 +681,46 @@ module Google
end
end
# An EMM's DPC ([device policy controller](/android/work/dpc/build-dpc)).
# Zero-touch enrollment installs a DPC (listed in the `Configuration`) on a
# device to maintain the customer's mobile policies. All the DPCs listed by the
# API support zero-touch enrollment and are available in Google Play.
class Dpc
include Google::Apis::Core::Hashable
# Output only. The title of the DPC app in Google Play. For example, _Google
# Apps Device Policy_. Useful in an application's user interface.
# Corresponds to the JSON property `dpcName`
# @return [String]
attr_accessor :dpc_name
# Output only. The API resource name in the format
# `customers/[CUSTOMER_ID]/dpcs/[DPC_ID]`. Assigned by
# the server. To maintain a reference to a DPC across customer accounts,
# persist and match the last path component (`DPC_ID`).
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The DPC's Android application ID that looks like a Java
# package name. Zero-touch enrollment installs the DPC app onto a device
# using this identifier.
# Corresponds to the JSON property `packageName`
# @return [String]
attr_accessor :package_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dpc_name = args[:dpc_name] if args.key?(:dpc_name)
@name = args[:name] if args.key?(:name)
@package_name = args[:package_name] if args.key?(:package_name)
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:

View File

@ -46,12 +46,60 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Configuration
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateCustomerRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerApplyConfigurationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerListConfigurationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerListCustomersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerListDevicesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerListDpcsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerRemoveConfigurationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomerUnclaimDeviceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Device
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -76,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeviceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DevicesLongRunningOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -88,6 +142,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Dpc
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -227,6 +287,22 @@ module Google
end
end
class Configuration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :company_name, as: 'companyName'
property :configuration_id, :numeric_string => true, as: 'configurationId'
property :configuration_name, as: 'configurationName'
property :contact_email, as: 'contactEmail'
property :contact_phone, as: 'contactPhone'
property :custom_message, as: 'customMessage'
property :dpc_extras, as: 'dpcExtras'
property :dpc_resource_path, as: 'dpcResourcePath'
property :is_default, as: 'isDefault'
property :name, as: 'name'
end
end
class CreateCustomerRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -235,6 +311,65 @@ module Google
end
end
class CustomerApplyConfigurationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :configuration, as: 'configuration'
property :device, as: 'device', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference::Representation
end
end
class CustomerListConfigurationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :configurations, as: 'configurations', class: Google::Apis::AndroiddeviceprovisioningV1::Configuration, decorator: Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
end
end
class CustomerListCustomersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class CustomerListDevicesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class CustomerListDpcsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :dpcs, as: 'dpcs', class: Google::Apis::AndroiddeviceprovisioningV1::Dpc, decorator: Google::Apis::AndroiddeviceprovisioningV1::Dpc::Representation
end
end
class CustomerRemoveConfigurationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device, as: 'device', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference::Representation
end
end
class CustomerUnclaimDeviceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device, as: 'device', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceReference::Representation
end
end
class Device
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -275,6 +410,15 @@ module Google
end
end
class DeviceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_id, :numeric_string => true, as: 'deviceId'
property :device_identifier, as: 'deviceIdentifier', class: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier, decorator: Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier::Representation
end
end
class DevicesLongRunningOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -293,6 +437,15 @@ module Google
end
end
class Dpc
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dpc_name, as: 'dpcName'
property :name, as: 'name'
property :package_name, as: 'packageName'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -48,6 +48,418 @@ module Google
@batch_path = 'batch'
end
# List the user's customer accounts.
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
# The next_page_token value returned from a previous List request, if any.
# @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::CustomerListCustomersResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse]
#
# @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_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/customers', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a new configuration. Once created, a customer can apply the
# configuration to devices.
# @param [String] parent
# Required. The customer that manages the configuration. An API resource name
# in the format `customers/[CUSTOMER_ID]`.
# @param [Google::Apis::AndroiddeviceprovisioningV1::Configuration] configuration_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::Configuration] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Configuration]
#
# @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_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.request_object = configuration_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Configuration
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
# Deletes an unused configuration. The API call fails if the customer has
# devices with the configuration applied.
# @param [String] name
# Required. The configuration to delete. An API resource name in the format
# `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. If the
# configuration is applied to any devices, the API call fails.
# @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::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Empty]
#
# @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_customer_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the details of a configuration.
# @param [String] name
# Required. The configuration to get. An API resource name in the format
# `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`.
# @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::Configuration] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Configuration]
#
# @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_customer_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Configuration
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists a customer's configurations.
# @param [String] parent
# Required. The customer that manages the listed configurations. An API
# resource name in the format `customers/[CUSTOMER_ID]`.
# @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::CustomerListConfigurationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse]
#
# @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_customer_configurations(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/configurations', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse
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
# Updates a configuration's field values.
# @param [String] name
# Output only. The API resource name in the format
# `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by
# the server.
# @param [Google::Apis::AndroiddeviceprovisioningV1::Configuration] configuration_object
# @param [String] update_mask
# Required. The field mask applied to the target `Configuration` before
# updating the fields. To learn more about using field masks, read
# [FieldMask](/protocol-buffers/docs/reference/google.protobuf#fieldmask) in
# the Protocol Buffers documentation.
# @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::Configuration] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Configuration]
#
# @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_customer_configuration(name, configuration_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.request_object = configuration_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Configuration
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Applies a Configuration to the device to register the device for zero-touch
# enrollment. After applying a configuration to a device, the device
# automatically provisions itself on first boot, or next factory reset.
# @param [String] parent
# Required. The customer managing the device. An API resource name in the
# format `customers/[CUSTOMER_ID]`.
# @param [Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest] customer_apply_configuration_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::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Empty]
#
# @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 apply_customer_device_configuration(parent, customer_apply_configuration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices:applyConfiguration', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest::Representation
command.request_object = customer_apply_configuration_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty
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
# Gets the details of a device.
# @param [String] name
# Required. The device to get. An API resource name in the format
# `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`.
# @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::Device] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Device]
#
# @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_customer_device(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Device
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists a customer's devices.
# @param [String] parent
# Required. The customer managing the devices. An API resource name in the
# format `customers/[CUSTOMER_ID]`.
# @param [Fixnum] page_size
# The maximum number of devices to show in a page of results. The default
# value returns all the devices in a single page.
# @param [String] page_token
# A token specifying which result page to return.
# @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::CustomerListDevicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse]
#
# @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_customer_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Removes a configuration from device.
# @param [String] parent
# Required. The customer managing the device in the format
# `customers/[CUSTOMER_ID]`.
# @param [Google::Apis::AndroiddeviceprovisioningV1::CustomerRemoveConfigurationRequest] customer_remove_configuration_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::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Empty]
#
# @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_customer_device_configuration(parent, customer_remove_configuration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices:removeConfiguration', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerRemoveConfigurationRequest::Representation
command.request_object = customer_remove_configuration_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty
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
# Unclaims a device from a customer and removes it from zero-touch
# enrollment.
# After removing a device, a customer must contact their reseller to register
# the device into zero-touch enrollment again.
# @param [String] parent
# Required. The customer managing the device. An API resource name in the
# format `customers/[CUSTOMER_ID]`.
# @param [Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest] customer_unclaim_device_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::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::Empty]
#
# @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 unclaim_customer_device(parent, customer_unclaim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/devices:unclaim', options)
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest::Representation
command.request_object = customer_unclaim_device_request_object
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty
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
# Lists the DPCs (device policy controllers) that support zero-touch
# enrollment.
# @param [String] parent
# Required. The customer that can use the DPCs in configurations. An API
# resource name in the format `customers/[CUSTOMER_ID]`.
# @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::CustomerListDpcsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse]
#
# @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_customer_dpcs(parent, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/dpcs', options)
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse::Representation
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse
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
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20171204'
REVISION = '20171211'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -322,6 +322,11 @@ module Google
# @return [String]
attr_accessor :applied_state
# Information about security related device settings on device.
# Corresponds to the JSON property `deviceSettings`
# @return [Google::Apis::AndroidmanagementV1::DeviceSettings]
attr_accessor :device_settings
# Provides user facing message with locale info. The maximum message length is
# 4096 characters.
# Corresponds to the JSON property `disabledReason`
@ -467,6 +472,7 @@ module Google
@applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name)
@applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version)
@applied_state = args[:applied_state] if args.key?(:applied_state)
@device_settings = args[:device_settings] if args.key?(:device_settings)
@disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason)
@displays = args[:displays] if args.key?(:displays)
@enrollment_time = args[:enrollment_time] if args.key?(:enrollment_time)
@ -492,6 +498,63 @@ module Google
end
end
# Information about security related device settings on device.
class DeviceSettings
include Google::Apis::Core::Hashable
# If the ADB is enabled Settings.Global.ADB_ENABLED.
# Corresponds to the JSON property `adbEnabled`
# @return [Boolean]
attr_accessor :adb_enabled
alias_method :adb_enabled?, :adb_enabled
# If the developer mode is enabled Settings.Global.DEVELOPMENT_SETTINGS_ENABLED.
# Corresponds to the JSON property `developmentSettingsEnabled`
# @return [Boolean]
attr_accessor :development_settings_enabled
alias_method :development_settings_enabled?, :development_settings_enabled
# Encryption status from DevicePolicyManager.
# Corresponds to the JSON property `encryptionStatus`
# @return [String]
attr_accessor :encryption_status
# Device secured with PIN/password.
# Corresponds to the JSON property `isDeviceSecure`
# @return [Boolean]
attr_accessor :is_device_secure
alias_method :is_device_secure?, :is_device_secure
# Whether the storage encryption is enabled DevicePolicyManager.
# ENCRYPTION_STATUS_ACTIVE or DevicePolicyManager.
# ENCRYPTION_STATUS_ACTIVE_PER_USER in N+ devices.
# Corresponds to the JSON property `isEncrypted`
# @return [Boolean]
attr_accessor :is_encrypted
alias_method :is_encrypted?, :is_encrypted
# If installing apps from unknown sources is enabled. Settings.Secure.
# INSTALL_NON_MARKET_APPS.
# Corresponds to the JSON property `unknownSourcesEnabled`
# @return [Boolean]
attr_accessor :unknown_sources_enabled
alias_method :unknown_sources_enabled?, :unknown_sources_enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@adb_enabled = args[:adb_enabled] if args.key?(:adb_enabled)
@development_settings_enabled = args[:development_settings_enabled] if args.key?(:development_settings_enabled)
@encryption_status = args[:encryption_status] if args.key?(:encryption_status)
@is_device_secure = args[:is_device_secure] if args.key?(:is_device_secure)
@is_encrypted = args[:is_encrypted] if args.key?(:is_encrypted)
@unknown_sources_enabled = args[:unknown_sources_enabled] if args.key?(:unknown_sources_enabled)
end
end
# Device display information.
class DisplayProp
include Google::Apis::Core::Hashable
@ -2085,6 +2148,16 @@ module Google
# @return [String]
attr_accessor :android_build_time
# The Android Device Policy app version code.
# Corresponds to the JSON property `androidDevicePolicyVersionCode`
# @return [Fixnum]
attr_accessor :android_device_policy_version_code
# The Android Device Policy app version as displayed to the user.
# Corresponds to the JSON property `androidDevicePolicyVersionName`
# @return [String]
attr_accessor :android_device_policy_version_name
# The user visible Android version string, e.g. 6.0.1.
# Corresponds to the JSON property `androidVersion`
# @return [String]
@ -2113,6 +2186,8 @@ module Google
def update!(**args)
@android_build_number = args[:android_build_number] if args.key?(:android_build_number)
@android_build_time = args[:android_build_time] if args.key?(:android_build_time)
@android_device_policy_version_code = args[:android_device_policy_version_code] if args.key?(:android_device_policy_version_code)
@android_device_policy_version_name = args[:android_device_policy_version_name] if args.key?(:android_device_policy_version_name)
@android_version = args[:android_version] if args.key?(:android_version)
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
@device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version)

View File

@ -70,6 +70,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeviceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DisplayProp
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -340,6 +346,8 @@ module Google
property :applied_policy_name, as: 'appliedPolicyName'
property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
property :applied_state, as: 'appliedState'
property :device_settings, as: 'deviceSettings', class: Google::Apis::AndroidmanagementV1::DeviceSettings, decorator: Google::Apis::AndroidmanagementV1::DeviceSettings::Representation
property :disabled_reason, as: 'disabledReason', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
collection :displays, as: 'displays', class: Google::Apis::AndroidmanagementV1::DisplayProp, decorator: Google::Apis::AndroidmanagementV1::DisplayProp::Representation
@ -375,6 +383,18 @@ module Google
end
end
class DeviceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adb_enabled, as: 'adbEnabled'
property :development_settings_enabled, as: 'developmentSettingsEnabled'
property :encryption_status, as: 'encryptionStatus'
property :is_device_secure, as: 'isDeviceSecure'
property :is_encrypted, as: 'isEncrypted'
property :unknown_sources_enabled, as: 'unknownSourcesEnabled'
end
end
class DisplayProp
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -721,6 +741,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :android_build_number, as: 'androidBuildNumber'
property :android_build_time, as: 'androidBuildTime'
property :android_device_policy_version_code, as: 'androidDevicePolicyVersionCode'
property :android_device_policy_version_name, as: 'androidDevicePolicyVersionName'
property :android_version, as: 'androidVersion'
property :bootloader_version, as: 'bootloaderVersion'
property :device_kernel_version, as: 'deviceKernelVersion'

View File

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

View File

@ -764,9 +764,10 @@ module Google
# If a client encounters an unfamiliar or empty type, it should still be able to
# display the entry points. However, it should disallow modifications.
# The possible values are:
# - "eventHangout"
# - "eventNamedHangout"
# - "hangoutsMeet"
# - "eventHangout" for Hangouts for consumers (http://hangouts.google.com)
# - "eventNamedHangout" for Classic Hangouts for GSuite users (http://hangouts.
# google.com)
# - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -993,7 +994,9 @@ module Google
attr_accessor :color_id
# The conference-related information, such as details of a Hangouts Meet
# conference. To create new conference details use the createRequest field.
# conference. To create new conference details use the createRequest field. To
# persist your changes, remember to set the conferenceDataVersion request
# parameter to 1 for all event modification requests.
# Corresponds to the JSON property `conferenceData`
# @return [Google::Apis::CalendarV3::ConferenceData]
attr_accessor :conference_data

View File

@ -1133,7 +1133,8 @@ module Google
# Version number of conference data supported by the API client. Version 0
# assumes no conference data support and ignores conference data in the event's
# body. Version 1 enables support for copying of ConferenceData as well as for
# creating new conferences using the CreateConferenceRequest. The default is 0.
# creating new conferences using the createRequest field of conferenceData. The
# default is 0.
# @param [Boolean] supports_attachments
# Whether API client performing operation supports event attachments. Optional.
# The default is False.
@ -1183,7 +1184,8 @@ module Google
# Version number of conference data supported by the API client. Version 0
# assumes no conference data support and ignores conference data in the event's
# body. Version 1 enables support for copying of ConferenceData as well as for
# creating new conferences using the CreateConferenceRequest. The default is 0.
# creating new conferences using the createRequest field of conferenceData. The
# default is 0.
# @param [Fixnum] max_attendees
# The maximum number of attendees to include in the response. If there are more
# than the specified number of attendees, only the participant is returned.
@ -1520,7 +1522,8 @@ module Google
# Version number of conference data supported by the API client. Version 0
# assumes no conference data support and ignores conference data in the event's
# body. Version 1 enables support for copying of ConferenceData as well as for
# creating new conferences using the CreateConferenceRequest. The default is 0.
# creating new conferences using the createRequest field of conferenceData. The
# default is 0.
# @param [Fixnum] max_attendees
# The maximum number of attendees to include in the response. If there are more
# than the specified number of attendees, only the participant is returned.
@ -1633,7 +1636,8 @@ module Google
# Version number of conference data supported by the API client. Version 0
# assumes no conference data support and ignores conference data in the event's
# body. Version 1 enables support for copying of ConferenceData as well as for
# creating new conferences using the CreateConferenceRequest. The default is 0.
# creating new conferences using the createRequest field of conferenceData. The
# default is 0.
# @param [Fixnum] max_attendees
# The maximum number of attendees to include in the response. If there are more
# than the specified number of attendees, only the participant is returned.

View File

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

View File

@ -308,13 +308,20 @@ module Google
# Returns a signed URL for uploading a function source code.
# For more information about the signed URL usage see:
# https://cloud.google.com/storage/docs/access-control/signed-urls
# https://cloud.google.com/storage/docs/access-control/signed-urls.
# Once the function source code upload is complete, the used signed
# URL should be provided in CreateFunction or UpdateFunction request
# as a reference to the function source code.
# When uploading source code to the generated signed URL, please follow
# these restrictions:
# * Source file type should be a zip file.
# * Source file size should not exceed 100MB limit.
# When making a HTTP PUT request, these two headers need to be specified:
# * `content-type: application/zip`
# * `x-google-content-length-range: 0,104857600`
# @param [String] parent
# The project and location in which the Google Cloud Storage signed URL
# should be generated, specified in the format `projects/*/locations/*
# should be generated, specified in the format `projects/*/locations/*`.
# @param [Google::Apis::CloudfunctionsV1::GenerateUploadUrlRequest] generate_upload_url_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

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

View File

@ -220,10 +220,10 @@ module Google
# `event_type` names contain the service that is sending an event and the
# kind of event that was fired. Must be of the form
# `providers/*/eventTypes/*` e.g. Directly handle a Message published to
# Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`
# Handle an object changing in Google Cloud Storage
# Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`.
# Handle an object changing in Google Cloud Storage:
# `providers/cloud.storage/eventTypes/object.change`
# Handle a write to the Firebase Realtime Database
# Handle a write to the Firebase Realtime Database:
# `providers/google.firebase.database/eventTypes/ref.write`
# Corresponds to the JSON property `eventType`
# @return [String]

View File

@ -312,9 +312,16 @@ module Google
# Once the function source code upload is complete, the used signed
# URL should be provided in CreateFunction or UpdateFunction request
# as a reference to the function source code.
# When uploading source code to the generated signed URL, please follow
# these restrictions:
# * Source file type should be a zip file.
# * Source file size should not exceed 100MB limit.
# When making a HTTP PUT request, these two headers need to be specified:
# * `content-type: application/zip`
# * `x-google-content-length-range: 0,104857600`
# @param [String] parent
# The project and location in which the Google Cloud Storage signed URL
# should be generated, specified in the format `projects/*/locations/*
# should be generated, specified in the format `projects/*/locations/*`.
# @param [Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlRequest] generate_upload_url_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20171127'
REVISION = '20171207'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -49,7 +49,8 @@ module Google
end
end
# An Accelerator Type resource.
# An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (==
# resource_for v1.acceleratorTypes ==)
class AcceleratorType
include Google::Apis::Core::Hashable
@ -491,7 +492,9 @@ module Google
end
end
# A reserved address resource.
# A reserved address resource. (== resource_for beta.addresses ==) (==
# resource_for v1.addresses ==) (== resource_for beta.globalAddresses ==) (==
# resource_for v1.globalAddresses ==)
class Address
include Google::Apis::Core::Hashable
@ -564,9 +567,9 @@ module Google
# @return [String]
attr_accessor :status
# For external addresses, this field should not be used.
# The URL of the subnetwork in which to reserve the address. If an IP address is
# specified, it must be within the subnetwork's IP range.
# specified, it must be within the subnetwork's IP range. This field can only be
# used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
@ -1147,7 +1150,9 @@ module Google
# Represents an Autoscaler resource. Autoscalers allow you to automatically
# scale virtual machine instances in managed instance groups according to an
# autoscaling policy that you define. For more information, read Autoscaling
# Groups of Instances.
# Groups of Instances. (== resource_for beta.autoscalers ==) (== resource_for v1.
# autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for
# v1.regionAutoscalers ==)
class Autoscaler
include Google::Apis::Core::Hashable
@ -2029,7 +2034,8 @@ module Google
end
# A BackendService resource. This resource defines a group of backend virtual
# machines and their serving capacity.
# machines and their serving capacity. (== resource_for v1.backendService ==) (==
# resource_for beta.backendService ==)
class BackendService
include Google::Apis::Core::Hashable
@ -2708,7 +2714,8 @@ module Google
# Committed use discounts are subject to Google Cloud Platform's Service
# Specific Terms. By purchasing a committed use discount, you agree to these
# terms. Committed use discounts will not renew, so you must purchase a new
# commitment to continue receiving discounts.
# commitment to continue receiving discounts. (== resource_for beta.commitments =
# =) (== resource_for v1.commitments ==)
class Commitment
include Google::Apis::Core::Hashable
@ -3266,7 +3273,7 @@ module Google
end
end
# A Disk resource.
# A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==)
class Disk
include Google::Apis::Core::Hashable
@ -3740,7 +3747,8 @@ module Google
end
end
# A DiskType resource.
# A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.
# diskTypes ==)
class DiskType
include Google::Apis::Core::Hashable
@ -4604,7 +4612,11 @@ module Google
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
# target virtual machines to forward a packet to if it matches the given [
# IPAddress, IPProtocol, ports] tuple.
# IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
# (== resource_for v1.forwardingRules ==) (== resource_for beta.
# globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
# resource_for beta.regionForwardingRules ==) (== resource_for v1.
# regionForwardingRules ==)
class ForwardingRule
include Google::Apis::Core::Hashable
@ -5157,9 +5169,8 @@ module Google
class GuestOsFeature
include Google::Apis::Core::Hashable
# The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is
# supported. For newer Windows images, the server might also populate this
# property with the value WINDOWS to indicate that this is a Windows image.
# The ID of a supported feature. Read Enabling guest operating system features
# to see a list of available options.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -6048,7 +6059,8 @@ module Google
end
end
# An Image resource.
# An Image resource. (== resource_for beta.images ==) (== resource_for v1.images
# ==)
class Image
include Google::Apis::Core::Hashable
@ -6086,14 +6098,9 @@ module Google
# @return [String]
attr_accessor :family
# A list of features to enable on the guest OS. Applicable for bootable images
# only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE,
# which allows each virtual CPU to have its own queue. For Windows images, you
# can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.
# 1621 or higher. Linux images with kernel versions 3.17 and higher will support
# VIRTIO_SCSI_MULTIQUEUE.
# For newer Windows images, the server might also populate this property with
# the value WINDOWS to indicate that this is a Windows image.
# A list of features to enable on the guest operating system. Applicable only
# for bootable images. Read Enabling guest operating system features to see a
# list of available options.
# Corresponds to the JSON property `guestOsFeatures`
# @return [Array<Google::Apis::ComputeV1::GuestOsFeature>]
attr_accessor :guest_os_features
@ -6399,7 +6406,8 @@ module Google
end
end
# An Instance resource.
# An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.
# instances ==)
class Instance
include Google::Apis::Core::Hashable
@ -6717,7 +6725,9 @@ module Google
end
end
#
# InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.
# instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (==
# resource_for v1.regionInstanceGroups ==)
class InstanceGroup
include Google::Apis::Core::Hashable
@ -7058,7 +7068,10 @@ module Google
end
end
# An Instance Group Manager resource.
# An Instance Group Manager resource. (== resource_for beta.
# instanceGroupManagers ==) (== resource_for v1.instanceGroupManagers ==) (==
# resource_for beta.regionInstanceGroupManagers ==) (== resource_for v1.
# regionInstanceGroupManagers ==)
class InstanceGroupManager
include Google::Apis::Core::Hashable
@ -8300,7 +8313,8 @@ module Google
end
end
# An Instance Template resource.
# An Instance Template resource. (== resource_for beta.instanceTemplates ==) (==
# resource_for v1.instanceTemplates ==)
class InstanceTemplate
include Google::Apis::Core::Hashable
@ -8742,7 +8756,8 @@ module Google
# Represents an Interconnects resource. The Interconnects resource is a
# dedicated connection between Google's network and your on-premises network.
# For more information, see the Dedicated overview page.
# For more information, see the Dedicated overview page. (== resource_for v1.
# interconnects ==) (== resource_for beta.interconnects ==)
class Interconnect
include Google::Apis::Core::Hashable
@ -8910,7 +8925,8 @@ module Google
end
# Represents an InterconnectAttachment (VLAN attachment) resource. For more
# information, see Creating VLAN Attachments.
# information, see Creating VLAN Attachments. (== resource_for beta.
# interconnectAttachments ==) (== resource_for v1.interconnectAttachments ==)
class InterconnectAttachment
include Google::Apis::Core::Hashable
@ -9890,7 +9906,8 @@ module Google
end
end
# A Machine Type resource.
# A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for
# beta.machineTypes ==)
class MachineType
include Google::Apis::Core::Hashable
@ -10577,7 +10594,8 @@ module Google
end
# Represents a Network resource. Read Networks and Firewalls for more
# information.
# information. (== resource_for v1.networks ==) (== resource_for beta.networks ==
# )
class Network
include Google::Apis::Core::Hashable
@ -11014,7 +11032,11 @@ module Google
end
end
# An Operation resource, used to manage asynchronous API requests.
# An Operation resource, used to manage asynchronous API requests. (==
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
# (== resource_for v1.regionOperations ==) (== resource_for beta.
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
# beta.zoneOperations ==)
class Operation
include Google::Apis::Core::Hashable
@ -11709,7 +11731,8 @@ module Google
end
# A Project resource. Projects can only be created in the Google Cloud Platform
# Console. Unless marked otherwise, values can only be modified in the console.
# Console. Unless marked otherwise, values can only be modified in the console. (
# == resource_for v1.projects ==) (== resource_for beta.projects ==)
class Project
include Google::Apis::Core::Hashable
@ -11926,7 +11949,8 @@ module Google
end
end
# Region resource.
# Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions
# ==)
class Region
include Google::Apis::Core::Hashable
@ -12838,7 +12862,7 @@ module Google
# either to another instance destination, an instance gateway, or a Google
# Compute Engine-operated gateway.
# Packets that do not match any route in the sending instance's routing table
# are dropped.
# are dropped. (== resource_for beta.routes ==) (== resource_for v1.routes ==)
class Route
include Google::Apis::Core::Hashable
@ -14008,7 +14032,8 @@ module Google
end
end
# A persistent disk snapshot resource.
# A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (==
# resource_for v1.snapshots ==)
class Snapshot
include Google::Apis::Core::Hashable
@ -14266,7 +14291,8 @@ module Google
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to the load balancer to serve secure connections from
# the user.
# the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
# sslCertificates ==)
class SslCertificate
include Google::Apis::Core::Hashable
@ -14455,7 +14481,8 @@ module Google
end
end
# A Subnetwork resource.
# A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for
# v1.subnetworks ==)
class Subnetwork
include Google::Apis::Core::Hashable
@ -15043,7 +15070,9 @@ module Google
end
end
# A TargetHttpProxy resource. This resource defines an HTTP proxy.
# A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
# =)
class TargetHttpProxy
include Google::Apis::Core::Hashable
@ -15245,7 +15274,9 @@ module Google
end
end
# A TargetHttpsProxy resource. This resource defines an HTTPS proxy.
# A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
# targetHttpsProxies ==)
class TargetHttpsProxy
include Google::Apis::Core::Hashable
@ -15440,7 +15471,8 @@ module Google
end
# A TargetInstance resource. This resource defines an endpoint instance that
# terminates traffic of certain protocols.
# terminates traffic of certain protocols. (== resource_for beta.targetInstances
# ==) (== resource_for v1.targetInstances ==)
class TargetInstance
include Google::Apis::Core::Hashable
@ -15849,7 +15881,8 @@ module Google
end
# A TargetPool resource. This resource defines a pool of instances, an
# associated HttpHealthCheck resource, and the fallback target pool.
# associated HttpHealthCheck resource, and the fallback target pool. (==
# resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
class TargetPool
include Google::Apis::Core::Hashable
@ -16488,7 +16521,8 @@ module Google
end
end
# A TargetSslProxy resource. This resource defines an SSL proxy.
# A TargetSslProxy resource. This resource defines an SSL proxy. (==
# resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
class TargetSslProxy
include Google::Apis::Core::Hashable
@ -16721,7 +16755,8 @@ module Google
end
end
# A TargetTcpProxy resource. This resource defines a TCP proxy.
# A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
# beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
class TargetTcpProxy
include Google::Apis::Core::Hashable
@ -16908,7 +16943,8 @@ module Google
end
end
# Represents a Target VPN gateway resource.
# Represents a Target VPN gateway resource. (== resource_for beta.
# targetVpnGateways ==) (== resource_for v1.targetVpnGateways ==)
class TargetVpnGateway
include Google::Apis::Core::Hashable
@ -17744,7 +17780,8 @@ module Google
end
end
#
# VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
# vpnTunnels ==)
class VpnTunnel
include Google::Apis::Core::Hashable
@ -18342,7 +18379,7 @@ module Google
end
end
# A Zone resource.
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
class Zone
include Google::Apis::Core::Hashable

View File

@ -2313,7 +2313,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Resizes the specified persistent disk.
# Resizes the specified persistent disk. You can only increase the size of the
# disk.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -9273,7 +9274,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Patches the specified network with the data included in the request.
# Patches the specified network with the data included in the request. Only the
# following fields can be modified: routingConfig.routingMode.
# @param [String] project
# Project ID for this request.
# @param [String] network

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/
module SheetsV4
VERSION = 'V4'
REVISION = '20171012'
REVISION = '20171215'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1049,6 +1049,11 @@ module Google
class BasicChartSeries
include Google::Apis::Core::Hashable
# Properties that describe the style of a line.
# Corresponds to the JSON property `lineStyle`
# @return [Google::Apis::SheetsV4::LineStyle]
attr_accessor :line_style
# The data included in a domain or series.
# Corresponds to the JSON property `series`
# @return [Google::Apis::SheetsV4::ChartData]
@ -1081,6 +1086,7 @@ module Google
# Update properties of this object
def update!(**args)
@line_style = args[:line_style] if args.key?(:line_style)
@series = args[:series] if args.key?(:series)
@target_axis = args[:target_axis] if args.key?(:target_axis)
@type = args[:type] if args.key?(:type)
@ -2767,6 +2773,11 @@ module Google
# @return [Google::Apis::SheetsV4::TextPosition]
attr_accessor :title_text_position
# A waterfall chart.
# Corresponds to the JSON property `waterfallChart`
# @return [Google::Apis::SheetsV4::WaterfallChartSpec]
attr_accessor :waterfall_chart
def initialize(**args)
update!(**args)
end
@ -2790,6 +2801,7 @@ module Google
@title = args[:title] if args.key?(:title)
@title_text_format = args[:title_text_format] if args.key?(:title_text_format)
@title_text_position = args[:title_text_position] if args.key?(:title_text_position)
@waterfall_chart = args[:waterfall_chart] if args.key?(:waterfall_chart)
end
end
@ -5149,6 +5161,31 @@ module Google
end
end
# Properties that describe the style of a line.
class LineStyle
include Google::Apis::Core::Hashable
# The dash type of the line.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# The thickness of the line, in px.
# Corresponds to the JSON property `width`
# @return [Fixnum]
attr_accessor :width
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
@width = args[:width] if args.key?(:width)
end
end
# A developer metadata entry and the data filters specified in the original
# request that matched it.
class MatchedDeveloperMetadata
@ -8398,6 +8435,252 @@ module Google
@values = args[:values] if args.key?(:values)
end
end
# Styles for a waterfall chart column.
class WaterfallChartColumnStyle
include Google::Apis::Core::Hashable
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
# method in iOS; and, with just a little work, it can be easily formatted into
# a CSS "rgba()" string in JavaScript, as well. Here are some examples:
# Example (Java):
# import com.google.type.Color;
# // ...
# public static java.awt.Color fromProto(Color protocolor) `
# float alpha = protocolor.hasAlpha()
# ? protocolor.getAlpha().getValue()
# : 1.0;
# return new java.awt.Color(
# protocolor.getRed(),
# protocolor.getGreen(),
# protocolor.getBlue(),
# alpha);
# `
# public static Color toProto(java.awt.Color color) `
# float red = (float) color.getRed();
# float green = (float) color.getGreen();
# float blue = (float) color.getBlue();
# float denominator = 255.0;
# Color.Builder resultBuilder =
# Color
# .newBuilder()
# .setRed(red / denominator)
# .setGreen(green / denominator)
# .setBlue(blue / denominator);
# int alpha = color.getAlpha();
# if (alpha != 255) `
# result.setAlpha(
# FloatValue
# .newBuilder()
# .setValue(((float) alpha) / denominator)
# .build());
# `
# return resultBuilder.build();
# `
# // ...
# Example (iOS / Obj-C):
# // ...
# static UIColor* fromProto(Color* protocolor) `
# float red = [protocolor red];
# float green = [protocolor green];
# float blue = [protocolor blue];
# FloatValue* alpha_wrapper = [protocolor alpha];
# float alpha = 1.0;
# if (alpha_wrapper != nil) `
# alpha = [alpha_wrapper value];
# `
# return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
# `
# static Color* toProto(UIColor* color) `
# CGFloat red, green, blue, alpha;
# if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
# return nil;
# `
# Color* result = [Color alloc] init];
# [result setRed:red];
# [result setGreen:green];
# [result setBlue:blue];
# if (alpha <= 0.9999) `
# [result setAlpha:floatWrapperWithValue(alpha)];
# `
# [result autorelease];
# return result;
# `
# // ...
# Example (JavaScript):
# // ...
# var protoToCssColor = function(rgb_color) `
# var redFrac = rgb_color.red || 0.0;
# var greenFrac = rgb_color.green || 0.0;
# var blueFrac = rgb_color.blue || 0.0;
# var red = Math.floor(redFrac * 255);
# var green = Math.floor(greenFrac * 255);
# var blue = Math.floor(blueFrac * 255);
# if (!('alpha' in rgb_color)) `
# return rgbToCssColor_(red, green, blue);
# `
# var alphaFrac = rgb_color.alpha.value || 0.0;
# var rgbParams = [red, green, blue].join(',');
# return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
# `;
# var rgbToCssColor_ = function(red, green, blue) `
# var rgbNumber = new Number((red << 16) | (green << 8) | blue);
# var hexString = rgbNumber.toString(16);
# var missingZeros = 6 - hexString.length;
# var resultBuilder = ['#'];
# for (var i = 0; i < missingZeros; i++) `
# resultBuilder.push('0');
# `
# resultBuilder.push(hexString);
# return resultBuilder.join('');
# `;
# // ...
# Corresponds to the JSON property `color`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :color
# The label of the column's legend.
# Corresponds to the JSON property `label`
# @return [String]
attr_accessor :label
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@color = args[:color] if args.key?(:color)
@label = args[:label] if args.key?(:label)
end
end
# The domain of a waterfall chart.
class WaterfallChartDomain
include Google::Apis::Core::Hashable
# The data included in a domain or series.
# Corresponds to the JSON property `data`
# @return [Google::Apis::SheetsV4::ChartData]
attr_accessor :data
# True to reverse the order of the domain values (horizontal axis).
# Corresponds to the JSON property `reversed`
# @return [Boolean]
attr_accessor :reversed
alias_method :reversed?, :reversed
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@data = args[:data] if args.key?(:data)
@reversed = args[:reversed] if args.key?(:reversed)
end
end
# A single series of data for a waterfall chart.
class WaterfallChartSeries
include Google::Apis::Core::Hashable
# The data included in a domain or series.
# Corresponds to the JSON property `data`
# @return [Google::Apis::SheetsV4::ChartData]
attr_accessor :data
# True to hide the subtotal column from the end of the series. By default,
# a subtotal column will appear at the end of each series. Setting this
# field to true will hide that subtotal column for this series.
# Corresponds to the JSON property `hideTrailingSubtotal`
# @return [Boolean]
attr_accessor :hide_trailing_subtotal
alias_method :hide_trailing_subtotal?, :hide_trailing_subtotal
# Styles for a waterfall chart column.
# Corresponds to the JSON property `negativeColumnsStyle`
# @return [Google::Apis::SheetsV4::WaterfallChartColumnStyle]
attr_accessor :negative_columns_style
# Styles for a waterfall chart column.
# Corresponds to the JSON property `positiveColumnsStyle`
# @return [Google::Apis::SheetsV4::WaterfallChartColumnStyle]
attr_accessor :positive_columns_style
# Styles for a waterfall chart column.
# Corresponds to the JSON property `subtotalColumnsStyle`
# @return [Google::Apis::SheetsV4::WaterfallChartColumnStyle]
attr_accessor :subtotal_columns_style
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@data = args[:data] if args.key?(:data)
@hide_trailing_subtotal = args[:hide_trailing_subtotal] if args.key?(:hide_trailing_subtotal)
@negative_columns_style = args[:negative_columns_style] if args.key?(:negative_columns_style)
@positive_columns_style = args[:positive_columns_style] if args.key?(:positive_columns_style)
@subtotal_columns_style = args[:subtotal_columns_style] if args.key?(:subtotal_columns_style)
end
end
# A waterfall chart.
class WaterfallChartSpec
include Google::Apis::Core::Hashable
# Properties that describe the style of a line.
# Corresponds to the JSON property `connectorLineStyle`
# @return [Google::Apis::SheetsV4::LineStyle]
attr_accessor :connector_line_style
# The domain of a waterfall chart.
# Corresponds to the JSON property `domain`
# @return [Google::Apis::SheetsV4::WaterfallChartDomain]
attr_accessor :domain
# True to interpret the first value as a total.
# Corresponds to the JSON property `firstValueIsTotal`
# @return [Boolean]
attr_accessor :first_value_is_total
alias_method :first_value_is_total?, :first_value_is_total
# True to hide connector lines between columns.
# Corresponds to the JSON property `hideConnectorLines`
# @return [Boolean]
attr_accessor :hide_connector_lines
alias_method :hide_connector_lines?, :hide_connector_lines
# The data this waterfall chart is visualizing.
# Corresponds to the JSON property `series`
# @return [Array<Google::Apis::SheetsV4::WaterfallChartSeries>]
attr_accessor :series
# The stacked type.
# Corresponds to the JSON property `stackedType`
# @return [String]
attr_accessor :stacked_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@connector_line_style = args[:connector_line_style] if args.key?(:connector_line_style)
@domain = args[:domain] if args.key?(:domain)
@first_value_is_total = args[:first_value_is_total] if args.key?(:first_value_is_total)
@hide_connector_lines = args[:hide_connector_lines] if args.key?(:hide_connector_lines)
@series = args[:series] if args.key?(:series)
@stacked_type = args[:stacked_type] if args.key?(:stacked_type)
end
end
end
end
end

View File

@ -670,6 +670,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class LineStyle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MatchedDeveloperMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1024,6 +1030,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class WaterfallChartColumnStyle
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WaterfallChartDomain
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WaterfallChartSeries
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WaterfallChartSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AddBandingRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1228,6 +1258,8 @@ module Google
class BasicChartSeries
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :line_style, as: 'lineStyle', class: Google::Apis::SheetsV4::LineStyle, decorator: Google::Apis::SheetsV4::LineStyle::Representation
property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
property :target_axis, as: 'targetAxis'
@ -1600,6 +1632,8 @@ module Google
property :title_text_position, as: 'titleTextPosition', class: Google::Apis::SheetsV4::TextPosition, decorator: Google::Apis::SheetsV4::TextPosition::Representation
property :waterfall_chart, as: 'waterfallChart', class: Google::Apis::SheetsV4::WaterfallChartSpec, decorator: Google::Apis::SheetsV4::WaterfallChartSpec::Representation
end
end
@ -2143,6 +2177,14 @@ module Google
end
end
class LineStyle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
property :width, as: 'width'
end
end
class MatchedDeveloperMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -2916,6 +2958,54 @@ module Google
end
end
class WaterfallChartColumnStyle
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
property :label, as: 'label'
end
end
class WaterfallChartDomain
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
property :reversed, as: 'reversed'
end
end
class WaterfallChartSeries
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
property :hide_trailing_subtotal, as: 'hideTrailingSubtotal'
property :negative_columns_style, as: 'negativeColumnsStyle', class: Google::Apis::SheetsV4::WaterfallChartColumnStyle, decorator: Google::Apis::SheetsV4::WaterfallChartColumnStyle::Representation
property :positive_columns_style, as: 'positiveColumnsStyle', class: Google::Apis::SheetsV4::WaterfallChartColumnStyle, decorator: Google::Apis::SheetsV4::WaterfallChartColumnStyle::Representation
property :subtotal_columns_style, as: 'subtotalColumnsStyle', class: Google::Apis::SheetsV4::WaterfallChartColumnStyle, decorator: Google::Apis::SheetsV4::WaterfallChartColumnStyle::Representation
end
end
class WaterfallChartSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :connector_line_style, as: 'connectorLineStyle', class: Google::Apis::SheetsV4::LineStyle, decorator: Google::Apis::SheetsV4::LineStyle::Representation
property :domain, as: 'domain', class: Google::Apis::SheetsV4::WaterfallChartDomain, decorator: Google::Apis::SheetsV4::WaterfallChartDomain::Representation
property :first_value_is_total, as: 'firstValueIsTotal'
property :hide_connector_lines, as: 'hideConnectorLines'
collection :series, as: 'series', class: Google::Apis::SheetsV4::WaterfallChartSeries, decorator: Google::Apis::SheetsV4::WaterfallChartSeries::Representation
property :stacked_type, as: 'stackedType'
end
end
end
end
end