Autogenerated update (2019-01-11)
Update: - compute_alpha - compute_beta - compute_v1 - container_v1 - dialogflow_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - firestore_v1 - firestore_v1beta1 - fitness_v1 - jobs_v3p1beta1 - serviceconsumermanagement_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - sheets_v4 - slides_v1 - youtube_partner_v1
This commit is contained in:
1 parent
5c95ba4c18
commit
dca115029f
58 files changed
+2940
-140
No files matched your search
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20181130'
|
||||
REVISION = '20181217'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -622,6 +622,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CorsPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomerEncryptionKey
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -808,6 +814,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Duration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExchangedPeeringRoute
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1090,6 +1102,42 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpFaultAbort
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpFaultDelay
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpFaultInjection
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpHeaderAction
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpHeaderMatch
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpHeaderOption
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpHealthCheck
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1114,6 +1162,42 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpQueryParameterMatch
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpRedirectAction
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpRetryPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpRouteAction
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpRouteRule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpRouteRuleMatch
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpsHealthCheck
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1642,6 +1726,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Int64RangeMatch
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Interconnect
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2080,6 +2170,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MetadataFilter
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MetadataFilterLabelMatch
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NamedPort
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2362,6 +2464,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupsSetAutoscalingPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupsSetNodeTemplateRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2794,6 +2902,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersCreateInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersDeleteInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2920,6 +3034,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RequestMirrorPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourceCommitment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -4192,6 +4312,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UrlRewrite
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UsableSubnetwork
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -4396,6 +4522,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class WeightedBackendService
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class XpnHostList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -4476,6 +4608,7 @@ module Google
|
||||
property :maximum_cards_per_instance, as: 'maximumCardsPerInstance'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
@@ -4606,6 +4739,7 @@ module Google
|
||||
property :purpose, as: 'purpose'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :status, as: 'status'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
collection :users, as: 'users'
|
||||
@@ -4722,6 +4856,7 @@ module Google
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :specific_allocation, as: 'specificAllocation', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocation, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocation::Representation
|
||||
|
||||
property :specific_allocation_required, as: 'specificAllocationRequired'
|
||||
@@ -4949,6 +5084,7 @@ module Google
|
||||
property :recommended_size, as: 'recommendedSize'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :status, as: 'status'
|
||||
collection :status_details, as: 'statusDetails', class: Google::Apis::ComputeAlpha::AutoscalerStatusDetails, decorator: Google::Apis::ComputeAlpha::AutoscalerStatusDetails::Representation
|
||||
|
||||
@@ -5149,6 +5285,7 @@ module Google
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -5228,6 +5365,7 @@ module Google
|
||||
property :region, as: 'region'
|
||||
property :security_policy, as: 'securityPolicy'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :session_affinity, as: 'sessionAffinity'
|
||||
property :timeout_sec, as: 'timeoutSec'
|
||||
end
|
||||
@@ -5452,6 +5590,7 @@ module Google
|
||||
collection :resources, as: 'resources', class: Google::Apis::ComputeAlpha::ResourceCommitment, decorator: Google::Apis::ComputeAlpha::ResourceCommitment::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :start_timestamp, as: 'startTimestamp'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
@@ -5570,10 +5709,25 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class CorsPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :allow_credentials, as: 'allowCredentials'
|
||||
collection :allow_headers, as: 'allowHeaders'
|
||||
collection :allow_methods, as: 'allowMethods'
|
||||
collection :allow_origin_regexes, as: 'allowOriginRegexes'
|
||||
collection :allow_origins, as: 'allowOrigins'
|
||||
property :disabled, as: 'disabled'
|
||||
collection :expose_headers, as: 'exposeHeaders'
|
||||
property :max_age, as: 'maxAge'
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerEncryptionKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kms_key_name, as: 'kmsKeyName'
|
||||
property :kms_key_service_account, as: 'kmsKeyServiceAccount'
|
||||
property :raw_key, as: 'rawKey'
|
||||
property :rsa_encrypted_key, as: 'rsaEncryptedKey'
|
||||
property :sha256, as: 'sha256'
|
||||
@@ -5736,6 +5890,7 @@ module Google
|
||||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :valid_disk_size, as: 'validDiskSize'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
@@ -5904,6 +6059,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Duration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :nanos, as: 'nanos'
|
||||
property :seconds, :numeric_string => true, as: 'seconds'
|
||||
end
|
||||
end
|
||||
|
||||
class ExchangedPeeringRoute
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -5978,6 +6141,7 @@ module Google
|
||||
property :network, as: 'network'
|
||||
property :priority, as: 'priority'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
collection :source_ranges, as: 'sourceRanges'
|
||||
collection :source_service_accounts, as: 'sourceServiceAccounts'
|
||||
collection :source_tags, as: 'sourceTags'
|
||||
@@ -6074,6 +6238,7 @@ module Google
|
||||
collection :ports, as: 'ports'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :service_label, as: 'serviceLabel'
|
||||
property :service_name, as: 'serviceName'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
@@ -6437,6 +6602,69 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class HttpFaultAbort
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :http_status, as: 'httpStatus'
|
||||
property :percentage, as: 'percentage'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpFaultDelay
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fixed_delay, as: 'fixedDelay', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
||||
|
||||
property :percentage, as: 'percentage'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpFaultInjection
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :abort, as: 'abort', class: Google::Apis::ComputeAlpha::HttpFaultAbort, decorator: Google::Apis::ComputeAlpha::HttpFaultAbort::Representation
|
||||
|
||||
property :delay, as: 'delay', class: Google::Apis::ComputeAlpha::HttpFaultDelay, decorator: Google::Apis::ComputeAlpha::HttpFaultDelay::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class HttpHeaderAction
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :request_headers_to_add, as: 'requestHeadersToAdd', class: Google::Apis::ComputeAlpha::HttpHeaderOption, decorator: Google::Apis::ComputeAlpha::HttpHeaderOption::Representation
|
||||
|
||||
collection :request_headers_to_remove, as: 'requestHeadersToRemove'
|
||||
collection :response_headers_to_add, as: 'responseHeadersToAdd', class: Google::Apis::ComputeAlpha::HttpHeaderOption, decorator: Google::Apis::ComputeAlpha::HttpHeaderOption::Representation
|
||||
|
||||
collection :response_headers_to_remove, as: 'responseHeadersToRemove'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpHeaderMatch
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :exact_match, as: 'exactMatch'
|
||||
property :header_name, as: 'headerName'
|
||||
property :invert_match, as: 'invertMatch'
|
||||
property :prefix_match, as: 'prefixMatch'
|
||||
property :present_match, as: 'presentMatch'
|
||||
property :range_match, as: 'rangeMatch', class: Google::Apis::ComputeAlpha::Int64RangeMatch, decorator: Google::Apis::ComputeAlpha::Int64RangeMatch::Representation
|
||||
|
||||
property :regex_match, as: 'regexMatch'
|
||||
property :suffix_match, as: 'suffixMatch'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpHeaderOption
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header_name, as: 'headerName'
|
||||
property :header_value, as: 'headerValue'
|
||||
property :replace, as: 'replace'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpHealthCheck
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6488,6 +6716,88 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class HttpQueryParameterMatch
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :exact_match, as: 'exactMatch'
|
||||
property :name, as: 'name'
|
||||
property :present_match, as: 'presentMatch'
|
||||
property :regex_match, as: 'regexMatch'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpRedirectAction
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :host_redirect, as: 'hostRedirect'
|
||||
property :https_redirect, as: 'httpsRedirect'
|
||||
property :path_redirect, as: 'pathRedirect'
|
||||
property :prefix_redirect, as: 'prefixRedirect'
|
||||
property :redirect_response_code, as: 'redirectResponseCode'
|
||||
property :strip_query, as: 'stripQuery'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpRetryPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :num_retries, as: 'numRetries'
|
||||
property :per_try_timeout, as: 'perTryTimeout', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
||||
|
||||
collection :retry_conditions, as: 'retryConditions'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpRouteAction
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cors_policy, as: 'corsPolicy', class: Google::Apis::ComputeAlpha::CorsPolicy, decorator: Google::Apis::ComputeAlpha::CorsPolicy::Representation
|
||||
|
||||
property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::ComputeAlpha::HttpFaultInjection, decorator: Google::Apis::ComputeAlpha::HttpFaultInjection::Representation
|
||||
|
||||
property :request_mirror_policy, as: 'requestMirrorPolicy', class: Google::Apis::ComputeAlpha::RequestMirrorPolicy, decorator: Google::Apis::ComputeAlpha::RequestMirrorPolicy::Representation
|
||||
|
||||
property :retry_policy, as: 'retryPolicy', class: Google::Apis::ComputeAlpha::HttpRetryPolicy, decorator: Google::Apis::ComputeAlpha::HttpRetryPolicy::Representation
|
||||
|
||||
property :timeout, as: 'timeout', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
||||
|
||||
property :url_rewrite, as: 'urlRewrite', class: Google::Apis::ComputeAlpha::UrlRewrite, decorator: Google::Apis::ComputeAlpha::UrlRewrite::Representation
|
||||
|
||||
collection :weighted_backend_services, as: 'weightedBackendServices', class: Google::Apis::ComputeAlpha::WeightedBackendService, decorator: Google::Apis::ComputeAlpha::WeightedBackendService::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class HttpRouteRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
|
||||
|
||||
collection :match_rules, as: 'matchRules', class: Google::Apis::ComputeAlpha::HttpRouteRuleMatch, decorator: Google::Apis::ComputeAlpha::HttpRouteRuleMatch::Representation
|
||||
|
||||
property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
||||
|
||||
property :url_redirect, as: 'urlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class HttpRouteRuleMatch
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :full_path_match, as: 'fullPathMatch'
|
||||
collection :header_matches, as: 'headerMatches', class: Google::Apis::ComputeAlpha::HttpHeaderMatch, decorator: Google::Apis::ComputeAlpha::HttpHeaderMatch::Representation
|
||||
|
||||
property :ignore_case, as: 'ignoreCase'
|
||||
collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeAlpha::MetadataFilter, decorator: Google::Apis::ComputeAlpha::MetadataFilter::Representation
|
||||
|
||||
property :prefix_match, as: 'prefixMatch'
|
||||
collection :query_parameter_matches, as: 'queryParameterMatches', class: Google::Apis::ComputeAlpha::HttpQueryParameterMatch, decorator: Google::Apis::ComputeAlpha::HttpQueryParameterMatch::Representation
|
||||
|
||||
property :regex_match, as: 'regexMatch'
|
||||
end
|
||||
end
|
||||
|
||||
class HttpsHealthCheck
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6563,6 +6873,7 @@ module Google
|
||||
property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeAlpha::Image::RawDisk, decorator: Google::Apis::ComputeAlpha::Image::RawDisk::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :source_disk, as: 'sourceDisk'
|
||||
property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
||||
|
||||
@@ -6577,6 +6888,7 @@ module Google
|
||||
property :source_snapshot_id, as: 'sourceSnapshotId'
|
||||
property :source_type, as: 'sourceType'
|
||||
property :status, as: 'status'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
|
||||
class RawDisk
|
||||
@@ -6656,6 +6968,7 @@ module Google
|
||||
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
|
||||
|
||||
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
|
||||
@@ -6718,6 +7031,7 @@ module Google
|
||||
property :network, as: 'network'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :size, as: 'size'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
property :zone, as: 'zone'
|
||||
@@ -6813,6 +7127,7 @@ module Google
|
||||
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :service_account, as: 'serviceAccount'
|
||||
property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeAlpha::StatefulPolicy, decorator: Google::Apis::ComputeAlpha::StatefulPolicy::Representation
|
||||
|
||||
@@ -7478,6 +7793,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Int64RangeMatch
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :range_end, :numeric_string => true, as: 'rangeEnd'
|
||||
property :range_start, :numeric_string => true, as: 'rangeStart'
|
||||
end
|
||||
end
|
||||
|
||||
class Interconnect
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -8219,6 +8542,7 @@ module Google
|
||||
class ManagedInstanceInstanceHealth
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :detailed_health_state, as: 'detailedHealthState'
|
||||
property :health_check, as: 'healthCheck'
|
||||
property :health_state, as: 'healthState'
|
||||
end
|
||||
@@ -8303,6 +8627,23 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class MetadataFilter
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :filter_labels, as: 'filterLabels', class: Google::Apis::ComputeAlpha::MetadataFilterLabelMatch, decorator: Google::Apis::ComputeAlpha::MetadataFilterLabelMatch::Representation
|
||||
|
||||
property :filter_match_criteria, as: 'filterMatchCriteria'
|
||||
end
|
||||
end
|
||||
|
||||
class MetadataFilterLabelMatch
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class NamedPort
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -8329,6 +8670,7 @@ module Google
|
||||
property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeAlpha::NetworkRoutingConfig, decorator: Google::Apis::ComputeAlpha::NetworkRoutingConfig::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
collection :subnetworks, as: 'subnetworks'
|
||||
end
|
||||
end
|
||||
@@ -8805,6 +9147,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupsSetAutoscalingPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy, decorator: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupsSetNodeTemplateRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -9206,11 +9556,19 @@ module Google
|
||||
class PathMatcher
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
||||
|
||||
property :default_service, as: 'defaultService'
|
||||
property :default_url_redirect, as: 'defaultUrlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
collection :path_rules, as: 'pathRules', class: Google::Apis::ComputeAlpha::PathRule, decorator: Google::Apis::ComputeAlpha::PathRule::Representation
|
||||
|
||||
collection :route_rules, as: 'routeRules', class: Google::Apis::ComputeAlpha::HttpRouteRule, decorator: Google::Apis::ComputeAlpha::HttpRouteRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9218,7 +9576,11 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :paths, as: 'paths'
|
||||
property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
||||
|
||||
property :service, as: 'service'
|
||||
property :url_redirect, as: 'urlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9350,6 +9712,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :limit, as: 'limit'
|
||||
property :metric, as: 'metric'
|
||||
property :owner, as: 'owner'
|
||||
property :usage, as: 'usage'
|
||||
end
|
||||
end
|
||||
@@ -9563,6 +9926,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersCreateInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PerInstanceConfig, decorator: Google::Apis::ComputeAlpha::PerInstanceConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersDeleteInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -9753,6 +10124,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class RequestMirrorPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :backend_service, as: 'backendService'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourceCommitment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -9992,6 +10370,7 @@ module Google
|
||||
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
||||
property :priority, as: 'priority'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
collection :tags, as: 'tags'
|
||||
collection :warnings, as: 'warnings', class: Google::Apis::ComputeAlpha::Route::Warning, decorator: Google::Apis::ComputeAlpha::Route::Warning::Representation
|
||||
|
||||
@@ -10593,6 +10972,7 @@ module Google
|
||||
collection :licenses, as: 'licenses'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
||||
|
||||
property :source_disk, as: 'sourceDisk'
|
||||
@@ -11874,9 +12254,15 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
||||
|
||||
property :default_service, as: 'defaultService'
|
||||
property :default_url_redirect, as: 'defaultUrlRedirect', class: Google::Apis::ComputeAlpha::HttpRedirectAction, decorator: Google::Apis::ComputeAlpha::HttpRedirectAction::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
|
||||
|
||||
collection :host_rules, as: 'hostRules', class: Google::Apis::ComputeAlpha::HostRule, decorator: Google::Apis::ComputeAlpha::HostRule::Representation
|
||||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
@@ -11933,7 +12319,9 @@ module Google
|
||||
class UrlMapTest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :backend_service_weight, as: 'backendServiceWeight'
|
||||
property :description, as: 'description'
|
||||
property :expected_url_redirect, as: 'expectedUrlRedirect'
|
||||
property :host, as: 'host'
|
||||
property :path, as: 'path'
|
||||
property :service, as: 'service'
|
||||
@@ -12027,6 +12415,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class UrlRewrite
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :host_rewrite, as: 'hostRewrite'
|
||||
property :path_prefix_rewrite, as: 'pathPrefixRewrite'
|
||||
end
|
||||
end
|
||||
|
||||
class UsableSubnetwork
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -12391,6 +12787,16 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class WeightedBackendService
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :backend_service, as: 'backendService'
|
||||
property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
|
||||
|
||||
property :weight, as: 'weight'
|
||||
end
|
||||
end
|
||||
|
||||
class XpnHostList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -8998,8 +8998,8 @@ module Google
|
||||
end
|
||||
|
||||
# Deletes the specified instance template. Deleting an instance template is
|
||||
# permanent and cannot be undone. It's not possible to delete templates which
|
||||
# are in use by an instance group.
|
||||
# permanent and cannot be undone. It is not possible to delete templates that
|
||||
# are already in use by a managed instance group.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] instance_template
|
||||
@@ -9173,7 +9173,7 @@ module Google
|
||||
end
|
||||
|
||||
# Retrieves a list of instance templates that are contained within the specified
|
||||
# project and zone.
|
||||
# project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
@@ -15426,6 +15426,60 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the autoscaling policy of the node group.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] node_group
|
||||
# Name of the NodeGroup resource to update.
|
||||
# @param [Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest] node_groups_set_autoscaling_policy_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_node_group_autoscaling_policy(project, zone, node_group, node_groups_set_autoscaling_policy_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setAutoscalingPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest::Representation
|
||||
command.request_object = node_groups_set_autoscaling_policy_request_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['nodeGroup'] = node_group unless node_group.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] project
|
||||
@@ -15475,7 +15529,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] node_group
|
||||
# Name of the NodeGroup resource to delete.
|
||||
# Name of the NodeGroup resource to update.
|
||||
# @param [Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -18755,6 +18809,46 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. May be empty if no such policy
|
||||
# or resource exists.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a persistent regional disk in the specified project using the data
|
||||
# included in the request.
|
||||
# @param [String] project
|
||||
@@ -18992,6 +19086,49 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
||||
command.request_object = region_set_policy_request_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the labels on the target regional disk.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -19565,6 +19702,65 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates instances with per-instance configs in this regional managed instance
|
||||
# group. Instances are created using the current instance template. The create
|
||||
# instances operation is marked DONE if the createInstances request is
|
||||
# successful. The underlying actions take additional time. You must separately
|
||||
# verify the status of the creating or actions with the listmanagedinstances
|
||||
# method.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region where the managed instance group is located. It should
|
||||
# conform to RFC1035.
|
||||
# @param [String] instance_group_manager
|
||||
# The name of the managed instance group. It should conform to RFC1035.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest] region_instance_group_managers_create_instances_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @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_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest::Representation
|
||||
command.request_object = region_instance_group_managers_create_instances_request_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified managed instance group and all of the instances in that
|
||||
# group.
|
||||
# @param [String] project
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20181130'
|
||||
REVISION = '20181217'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -33,8 +33,10 @@ module Google
|
||||
attr_accessor :accelerator_count
|
||||
|
||||
# Full or partial URL of the accelerator type resource to attach to this
|
||||
# instance. If you are creating an instance template, specify only the
|
||||
# accelerator name.
|
||||
# instance. For example: projects/my-project/zones/us-central1-c/
|
||||
# acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template,
|
||||
# specify only the accelerator name. See GPUs on Compute Engine for a full list
|
||||
# of accelerator types.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
@@ -1598,7 +1600,7 @@ module Google
|
||||
# instance. This name can be used to reference the device for mounting, resizing,
|
||||
# and so on, from within the instance.
|
||||
# If not specified, the server chooses a default device name to apply to this
|
||||
# disk, in the form persistent-disks-x, where x is a number assigned by Google
|
||||
# disk, in the form persistent-disk-x, where x is a number assigned by Google
|
||||
# Compute Engine. This field is only applicable for persistent disks.
|
||||
# Corresponds to the JSON property `deviceName`
|
||||
# @return [String]
|
||||
@@ -2513,7 +2515,7 @@ module Google
|
||||
class AutoscalingPolicyLoadBalancingUtilization
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Fraction of backend capacity utilization (set in HTTP(s) load balancing
|
||||
# Fraction of backend capacity utilization (set in HTTP(S) load balancing
|
||||
# configuration) that autoscaler should maintain. Must be a positive float value.
|
||||
# If not defined, the default is 0.8.
|
||||
# Corresponds to the JSON property `utilizationTarget`
|
||||
@@ -11384,8 +11386,7 @@ module Google
|
||||
attr_accessor :labels
|
||||
|
||||
# Type of link requested. This field indicates speed of each of the links in the
|
||||
# bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
|
||||
# interconnect. Options: Ethernet_10G_LR
|
||||
# bundle, not the entire bundle.
|
||||
# Corresponds to the JSON property `linkType`
|
||||
# @return [String]
|
||||
attr_accessor :link_type
|
||||
@@ -17661,6 +17662,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :metric
|
||||
|
||||
# [Output Only] Owning resource. This is the resource on which this quota is
|
||||
# applied.
|
||||
# Corresponds to the JSON property `owner`
|
||||
# @return [String]
|
||||
attr_accessor :owner
|
||||
|
||||
# [Output Only] Current usage of this metric.
|
||||
# Corresponds to the JSON property `usage`
|
||||
# @return [Float]
|
||||
@@ -17674,6 +17681,7 @@ module Google
|
||||
def update!(**args)
|
||||
@limit = args[:limit] if args.key?(:limit)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
@owner = args[:owner] if args.key?(:owner)
|
||||
@usage = args[:usage] if args.key?(:usage)
|
||||
end
|
||||
end
|
||||
@@ -19293,6 +19301,11 @@ module Google
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
||||
# Corresponds to the JSON property `storageLocations`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :storage_locations
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -19301,6 +19314,7 @@ module Google
|
||||
def update!(**args)
|
||||
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -21576,7 +21590,7 @@ module Google
|
||||
class ShieldedVmIdentity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A Shielded VM Identity Entry.
|
||||
# A Shielded Instance Identity Entry.
|
||||
# Corresponds to the JSON property `encryptionKey`
|
||||
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
|
||||
attr_accessor :encryption_key
|
||||
@@ -21587,7 +21601,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A Shielded VM Identity Entry.
|
||||
# A Shielded Instance Identity Entry.
|
||||
# Corresponds to the JSON property `signingKey`
|
||||
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
|
||||
attr_accessor :signing_key
|
||||
@@ -21604,7 +21618,7 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A Shielded VM Identity Entry.
|
||||
# A Shielded Instance Identity Entry.
|
||||
class ShieldedVmIdentityEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
||||
@@ -8232,6 +8232,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :limit, as: 'limit'
|
||||
property :metric, as: 'metric'
|
||||
property :owner, as: 'owner'
|
||||
property :usage, as: 'usage'
|
||||
end
|
||||
end
|
||||
@@ -8694,6 +8695,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :guest_flush, as: 'guestFlush'
|
||||
hash :labels, as: 'labels'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -8137,8 +8137,8 @@ module Google
|
||||
end
|
||||
|
||||
# Deletes the specified instance template. Deleting an instance template is
|
||||
# permanent and cannot be undone. It's not possible to delete templates which
|
||||
# are in use by an instance group.
|
||||
# permanent and cannot be undone. It is not possible to delete templates that
|
||||
# are already in use by a managed instance group.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] instance_template
|
||||
@@ -8312,7 +8312,7 @@ module Google
|
||||
end
|
||||
|
||||
# Retrieves a list of instance templates that are contained within the specified
|
||||
# project and zone.
|
||||
# project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
@@ -11573,6 +11573,43 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. May be empty if no such policy
|
||||
# or resource exists.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::Policy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a License resource in the specified project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -13605,7 +13642,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] node_group
|
||||
# Name of the NodeGroup resource to delete.
|
||||
# Name of the NodeGroup resource to update.
|
||||
# @param [Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181130'
|
||||
REVISION = '20181217'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -33,8 +33,10 @@ module Google
|
||||
attr_accessor :accelerator_count
|
||||
|
||||
# Full or partial URL of the accelerator type resource to attach to this
|
||||
# instance. If you are creating an instance template, specify only the
|
||||
# accelerator name.
|
||||
# instance. For example: projects/my-project/zones/us-central1-c/
|
||||
# acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template,
|
||||
# specify only the accelerator name. See GPUs on Compute Engine for a full list
|
||||
# of accelerator types.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
@@ -1043,7 +1045,7 @@ module Google
|
||||
# instance. This name can be used to reference the device for mounting, resizing,
|
||||
# and so on, from within the instance.
|
||||
# If not specified, the server chooses a default device name to apply to this
|
||||
# disk, in the form persistent-disks-x, where x is a number assigned by Google
|
||||
# disk, in the form persistent-disk-x, where x is a number assigned by Google
|
||||
# Compute Engine. This field is only applicable for persistent disks.
|
||||
# Corresponds to the JSON property `deviceName`
|
||||
# @return [String]
|
||||
@@ -1911,7 +1913,7 @@ module Google
|
||||
class AutoscalingPolicyLoadBalancingUtilization
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Fraction of backend capacity utilization (set in HTTP(s) load balancing
|
||||
# Fraction of backend capacity utilization (set in HTTP(S) load balancing
|
||||
# configuration) that autoscaler should maintain. Must be a positive float value.
|
||||
# If not defined, the default is 0.8.
|
||||
# Corresponds to the JSON property `utilizationTarget`
|
||||
@@ -7151,6 +7153,11 @@ module Google
|
||||
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
||||
attr_accessor :guest_accelerators
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `hostname`
|
||||
# @return [String]
|
||||
attr_accessor :hostname
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
@@ -7289,6 +7296,7 @@ module Google
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@disks = args[:disks] if args.key?(:disks)
|
||||
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
||||
@hostname = args[:hostname] if args.key?(:hostname)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
||||
@@ -7778,6 +7786,12 @@ module Google
|
||||
class InstanceGroupManager
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The autohealing policy for this managed instance group. You can specify only
|
||||
# one value.
|
||||
# Corresponds to the JSON property `autoHealingPolicies`
|
||||
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy>]
|
||||
attr_accessor :auto_healing_policies
|
||||
|
||||
# The base instance name to use for instances in this group. The value must be 1-
|
||||
# 58 characters long. Instances are named by appending a hyphen and a random
|
||||
# four-character string to the base instance name. The base instance name must
|
||||
@@ -7895,6 +7909,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
|
||||
@base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@current_actions = args[:current_actions] if args.key?(:current_actions)
|
||||
@@ -8121,6 +8136,36 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class InstanceGroupManagerAutoHealingPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The URL for the health check that signals autohealing.
|
||||
# Corresponds to the JSON property `healthCheck`
|
||||
# @return [String]
|
||||
attr_accessor :health_check
|
||||
|
||||
# The number of seconds that the managed instance group waits before it applies
|
||||
# autohealing policies to new instances or recently recreated instances. This
|
||||
# initial delay allows instances to initialize and run their startup scripts
|
||||
# before the instance group determines that they are UNHEALTHY. This prevents
|
||||
# the managed instance group from recreating its instances prematurely. This
|
||||
# value must be from range [0, 3600].
|
||||
# Corresponds to the JSON property `initialDelaySec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :initial_delay_sec
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@health_check = args[:health_check] if args.key?(:health_check)
|
||||
@initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
|
||||
end
|
||||
end
|
||||
|
||||
# [Output Only] A list of managed instance groups.
|
||||
class InstanceGroupManagerList
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -9694,8 +9739,7 @@ module Google
|
||||
attr_accessor :kind
|
||||
|
||||
# Type of link requested. This field indicates speed of each of the links in the
|
||||
# bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
|
||||
# interconnect. Options: Ethernet_10G_LR
|
||||
# bundle, not the entire bundle.
|
||||
# Corresponds to the JSON property `linkType`
|
||||
# @return [String]
|
||||
attr_accessor :link_type
|
||||
@@ -10784,6 +10828,13 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] The status of this InterconnectLocation. If the status is
|
||||
# AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
|
||||
# Otherwise, no new Interconnects may be provisioned.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -10804,6 +10855,7 @@ module Google
|
||||
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
|
||||
@region_infos = args[:region_infos] if args.key?(:region_infos)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -15158,6 +15210,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :metric
|
||||
|
||||
# [Output Only] Owning resource. This is the resource on which this quota is
|
||||
# applied.
|
||||
# Corresponds to the JSON property `owner`
|
||||
# @return [String]
|
||||
attr_accessor :owner
|
||||
|
||||
# [Output Only] Current usage of this metric.
|
||||
# Corresponds to the JSON property `usage`
|
||||
# @return [Float]
|
||||
@@ -15171,6 +15229,7 @@ module Google
|
||||
def update!(**args)
|
||||
@limit = args[:limit] if args.key?(:limit)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
@owner = args[:owner] if args.key?(:owner)
|
||||
@usage = args[:usage] if args.key?(:usage)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1006,6 +1006,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerAutoHealingPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagerList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -5007,6 +5013,7 @@ module Google
|
||||
|
||||
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
||||
|
||||
property :hostname, as: 'hostname'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||
@@ -5151,6 +5158,8 @@ module Google
|
||||
class InstanceGroupManager
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy::Representation
|
||||
|
||||
property :base_instance_name, as: 'baseInstanceName'
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :current_actions, as: 'currentActions', class: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary::Representation
|
||||
@@ -5221,6 +5230,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerAutoHealingPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :health_check, as: 'healthCheck'
|
||||
property :initial_delay_sec, as: 'initialDelaySec'
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagerList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -5935,6 +5952,7 @@ module Google
|
||||
collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeV1::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeV1::InterconnectLocationRegionInfo::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -7065,6 +7083,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :limit, as: 'limit'
|
||||
property :metric, as: 'metric'
|
||||
property :owner, as: 'owner'
|
||||
property :usage, as: 'usage'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -6765,8 +6765,8 @@ module Google
|
||||
end
|
||||
|
||||
# Deletes the specified instance template. Deleting an instance template is
|
||||
# permanent and cannot be undone. It's not possible to delete templates which
|
||||
# are in use by an instance group.
|
||||
# permanent and cannot be undone. It is not possible to delete templates that
|
||||
# are already in use by a managed instance group.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] instance_template
|
||||
@@ -6940,7 +6940,7 @@ module Google
|
||||
end
|
||||
|
||||
# Retrieves a list of instance templates that are contained within the specified
|
||||
# project and zone.
|
||||
# project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
@@ -11097,7 +11097,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] node_group
|
||||
# Name of the NodeGroup resource to delete.
|
||||
# Name of the NodeGroup resource to update.
|
||||
# @param [Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181109'
|
||||
REVISION = '20181211'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -829,6 +829,82 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
|
||||
class GetJsonWebKeysResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The public component of the keys used by the cluster to sign token
|
||||
# requests.
|
||||
# Corresponds to the JSON property `keys`
|
||||
# @return [Array<Google::Apis::ContainerV1::Jwk>]
|
||||
attr_accessor :keys
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@keys = args[:keys] if args.key?(:keys)
|
||||
end
|
||||
end
|
||||
|
||||
# GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
|
||||
# See the OpenID Connect Discovery 1.0 specification for details.
|
||||
class GetOpenIdConfigResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `claims_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :claims_supported
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `grant_types`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :grant_types
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `id_token_signing_alg_values_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :id_token_signing_alg_values_supported
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `issuer`
|
||||
# @return [String]
|
||||
attr_accessor :issuer
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `jwks_uri`
|
||||
# @return [String]
|
||||
attr_accessor :jwks_uri
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `response_types_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :response_types_supported
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `subject_types_supported`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :subject_types_supported
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@claims_supported = args[:claims_supported] if args.key?(:claims_supported)
|
||||
@grant_types = args[:grant_types] if args.key?(:grant_types)
|
||||
@id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
|
||||
@issuer = args[:issuer] if args.key?(:issuer)
|
||||
@jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
|
||||
@response_types_supported = args[:response_types_supported] if args.key?(:response_types_supported)
|
||||
@subject_types_supported = args[:subject_types_supported] if args.key?(:subject_types_supported)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration options for the horizontal pod autoscaling feature, which
|
||||
# increases or decreases the number of replica pods a replication controller
|
||||
# has based on the resource usage of the existing pods.
|
||||
@@ -999,6 +1075,75 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Jwk is a JSON Web Key as specified in RFC 7517
|
||||
class Jwk
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `alg`
|
||||
# @return [String]
|
||||
attr_accessor :alg
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `crv`
|
||||
# @return [String]
|
||||
attr_accessor :crv
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `e`
|
||||
# @return [String]
|
||||
attr_accessor :e
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `kid`
|
||||
# @return [String]
|
||||
attr_accessor :kid
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `kty`
|
||||
# @return [String]
|
||||
attr_accessor :kty
|
||||
|
||||
# Fields for RSA keys.
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `n`
|
||||
# @return [String]
|
||||
attr_accessor :n
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `use`
|
||||
# @return [String]
|
||||
attr_accessor :use
|
||||
|
||||
# Fields for ECDSA keys.
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `x`
|
||||
# @return [String]
|
||||
attr_accessor :x
|
||||
|
||||
# NOLINT
|
||||
# Corresponds to the JSON property `y`
|
||||
# @return [String]
|
||||
attr_accessor :y
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alg = args[:alg] if args.key?(:alg)
|
||||
@crv = args[:crv] if args.key?(:crv)
|
||||
@e = args[:e] if args.key?(:e)
|
||||
@kid = args[:kid] if args.key?(:kid)
|
||||
@kty = args[:kty] if args.key?(:kty)
|
||||
@n = args[:n] if args.key?(:n)
|
||||
@use = args[:use] if args.key?(:use)
|
||||
@x = args[:x] if args.key?(:x)
|
||||
@y = args[:y] if args.key?(:y)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration for the Kubernetes Dashboard.
|
||||
class KubernetesDashboard
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -100,6 +100,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetJsonWebKeysResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetOpenIdConfigResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HorizontalPodAutoscaling
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -118,6 +130,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Jwk
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class KubernetesDashboard
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -523,6 +541,27 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GetJsonWebKeysResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :keys, as: 'keys', class: Google::Apis::ContainerV1::Jwk, decorator: Google::Apis::ContainerV1::Jwk::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetOpenIdConfigResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :claims_supported, as: 'claims_supported'
|
||||
collection :grant_types, as: 'grant_types'
|
||||
collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
|
||||
property :issuer, as: 'issuer'
|
||||
property :jwks_uri, as: 'jwks_uri'
|
||||
collection :response_types_supported, as: 'response_types_supported'
|
||||
collection :subject_types_supported, as: 'subject_types_supported'
|
||||
end
|
||||
end
|
||||
|
||||
class HorizontalPodAutoscaling
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -554,6 +593,21 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Jwk
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :alg, as: 'alg'
|
||||
property :crv, as: 'crv'
|
||||
property :e, as: 'e'
|
||||
property :kid, as: 'kid'
|
||||
property :kty, as: 'kty'
|
||||
property :n, as: 'n'
|
||||
property :use, as: 'use'
|
||||
property :x, as: 'x'
|
||||
property :y, as: 'y'
|
||||
end
|
||||
end
|
||||
|
||||
class KubernetesDashboard
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -264,6 +264,40 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# GetJSONWebKeys gets the public component of the cluster signing keys in
|
||||
# JSON Web Key format.
|
||||
# This API is not yet intended for general use, and is not available for all
|
||||
# clusters.
|
||||
# @param [String] parent
|
||||
# The cluster (project, location, cluster id) to get keys for. Specified in
|
||||
# the format 'projects/*/locations/*/clusters/*'.
|
||||
# @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::ContainerV1::GetJsonWebKeysResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContainerV1::GetJsonWebKeysResponse]
|
||||
#
|
||||
# @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_project_location_cluster_jwks(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/jwks', options)
|
||||
command.response_representation = Google::Apis::ContainerV1::GetJsonWebKeysResponse::Representation
|
||||
command.response_class = Google::Apis::ContainerV1::GetJsonWebKeysResponse
|
||||
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 all clusters owned by a project in either the specified zone or all
|
||||
# zones.
|
||||
# @param [String] parent
|
||||
@@ -1078,6 +1112,41 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# GetOpenIDConfig gets the OIDC discovery document for the cluster.
|
||||
# See the OpenID Connect Discovery 1.0 specification for details.
|
||||
# https://openid.net/specs/openid-connect-discovery-1_0.html
|
||||
# This API is not yet intended for general use, and is not available for all
|
||||
# clusters.
|
||||
# @param [String] parent
|
||||
# The cluster (project, location, cluster id) to get the discovery document
|
||||
# for. Specified in the format 'projects/*/locations/*/clusters/*'.
|
||||
# @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::ContainerV1::GetOpenIdConfigResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContainerV1::GetOpenIdConfigResponse]
|
||||
#
|
||||
# @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_project_location_cluster_well_known_openid_configuration(parent, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/.well-known/openid-configuration', options)
|
||||
command.response_representation = Google::Apis::ContainerV1::GetOpenIdConfigResponse::Representation
|
||||
command.response_class = Google::Apis::ContainerV1::GetOpenIdConfigResponse
|
||||
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
|
||||
|
||||
# Cancels the specified operation.
|
||||
# @param [String] name
|
||||
# The name (project, location, operation id) of the operation to cancel.
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181215'
|
||||
REVISION = '20190107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -552,10 +552,10 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
# The unique identifier of the entity type. Format:
|
||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
# The unique identifier of the entity type.
|
||||
# Required for EntityTypes.UpdateEntityType and
|
||||
# EntityTypes.BatchUpdateEntityTypes methods.
|
||||
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
@@ -880,9 +880,9 @@ module Google
|
||||
attr_accessor :ml_disabled
|
||||
alias_method :ml_disabled?, :ml_disabled
|
||||
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
# The unique identifier of this intent.
|
||||
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
|
||||
# methods.
|
||||
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
@@ -935,7 +935,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :root_followup_intent_name
|
||||
|
||||
# Optional. The collection of examples/templates that the agent is
|
||||
# Optional. The collection of examples that the agent is
|
||||
# trained on.
|
||||
# Corresponds to the JSON property `trainingPhrases`
|
||||
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentTrainingPhrase>]
|
||||
@@ -1676,7 +1676,7 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Represents an example or template that the agent is trained on.
|
||||
# Represents an example that the agent is trained on.
|
||||
class GoogleCloudDialogflowV2IntentTrainingPhrase
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -1692,7 +1692,7 @@ module Google
|
||||
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentTrainingPhrasePart>]
|
||||
attr_accessor :parts
|
||||
|
||||
# Optional. Indicates how many times this example or template was added to
|
||||
# Optional. Indicates how many times this example was added to
|
||||
# the intent. Each time a developer adds an existing sample by editing an
|
||||
# intent or training, this counter is increased.
|
||||
# Corresponds to the JSON property `timesAddedCount`
|
||||
@@ -1734,7 +1734,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :entity_type
|
||||
|
||||
# Required. The text corresponding to the example or template,
|
||||
# Required. The text corresponding to the example,
|
||||
# if there are no annotations. For
|
||||
# annotated examples, it is the text for one of the example's parts.
|
||||
# Corresponds to the JSON property `text`
|
||||
@@ -2522,10 +2522,10 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
# The unique identifier of the entity type. Format:
|
||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
# The unique identifier of the entity type.
|
||||
# Required for EntityTypes.UpdateEntityType and
|
||||
# EntityTypes.BatchUpdateEntityTypes methods.
|
||||
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
@@ -2741,9 +2741,9 @@ module Google
|
||||
attr_accessor :ml_enabled
|
||||
alias_method :ml_enabled?, :ml_enabled
|
||||
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
# The unique identifier of this intent.
|
||||
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
|
||||
# methods.
|
||||
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
@@ -2796,7 +2796,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :root_followup_intent_name
|
||||
|
||||
# Optional. The collection of examples/templates that the agent is
|
||||
# Optional. The collection of examples that the agent is
|
||||
# trained on.
|
||||
# Corresponds to the JSON property `trainingPhrases`
|
||||
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>]
|
||||
@@ -3622,7 +3622,7 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Represents an example or template that the agent is trained on.
|
||||
# Represents an example that the agent is trained on.
|
||||
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -3638,7 +3638,7 @@ module Google
|
||||
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart>]
|
||||
attr_accessor :parts
|
||||
|
||||
# Optional. Indicates how many times this example or template was added to
|
||||
# Optional. Indicates how many times this example was added to
|
||||
# the intent. Each time a developer adds an existing sample by editing an
|
||||
# intent or training, this counter is increased.
|
||||
# Corresponds to the JSON property `timesAddedCount`
|
||||
@@ -3680,7 +3680,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :entity_type
|
||||
|
||||
# Required. The text corresponding to the example or template,
|
||||
# Required. The text corresponding to the example,
|
||||
# if there are no annotations. For
|
||||
# annotated examples, it is the text for one of the example's parts.
|
||||
# Corresponds to the JSON property `text`
|
||||
|
||||
@@ -501,10 +501,10 @@ module Google
|
||||
|
||||
# Updates the specified entity type.
|
||||
# @param [String] name
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
# The unique identifier of the entity type. Format:
|
||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
# The unique identifier of the entity type.
|
||||
# Required for EntityTypes.UpdateEntityType and
|
||||
# EntityTypes.BatchUpdateEntityTypes methods.
|
||||
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
||||
# @param [String] language_code
|
||||
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
||||
@@ -891,9 +891,9 @@ module Google
|
||||
|
||||
# Updates the specified intent.
|
||||
# @param [String] name
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
# The unique identifier of this intent.
|
||||
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
|
||||
# methods.
|
||||
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
||||
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
||||
# @param [String] intent_view
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180813'
|
||||
REVISION = '20181212'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -22,7 +22,13 @@ module Google
|
||||
module Apis
|
||||
module DnsV1
|
||||
|
||||
# An atomic update to a collection of ResourceRecordSets.
|
||||
# A Change represents a set of ResourceRecordSet additions and deletions applied
|
||||
# atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
|
||||
# modified by creating a new Change element in the Changes collection. In turn
|
||||
# the Changes collection also records the past modifications to the
|
||||
# ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
|
||||
# the sum effect of applying all Change elements in the Changes collection in
|
||||
# sequence.
|
||||
class Change
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -58,7 +64,9 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Status of the operation (output only).
|
||||
# Status of the operation (output only). A status of "done" means that the
|
||||
# request to update the authoritative servers has been sent, but the servers
|
||||
# might not be updated yet.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -261,11 +269,11 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :key_length
|
||||
|
||||
# One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
|
||||
# Secure Entry Point flag set and, when active, will be used to sign only
|
||||
# resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
|
||||
# will be cleared and this key will be used to sign only resource record sets of
|
||||
# other types.
|
||||
# Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
|
||||
# Key signing keys have the Secure Entry Point flag set and, when active, will
|
||||
# only be used to sign resource record sets of type DNSKEY. Zone signing keys do
|
||||
# not have the Secure Entry Point flag set and will be used to sign all other
|
||||
# types of resource record sets.
|
||||
# Corresponds to the JSON property `keyType`
|
||||
# @return [String]
|
||||
attr_accessor :key_type
|
||||
@@ -579,7 +587,8 @@ module Google
|
||||
attr_accessor :start_time
|
||||
|
||||
# Status of the operation. Can be one of the following: "PENDING" or "DONE" (
|
||||
# output only).
|
||||
# output only). A status of "DONE" means that the request to update the
|
||||
# authoritative servers has been sent, but the servers might not be updated yet.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -811,8 +820,8 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :ttl
|
||||
|
||||
# The identifier of a supported record type, for example, A, AAAA, MX, TXT, and
|
||||
# so on.
|
||||
# The identifier of a supported record type. See the list of Supported DNS
|
||||
# record types.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20181115'
|
||||
REVISION = '20181212'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -22,7 +22,13 @@ module Google
|
||||
module Apis
|
||||
module DnsV1beta2
|
||||
|
||||
# An atomic update to a collection of ResourceRecordSets.
|
||||
# A Change represents a set of ResourceRecordSet additions and deletions applied
|
||||
# atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
|
||||
# modified by creating a new Change element in the Changes collection. In turn
|
||||
# the Changes collection also records the past modifications to the
|
||||
# ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
|
||||
# the sum effect of applying all Change elements in the Changes collection in
|
||||
# sequence.
|
||||
class Change
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -58,7 +64,9 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Status of the operation (output only).
|
||||
# Status of the operation (output only). A status of "done" means that the
|
||||
# request to update the authoritative servers has been sent, but the servers
|
||||
# might not be updated yet.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -261,11 +269,11 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :key_length
|
||||
|
||||
# One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
|
||||
# Secure Entry Point flag set and, when active, will be used to sign only
|
||||
# resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
|
||||
# will be cleared and this key will be used to sign only resource record sets of
|
||||
# other types.
|
||||
# Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
|
||||
# Key signing keys have the Secure Entry Point flag set and, when active, will
|
||||
# only be used to sign resource record sets of type DNSKEY. Zone signing keys do
|
||||
# not have the Secure Entry Point flag set and will be used to sign all other
|
||||
# types of resource record sets.
|
||||
# Corresponds to the JSON property `keyType`
|
||||
# @return [String]
|
||||
attr_accessor :key_type
|
||||
@@ -404,14 +412,14 @@ module Google
|
||||
# @return [Array<String>]
|
||||
attr_accessor :name_servers
|
||||
|
||||
# For privately visible zones, the set of GCP resources that the zone is visible
|
||||
# from.
|
||||
# For privately visible zones, the set of Virtual Private Cloud resources that
|
||||
# the zone is visible from.
|
||||
# Corresponds to the JSON property `privateVisibilityConfig`
|
||||
# @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig]
|
||||
attr_accessor :private_visibility_config
|
||||
|
||||
# The zone's visibility: public zones are exposed to the Internet, while private
|
||||
# zones are visible only to GCP resources.
|
||||
# zones are visible only to Virtual Private Cloud resources.
|
||||
# Corresponds to the JSON property `visibility`
|
||||
# @return [String]
|
||||
attr_accessor :visibility
|
||||
@@ -586,7 +594,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The list of GCE private network IDs that can see this zone.
|
||||
# The list of VPC networks that can see this zone.
|
||||
# Corresponds to the JSON property `networks`
|
||||
# @return [Array<Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork>]
|
||||
attr_accessor :networks
|
||||
@@ -612,7 +620,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The fully qualified URL of the GCE private network to bind to. This should be
|
||||
# The fully qualified URL of the VPC network to bind to. This should be
|
||||
# formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
|
||||
# networks/`network`
|
||||
# Corresponds to the JSON property `networkUrl`
|
||||
@@ -708,7 +716,8 @@ module Google
|
||||
attr_accessor :start_time
|
||||
|
||||
# Status of the operation. Can be one of the following: "PENDING" or "DONE" (
|
||||
# output only).
|
||||
# output only). A status of "DONE" means that the request to update the
|
||||
# authoritative servers has been sent, but the servers might not be updated yet.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -855,8 +864,8 @@ module Google
|
||||
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# A policy is a collection of rules applied to one or more networks that specify
|
||||
# forwarding behavior for that network.
|
||||
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
||||
# Cloud resources.
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::DnsV1beta2::Policy]
|
||||
attr_accessor :policy
|
||||
@@ -881,8 +890,8 @@ module Google
|
||||
# @return [Google::Apis::DnsV1beta2::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# A policy is a collection of rules applied to one or more networks that specify
|
||||
# forwarding behavior for that network.
|
||||
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
||||
# Cloud resources.
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::DnsV1beta2::Policy]
|
||||
attr_accessor :policy
|
||||
@@ -898,8 +907,8 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A policy is a collection of rules applied to one or more networks that specify
|
||||
# forwarding behavior for that network.
|
||||
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
||||
# Cloud resources.
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -1024,7 +1033,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The fully qualified URL of the GCE private network to bind to. This should be
|
||||
# The fully qualified URL of the VPC network to bind to. This should be
|
||||
# formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
|
||||
# networks/`network`
|
||||
# Corresponds to the JSON property `networkUrl`
|
||||
@@ -1218,8 +1227,8 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :ttl
|
||||
|
||||
# The identifier of a supported record type, for example, A, AAAA, MX, TXT, and
|
||||
# so on.
|
||||
# The identifier of a supported record type. See the list of Supported DNS
|
||||
# record types.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180813'
|
||||
REVISION = '20181212'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -22,7 +22,13 @@ module Google
|
||||
module Apis
|
||||
module DnsV2beta1
|
||||
|
||||
# An atomic update to a collection of ResourceRecordSets.
|
||||
# A Change represents a set of ResourceRecordSet additions and deletions applied
|
||||
# atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are
|
||||
# modified by creating a new Change element in the Changes collection. In turn
|
||||
# the Changes collection also records the past modifications to the
|
||||
# ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is
|
||||
# the sum effect of applying all Change elements in the Changes collection in
|
||||
# sequence.
|
||||
class Change
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -58,7 +64,9 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Status of the operation (output only).
|
||||
# Status of the operation (output only). A status of "done" means that the
|
||||
# request to update the authoritative servers has been sent, but the servers
|
||||
# might not be updated yet.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -261,11 +269,11 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :key_length
|
||||
|
||||
# One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the
|
||||
# Secure Entry Point flag set and, when active, will be used to sign only
|
||||
# resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag
|
||||
# will be cleared and this key will be used to sign only resource record sets of
|
||||
# other types.
|
||||
# Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK).
|
||||
# Key signing keys have the Secure Entry Point flag set and, when active, will
|
||||
# only be used to sign resource record sets of type DNSKEY. Zone signing keys do
|
||||
# not have the Secure Entry Point flag set and will be used to sign all other
|
||||
# types of resource record sets.
|
||||
# Corresponds to the JSON property `keyType`
|
||||
# @return [String]
|
||||
attr_accessor :key_type
|
||||
@@ -579,7 +587,8 @@ module Google
|
||||
attr_accessor :start_time
|
||||
|
||||
# Status of the operation. Can be one of the following: "PENDING" or "DONE" (
|
||||
# output only).
|
||||
# output only). A status of "DONE" means that the request to update the
|
||||
# authoritative servers has been sent, but the servers might not be updated yet.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -811,8 +820,8 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :ttl
|
||||
|
||||
# The identifier of a supported record type, for example, A, AAAA, MX, TXT, and
|
||||
# so on.
|
||||
# The identifier of a supported record type. See the list of Supported DNS
|
||||
# record types.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/bid-manager/
|
||||
module DoubleclickbidmanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180821'
|
||||
REVISION = '20190103'
|
||||
|
||||
# View and manage your reports in DoubleClick Bid Manager
|
||||
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
||||
|
||||
@@ -81,8 +81,8 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Request to fetch stored campaigns, insertion orders, line items, TrueView ad
|
||||
# groups and ads.
|
||||
# Request to fetch stored inventory sources, campaigns, insertion orders, line
|
||||
# items, TrueView ad groups and ads.
|
||||
class DownloadRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -93,6 +93,7 @@ module Google
|
||||
# - "CAMPAIGN"
|
||||
# - "INSERTION_ORDER"
|
||||
# - "LINE_ITEM"
|
||||
# - "INVENTORY_SOURCE"
|
||||
# Corresponds to the JSON property `fileTypes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :file_types
|
||||
@@ -151,6 +152,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :insertion_orders
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `inventorySources`
|
||||
# @return [String]
|
||||
attr_accessor :inventory_sources
|
||||
|
||||
# Retrieved line items in SDF format.
|
||||
# Corresponds to the JSON property `lineItems`
|
||||
# @return [String]
|
||||
@@ -166,6 +172,7 @@ module Google
|
||||
@ads = args[:ads] if args.key?(:ads)
|
||||
@campaigns = args[:campaigns] if args.key?(:campaigns)
|
||||
@insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders)
|
||||
@inventory_sources = args[:inventory_sources] if args.key?(:inventory_sources)
|
||||
@line_items = args[:line_items] if args.key?(:line_items)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -182,6 +182,7 @@ module Google
|
||||
property :ads, as: 'ads'
|
||||
property :campaigns, as: 'campaigns'
|
||||
property :insertion_orders, as: 'insertionOrders'
|
||||
property :inventory_sources, as: 'inventorySources'
|
||||
property :line_items, as: 'lineItems'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181121'
|
||||
REVISION = '20181222'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -671,6 +671,21 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :field_path
|
||||
|
||||
# A message that can hold any of the supported value types.
|
||||
# Corresponds to the JSON property `increment`
|
||||
# @return [Google::Apis::FirestoreV1::Value]
|
||||
attr_accessor :increment
|
||||
|
||||
# A message that can hold any of the supported value types.
|
||||
# Corresponds to the JSON property `maximum`
|
||||
# @return [Google::Apis::FirestoreV1::Value]
|
||||
attr_accessor :maximum
|
||||
|
||||
# A message that can hold any of the supported value types.
|
||||
# Corresponds to the JSON property `minimum`
|
||||
# @return [Google::Apis::FirestoreV1::Value]
|
||||
attr_accessor :minimum
|
||||
|
||||
# An array value.
|
||||
# Corresponds to the JSON property `removeAllFromArray`
|
||||
# @return [Google::Apis::FirestoreV1::ArrayValue]
|
||||
@@ -689,6 +704,9 @@ module Google
|
||||
def update!(**args)
|
||||
@append_missing_elements = args[:append_missing_elements] if args.key?(:append_missing_elements)
|
||||
@field_path = args[:field_path] if args.key?(:field_path)
|
||||
@increment = args[:increment] if args.key?(:increment)
|
||||
@maximum = args[:maximum] if args.key?(:maximum)
|
||||
@minimum = args[:minimum] if args.key?(:minimum)
|
||||
@remove_all_from_array = args[:remove_all_from_array] if args.key?(:remove_all_from_array)
|
||||
@set_to_server_value = args[:set_to_server_value] if args.key?(:set_to_server_value)
|
||||
end
|
||||
|
||||
@@ -639,6 +639,12 @@ module Google
|
||||
property :append_missing_elements, as: 'appendMissingElements', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation
|
||||
|
||||
property :field_path, as: 'fieldPath'
|
||||
property :increment, as: 'increment', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
||||
|
||||
property :maximum, as: 'maximum', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
||||
|
||||
property :minimum, as: 'minimum', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
||||
|
||||
property :remove_all_from_array, as: 'removeAllFromArray', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation
|
||||
|
||||
property :set_to_server_value, as: 'setToServerValue'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180814'
|
||||
REVISION = '20181222'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -671,6 +671,21 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :field_path
|
||||
|
||||
# A message that can hold any of the supported value types.
|
||||
# Corresponds to the JSON property `increment`
|
||||
# @return [Google::Apis::FirestoreV1beta1::Value]
|
||||
attr_accessor :increment
|
||||
|
||||
# A message that can hold any of the supported value types.
|
||||
# Corresponds to the JSON property `maximum`
|
||||
# @return [Google::Apis::FirestoreV1beta1::Value]
|
||||
attr_accessor :maximum
|
||||
|
||||
# A message that can hold any of the supported value types.
|
||||
# Corresponds to the JSON property `minimum`
|
||||
# @return [Google::Apis::FirestoreV1beta1::Value]
|
||||
attr_accessor :minimum
|
||||
|
||||
# An array value.
|
||||
# Corresponds to the JSON property `removeAllFromArray`
|
||||
# @return [Google::Apis::FirestoreV1beta1::ArrayValue]
|
||||
@@ -689,6 +704,9 @@ module Google
|
||||
def update!(**args)
|
||||
@append_missing_elements = args[:append_missing_elements] if args.key?(:append_missing_elements)
|
||||
@field_path = args[:field_path] if args.key?(:field_path)
|
||||
@increment = args[:increment] if args.key?(:increment)
|
||||
@maximum = args[:maximum] if args.key?(:maximum)
|
||||
@minimum = args[:minimum] if args.key?(:minimum)
|
||||
@remove_all_from_array = args[:remove_all_from_array] if args.key?(:remove_all_from_array)
|
||||
@set_to_server_value = args[:set_to_server_value] if args.key?(:set_to_server_value)
|
||||
end
|
||||
|
||||
@@ -585,6 +585,12 @@ module Google
|
||||
property :append_missing_elements, as: 'appendMissingElements', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation
|
||||
|
||||
property :field_path, as: 'fieldPath'
|
||||
property :increment, as: 'increment', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
|
||||
|
||||
property :maximum, as: 'maximum', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
|
||||
|
||||
property :minimum, as: 'minimum', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
|
||||
|
||||
property :remove_all_from_array, as: 'removeAllFromArray', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation
|
||||
|
||||
property :set_to_server_value, as: 'setToServerValue'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/fit/rest/
|
||||
module FitnessV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181112'
|
||||
REVISION = '20190101'
|
||||
|
||||
# View your activity information in Google Fit
|
||||
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
||||
|
||||
@@ -449,7 +449,8 @@ module Google
|
||||
# @return [Google::Apis::FitnessV1::Application]
|
||||
attr_accessor :application
|
||||
|
||||
#
|
||||
# DO NOT USE THIS FIELD. It is never populated in responses from the platform,
|
||||
# and is ignored in queries.
|
||||
# Corresponds to the JSON property `dataQualityStandard`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :data_quality_standard
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3p1beta1
|
||||
VERSION = 'V3p1beta1'
|
||||
REVISION = '20181114'
|
||||
REVISION = '20190107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -2209,6 +2209,103 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If the value is `false`, it means the operation is still in progress.
|
||||
# If `true`, the operation is completed, and either `error` or `response` is
|
||||
# available.
|
||||
# Corresponds to the JSON property `done`
|
||||
# @return [Boolean]
|
||||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [Google::Apis::JobsV3p1beta1::Status]
|
||||
attr_accessor :error
|
||||
|
||||
# Service-specific metadata associated with the operation. It typically
|
||||
# contains progress information and common metadata such as create time.
|
||||
# Some services might not provide such metadata. Any method that returns a
|
||||
# long-running operation should document the metadata type, if any.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The normal response of the operation in case of success. If the original
|
||||
# method returns no data on success, such as `Delete`, the response is
|
||||
# `google.protobuf.Empty`. If the original method is standard
|
||||
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
||||
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
||||
# is the original method name. For example, if the original method name
|
||||
# is `TakeSnapshot()`, the inferred response type is
|
||||
# `TakeSnapshotResponse`.
|
||||
# Corresponds to the JSON property `response`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :response
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@done = args[:done] if args.key?(:done)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@response = args[:response] if args.key?(:response)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a postal address, e.g. for postal delivery or payments addresses.
|
||||
# Given a postal address, a postal service can deliver items to a premise, P.O.
|
||||
# Box or similar.
|
||||
@@ -2799,6 +2896,78 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The status code, which should be an enum value of google.rpc.Code.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :code
|
||||
|
||||
# A list of messages that carry the error details. There is a common set of
|
||||
# message types for APIs to use.
|
||||
# Corresponds to the JSON property `details`
|
||||
# @return [Array<Hash<String,Object>>]
|
||||
attr_accessor :details
|
||||
|
||||
# A developer-facing error message, which should be in English. Any
|
||||
# user-facing error message should be localized and sent in the
|
||||
# google.rpc.Status.details field, or localized by the client.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@details = args[:details] if args.key?(:details)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a time of day. The date and time zone are either not significant
|
||||
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
||||
# types are google.type.Date and `google.protobuf.Timestamp`.
|
||||
|
||||
@@ -286,6 +286,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PostalAddress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -328,6 +334,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TimeOfDay
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -829,6 +841,18 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
property :error, as: 'error', class: Google::Apis::JobsV3p1beta1::Status, decorator: Google::Apis::JobsV3p1beta1::Status::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
hash :response, as: 'response'
|
||||
end
|
||||
end
|
||||
|
||||
class PostalAddress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -928,6 +952,15 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :details, as: 'details'
|
||||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
|
||||
class TimeOfDay
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -697,6 +697,38 @@ module Google
|
||||
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.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::JobsV3p1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::JobsV3p1beta1::Operation]
|
||||
#
|
||||
# @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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v3p1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::JobsV3p1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::JobsV3p1beta1::Operation
|
||||
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
|
||||
|
||||
protected
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||
module ServiceconsumermanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181229'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -470,6 +470,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :deadline
|
||||
|
||||
# The JWT audience is used when generating a JWT id token for the backend.
|
||||
# Corresponds to the JSON property `jwtAudience`
|
||||
# @return [String]
|
||||
attr_accessor :jwt_audience
|
||||
|
||||
# Minimum deadline in seconds needed for this method. Calls having deadline
|
||||
# value lower than this will be rejected.
|
||||
# Corresponds to the JSON property `minDeadline`
|
||||
@@ -482,6 +487,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :operation_deadline
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `pathTranslation`
|
||||
# @return [String]
|
||||
attr_accessor :path_translation
|
||||
|
||||
# Selects the methods to which this rule applies.
|
||||
# Refer to selector for syntax details.
|
||||
# Corresponds to the JSON property `selector`
|
||||
@@ -496,8 +506,10 @@ module Google
|
||||
def update!(**args)
|
||||
@address = args[:address] if args.key?(:address)
|
||||
@deadline = args[:deadline] if args.key?(:deadline)
|
||||
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
|
||||
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
|
||||
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
||||
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -547,8 +547,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :address, as: 'address'
|
||||
property :deadline, as: 'deadline'
|
||||
property :jwt_audience, as: 'jwtAudience'
|
||||
property :min_deadline, as: 'minDeadline'
|
||||
property :operation_deadline, as: 'operationDeadline'
|
||||
property :path_translation, as: 'pathTranslation'
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||
module ServicenetworkingV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20181229'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -456,6 +456,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :deadline
|
||||
|
||||
# The JWT audience is used when generating a JWT id token for the backend.
|
||||
# Corresponds to the JSON property `jwtAudience`
|
||||
# @return [String]
|
||||
attr_accessor :jwt_audience
|
||||
|
||||
# Minimum deadline in seconds needed for this method. Calls having deadline
|
||||
# value lower than this will be rejected.
|
||||
# Corresponds to the JSON property `minDeadline`
|
||||
@@ -468,6 +473,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :operation_deadline
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `pathTranslation`
|
||||
# @return [String]
|
||||
attr_accessor :path_translation
|
||||
|
||||
# Selects the methods to which this rule applies.
|
||||
# Refer to selector for syntax details.
|
||||
# Corresponds to the JSON property `selector`
|
||||
@@ -482,8 +492,10 @@ module Google
|
||||
def update!(**args)
|
||||
@address = args[:address] if args.key?(:address)
|
||||
@deadline = args[:deadline] if args.key?(:deadline)
|
||||
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
|
||||
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
|
||||
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
||||
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -462,8 +462,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :address, as: 'address'
|
||||
property :deadline, as: 'deadline'
|
||||
property :jwt_audience, as: 'jwtAudience'
|
||||
property :min_deadline, as: 'minDeadline'
|
||||
property :operation_deadline, as: 'operationDeadline'
|
||||
property :path_translation, as: 'pathTranslation'
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/service-usage/
|
||||
module ServiceusageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181230'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -375,6 +375,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :deadline
|
||||
|
||||
# The JWT audience is used when generating a JWT id token for the backend.
|
||||
# Corresponds to the JSON property `jwtAudience`
|
||||
# @return [String]
|
||||
attr_accessor :jwt_audience
|
||||
|
||||
# Minimum deadline in seconds needed for this method. Calls having deadline
|
||||
# value lower than this will be rejected.
|
||||
# Corresponds to the JSON property `minDeadline`
|
||||
@@ -387,6 +392,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :operation_deadline
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `pathTranslation`
|
||||
# @return [String]
|
||||
attr_accessor :path_translation
|
||||
|
||||
# Selects the methods to which this rule applies.
|
||||
# Refer to selector for syntax details.
|
||||
# Corresponds to the JSON property `selector`
|
||||
@@ -401,8 +411,10 @@ module Google
|
||||
def update!(**args)
|
||||
@address = args[:address] if args.key?(:address)
|
||||
@deadline = args[:deadline] if args.key?(:deadline)
|
||||
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
|
||||
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
|
||||
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
||||
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -508,8 +508,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :address, as: 'address'
|
||||
property :deadline, as: 'deadline'
|
||||
property :jwt_audience, as: 'jwtAudience'
|
||||
property :min_deadline, as: 'minDeadline'
|
||||
property :operation_deadline, as: 'operationDeadline'
|
||||
property :path_translation, as: 'pathTranslation'
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/service-usage/
|
||||
module ServiceusageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181230'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -375,6 +375,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :deadline
|
||||
|
||||
# The JWT audience is used when generating a JWT id token for the backend.
|
||||
# Corresponds to the JSON property `jwtAudience`
|
||||
# @return [String]
|
||||
attr_accessor :jwt_audience
|
||||
|
||||
# Minimum deadline in seconds needed for this method. Calls having deadline
|
||||
# value lower than this will be rejected.
|
||||
# Corresponds to the JSON property `minDeadline`
|
||||
@@ -387,6 +392,11 @@ module Google
|
||||
# @return [Float]
|
||||
attr_accessor :operation_deadline
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `pathTranslation`
|
||||
# @return [String]
|
||||
attr_accessor :path_translation
|
||||
|
||||
# Selects the methods to which this rule applies.
|
||||
# Refer to selector for syntax details.
|
||||
# Corresponds to the JSON property `selector`
|
||||
@@ -401,8 +411,10 @@ module Google
|
||||
def update!(**args)
|
||||
@address = args[:address] if args.key?(:address)
|
||||
@deadline = args[:deadline] if args.key?(:deadline)
|
||||
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
|
||||
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
|
||||
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
||||
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -514,8 +514,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :address, as: 'address'
|
||||
property :deadline, as: 'deadline'
|
||||
property :jwt_audience, as: 'jwtAudience'
|
||||
property :min_deadline, as: 'minDeadline'
|
||||
property :operation_deadline, as: 'operationDeadline'
|
||||
property :path_translation, as: 'pathTranslation'
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20181116'
|
||||
REVISION = '20190109'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
@@ -2297,8 +2297,8 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A <a href="/chart/interactive/docs/gallery/candlestickchart">candlestick chart<
|
||||
# /a>.
|
||||
# A <a href="/chart/interactive/docs/gallery/candlestickchart">candlestick
|
||||
# chart</a>.
|
||||
class CandlestickChartSpec
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -2847,8 +2847,8 @@ module Google
|
||||
# @return [Google::Apis::SheetsV4::BubbleChartSpec]
|
||||
attr_accessor :bubble_chart
|
||||
|
||||
# A <a href="/chart/interactive/docs/gallery/candlestickchart">candlestick chart<
|
||||
# /a>.
|
||||
# A <a href="/chart/interactive/docs/gallery/candlestickchart">candlestick
|
||||
# chart</a>.
|
||||
# Corresponds to the JSON property `candlestickChart`
|
||||
# @return [Google::Apis::SheetsV4::CandlestickChartSpec]
|
||||
attr_accessor :candlestick_chart
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/slides/
|
||||
module SlidesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181127'
|
||||
REVISION = '20190109'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
@@ -1830,7 +1830,7 @@ module Google
|
||||
# A table range with location = (0, 0), row span = 3 and column span = 2
|
||||
# specifies the following cells:
|
||||
# x x
|
||||
# [ x ]
|
||||
# [ x x x ]
|
||||
# Corresponds to the JSON property `tableRange`
|
||||
# @return [Google::Apis::SlidesV1::TableRange]
|
||||
attr_accessor :table_range
|
||||
@@ -4095,7 +4095,7 @@ module Google
|
||||
# A table range with location = (0, 0), row span = 3 and column span = 2
|
||||
# specifies the following cells:
|
||||
# x x
|
||||
# [ x ]
|
||||
# [ x x x ]
|
||||
class TableRange
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -4510,7 +4510,7 @@ module Google
|
||||
# A table range with location = (0, 0), row span = 3 and column span = 2
|
||||
# specifies the following cells:
|
||||
# x x
|
||||
# [ x ]
|
||||
# [ x x x ]
|
||||
# Corresponds to the JSON property `tableRange`
|
||||
# @return [Google::Apis::SlidesV1::TableRange]
|
||||
attr_accessor :table_range
|
||||
@@ -4965,7 +4965,7 @@ module Google
|
||||
# A table range with location = (0, 0), row span = 3 and column span = 2
|
||||
# specifies the following cells:
|
||||
# x x
|
||||
# [ x ]
|
||||
# [ x x x ]
|
||||
# Corresponds to the JSON property `tableRange`
|
||||
# @return [Google::Apis::SlidesV1::TableRange]
|
||||
attr_accessor :table_range
|
||||
@@ -5020,7 +5020,7 @@ module Google
|
||||
# A table range with location = (0, 0), row span = 3 and column span = 2
|
||||
# specifies the following cells:
|
||||
# x x
|
||||
# [ x ]
|
||||
# [ x x x ]
|
||||
# Corresponds to the JSON property `tableRange`
|
||||
# @return [Google::Apis::SlidesV1::TableRange]
|
||||
attr_accessor :table_range
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181217'
|
||||
REVISION = '20190106'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
||||
Reference in new issue
Block a user