Autogenerated update (2020-10-13)

Update:
- androidpublisher_v3
- civicinfo_v2
- content_v2_1
- dns_v1
- dns_v1beta2
- fitness_v1
- gameservices_v1
- gameservices_v1beta
- licensing_v1
- managedidentities_v1alpha1
This commit is contained in:
Google APIs 2020-10-13 00:39:47 +00:00
parent 134f452739
commit 2404e6197c
29 changed files with 967 additions and 191 deletions

View File

@ -93010,9 +93010,38 @@
"/dns:v1/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change
"/dns:v1/Quota/whitelistedKeySpecs": whitelisted_key_specs
"/dns:v1/Quota/whitelistedKeySpecs/whitelisted_key_spec": whitelisted_key_spec
"/dns:v1/RRSetRoutingPolicy": rr_set_routing_policy
"/dns:v1/RRSetRoutingPolicy/geoPolicy": geo_policy
"/dns:v1/RRSetRoutingPolicy/kind": kind
"/dns:v1/RRSetRoutingPolicy/wrrPolicy": wrr_policy
"/dns:v1/RRSetRoutingPolicyGeoPolicy": rr_set_routing_policy_geo_policy
"/dns:v1/RRSetRoutingPolicyGeoPolicy/failovers": failovers
"/dns:v1/RRSetRoutingPolicyGeoPolicy/failovers/failover": failover
"/dns:v1/RRSetRoutingPolicyGeoPolicy/items": items
"/dns:v1/RRSetRoutingPolicyGeoPolicy/items/item": item
"/dns:v1/RRSetRoutingPolicyGeoPolicy/kind": kind
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem": rr_set_routing_policy_geo_policy_geo_policy_item
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/kind": kind
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/location": location
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/rrdatas": rrdatas
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/rrdatas/rrdata": rrdata
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/signatureRrdatas": signature_rrdatas
"/dns:v1/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/signatureRrdatas/signature_rrdata": signature_rrdata
"/dns:v1/RRSetRoutingPolicyWrrPolicy": rr_set_routing_policy_wrr_policy
"/dns:v1/RRSetRoutingPolicyWrrPolicy/items": items
"/dns:v1/RRSetRoutingPolicyWrrPolicy/items/item": item
"/dns:v1/RRSetRoutingPolicyWrrPolicy/kind": kind
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem": rr_set_routing_policy_wrr_policy_wrr_policy_item
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/kind": kind
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/rrdatas": rrdatas
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/rrdatas/rrdata": rrdata
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/signatureRrdatas": signature_rrdatas
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/signatureRrdatas/signature_rrdata": signature_rrdata
"/dns:v1/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/weight": weight
"/dns:v1/ResourceRecordSet": resource_record_set
"/dns:v1/ResourceRecordSet/kind": kind
"/dns:v1/ResourceRecordSet/name": name
"/dns:v1/ResourceRecordSet/routingPolicy": routing_policy
"/dns:v1/ResourceRecordSet/rrdatas": rrdatas
"/dns:v1/ResourceRecordSet/rrdatas/rrdata": rrdata
"/dns:v1/ResourceRecordSet/signatureRrdatas": signature_rrdatas
@ -93311,9 +93340,38 @@
"/dns:v1beta2/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change
"/dns:v1beta2/Quota/whitelistedKeySpecs": whitelisted_key_specs
"/dns:v1beta2/Quota/whitelistedKeySpecs/whitelisted_key_spec": whitelisted_key_spec
"/dns:v1beta2/RRSetRoutingPolicy": rr_set_routing_policy
"/dns:v1beta2/RRSetRoutingPolicy/geoPolicy": geo_policy
"/dns:v1beta2/RRSetRoutingPolicy/kind": kind
"/dns:v1beta2/RRSetRoutingPolicy/wrrPolicy": wrr_policy
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicy": rr_set_routing_policy_geo_policy
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicy/failovers": failovers
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicy/failovers/failover": failover
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicy/items": items
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicy/items/item": item
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicy/kind": kind
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem": rr_set_routing_policy_geo_policy_geo_policy_item
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/kind": kind
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/location": location
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/rrdatas": rrdatas
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/rrdatas/rrdata": rrdata
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/signatureRrdatas": signature_rrdatas
"/dns:v1beta2/RRSetRoutingPolicyGeoPolicyGeoPolicyItem/signatureRrdatas/signature_rrdata": signature_rrdata
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicy": rr_set_routing_policy_wrr_policy
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicy/items": items
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicy/items/item": item
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicy/kind": kind
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem": rr_set_routing_policy_wrr_policy_wrr_policy_item
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/kind": kind
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/rrdatas": rrdatas
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/rrdatas/rrdata": rrdata
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/signatureRrdatas": signature_rrdatas
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/signatureRrdatas/signature_rrdata": signature_rrdata
"/dns:v1beta2/RRSetRoutingPolicyWrrPolicyWrrPolicyItem/weight": weight
"/dns:v1beta2/ResourceRecordSet": resource_record_set
"/dns:v1beta2/ResourceRecordSet/kind": kind
"/dns:v1beta2/ResourceRecordSet/name": name
"/dns:v1beta2/ResourceRecordSet/routingPolicy": routing_policy
"/dns:v1beta2/ResourceRecordSet/rrdatas": rrdatas
"/dns:v1beta2/ResourceRecordSet/rrdatas/rrdata": rrdata
"/dns:v1beta2/ResourceRecordSet/signatureRrdatas": signature_rrdatas
@ -112436,6 +112494,12 @@
"/managedidentities:v1alpha1/ListOperationsResponse/nextPageToken": next_page_token
"/managedidentities:v1alpha1/ListOperationsResponse/operations": operations
"/managedidentities:v1alpha1/ListOperationsResponse/operations/operation": operation
"/managedidentities:v1alpha1/ListSQLIntegrationsResponse": list_sql_integrations_response
"/managedidentities:v1alpha1/ListSQLIntegrationsResponse/nextPageToken": next_page_token
"/managedidentities:v1alpha1/ListSQLIntegrationsResponse/sqlIntegrations": sql_integrations
"/managedidentities:v1alpha1/ListSQLIntegrationsResponse/sqlIntegrations/sql_integration": sql_integration
"/managedidentities:v1alpha1/ListSQLIntegrationsResponse/unreachable": unreachable
"/managedidentities:v1alpha1/ListSQLIntegrationsResponse/unreachable/unreachable": unreachable
"/managedidentities:v1alpha1/Location": location
"/managedidentities:v1alpha1/Location/displayName": display_name
"/managedidentities:v1alpha1/Location/labels": labels
@ -112470,6 +112534,12 @@
"/managedidentities:v1alpha1/ResetAdminPasswordRequest": reset_admin_password_request
"/managedidentities:v1alpha1/ResetAdminPasswordResponse": reset_admin_password_response
"/managedidentities:v1alpha1/ResetAdminPasswordResponse/password": password
"/managedidentities:v1alpha1/SQLIntegration": sql_integration
"/managedidentities:v1alpha1/SQLIntegration/createTime": create_time
"/managedidentities:v1alpha1/SQLIntegration/name": name
"/managedidentities:v1alpha1/SQLIntegration/sqlInstance": sql_instance
"/managedidentities:v1alpha1/SQLIntegration/state": state
"/managedidentities:v1alpha1/SQLIntegration/updateTime": update_time
"/managedidentities:v1alpha1/SetIamPolicyRequest": set_iam_policy_request
"/managedidentities:v1alpha1/SetIamPolicyRequest/policy": policy
"/managedidentities:v1alpha1/Status": status
@ -112532,6 +112602,14 @@
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.resetAdminPassword/name": name
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.setIamPolicy": set_domain_iam_policy
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.setIamPolicy/resource": resource
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.get": get_project_location_global_domain_sql_integration
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.get/name": name
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.list": list_project_location_global_domain_sql_integrations
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/filter": filter
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/orderBy": order_by
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/pageSize": page_size
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/pageToken": page_token
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/parent": parent
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.testIamPermissions": test_domain_iam_permissions
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.testIamPermissions/resource": resource
"/managedidentities:v1alpha1/managedidentities.projects.locations.global.domains.validateTrust": validate_domain_trust

View File

@ -47,7 +47,7 @@ module Google
attr_accessor :user_ip
def initialize
super('https://www.googleapis.com/', 'analytics/v3/')
super('', 'analytics/v3/')
@batch_path = 'batch/analytics/v3'
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20201007'
REVISION = '20201012'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1863,6 +1863,8 @@ module Google
# @param [String] package_name
# The package name of the application for which this subscription was purchased (
# for example, 'com.some.thing').
# @param [String] subscription_id
# The purchased subscription ID (for example, 'monthly001').
# @param [String] token
# The token provided to the user's device when the subscription was purchased.
# @param [String] fields
@ -1882,9 +1884,10 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_purchase_subscription(package_name, token, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/tokens/{token}:cancel', options)
def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
command.params['packageName'] = package_name unless package_name.nil?
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
command.params['token'] = token unless token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/civic-information/
module CivicinfoV2
VERSION = 'V2'
REVISION = '20200908'
REVISION = '20201012'
end
end
end

View File

@ -32,13 +32,6 @@ module Google
# @return [Google::Apis::CivicinfoV2::AdministrativeBody]
attr_accessor :election_administration_body
# An ID for this object. IDs may change in future requests and should not be
# cached. Access to this field requires special access that can be requested
# from the Request more link on the Quotas page.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Describes information about a regional election administrative area.
# Corresponds to the JSON property `local_jurisdiction`
# @return [Google::Apis::CivicinfoV2::AdministrationRegion]
@ -62,7 +55,6 @@ module Google
# Update properties of this object
def update!(**args)
@election_administration_body = args[:election_administration_body] if args.key?(:election_administration_body)
@id = args[:id] if args.key?(:id)
@local_jurisdiction = args[:local_jurisdiction] if args.key?(:local_jurisdiction)
@name = args[:name] if args.key?(:name)
@sources = args[:sources] if args.key?(:sources)
@ -300,13 +292,6 @@ module Google
# @return [String]
attr_accessor :electorate_specifications
# An ID for this object. IDs may change in future requests and should not be
# cached. Access to this field requires special access that can be requested
# from the Request more link on the Quotas page.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# The levels of government of the office for this contest. There may be more
# than one in cases where a jurisdiction effectively acts at two different
# levels of government; for example, the mayor of the District of Columbia acts
@ -441,7 +426,6 @@ module Google
@candidates = args[:candidates] if args.key?(:candidates)
@district = args[:district] if args.key?(:district)
@electorate_specifications = args[:electorate_specifications] if args.key?(:electorate_specifications)
@id = args[:id] if args.key?(:id)
@level = args[:level] if args.key?(:level)
@number_elected = args[:number_elected] if args.key?(:number_elected)
@number_voting_for = args[:number_voting_for] if args.key?(:number_voting_for)
@ -845,13 +829,6 @@ module Google
# @return [String]
attr_accessor :end_date
# An ID for this object. IDs may change in future requests and should not be
# cached. Access to this field requires special access that can be requested
# from the Request more link on the Quotas page.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Latitude of the location, in degrees north of the equator. Note this field may
# not be available for some locations.
# Corresponds to the JSON property `latitude`
@ -906,7 +883,6 @@ module Google
def update!(**args)
@address = args[:address] if args.key?(:address)
@end_date = args[:end_date] if args.key?(:end_date)
@id = args[:id] if args.key?(:id)
@latitude = args[:latitude] if args.key?(:latitude)
@longitude = args[:longitude] if args.key?(:longitude)
@name = args[:name] if args.key?(:name)

View File

@ -147,7 +147,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :election_administration_body, as: 'electionAdministrationBody', class: Google::Apis::CivicinfoV2::AdministrativeBody, decorator: Google::Apis::CivicinfoV2::AdministrativeBody::Representation
property :id, as: 'id'
property :local_jurisdiction, as: 'local_jurisdiction', class: Google::Apis::CivicinfoV2::AdministrationRegion, decorator: Google::Apis::CivicinfoV2::AdministrationRegion::Representation
property :name, as: 'name'
@ -213,7 +212,6 @@ module Google
property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation
property :electorate_specifications, as: 'electorateSpecifications'
property :id, as: 'id'
collection :level, as: 'level'
property :number_elected, :numeric_string => true, as: 'numberElected'
property :number_voting_for, :numeric_string => true, as: 'numberVotingFor'
@ -339,7 +337,6 @@ module Google
property :address, as: 'address', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
property :end_date, as: 'endDate'
property :id, as: 'id'
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
property :name, as: 'name'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20201006'
REVISION = '20201012'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -3571,7 +3571,8 @@ module Google
class LocalInventory
include Google::Apis::Core::Hashable
# Availability of the product.
# Availability of the product. For accepted attribute values, see the local
# product inventory feed specification.
# Corresponds to the JSON property `availability`
# @return [String]
attr_accessor :availability
@ -3588,13 +3589,15 @@ module Google
attr_accessor :kind
# Supported pickup method for this offer. Unless the value is "not supported",
# this field must be submitted together with `pickupSla`.
# this field must be submitted together with `pickupSla`. For accepted attribute
# values, see the local product inventory feed specification.
# Corresponds to the JSON property `pickupMethod`
# @return [String]
attr_accessor :pickup_method
# Expected date that an order will be ready for pickup relative to the order
# date. Must be submitted together with `pickupMethod`.
# date. Must be submitted together with `pickupMethod`. For accepted attribute
# values, see the local product inventory feed specification.
# Corresponds to the JSON property `pickupSla`
# @return [String]
attr_accessor :pickup_sla

View File

@ -25,7 +25,7 @@ module Google
# @see http://developers.google.com/cloud-dns
module DnsV1
VERSION = 'V1'
REVISION = '20200927'
REVISION = '20201003'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1304,6 +1304,179 @@ module Google
end
end
# A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
# dynamically with the response varying based on configured properties such as
# geolocation or by weighted random selection.
class RrSetRoutingPolicy
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `geoPolicy`
# @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
attr_accessor :geo_policy
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
#
# Corresponds to the JSON property `wrrPolicy`
# @return [Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy]
attr_accessor :wrr_policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@geo_policy = args[:geo_policy] if args.key?(:geo_policy)
@kind = args[:kind] if args.key?(:kind)
@wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
end
end
#
class RrSetRoutingPolicyGeoPolicy
include Google::Apis::Core::Hashable
# If the health check for the primary target for a geo location returns an
# unhealthy status, the failover target is returned instead. This failover
# configuration is not mandatory. If a failover is not provided, the primary
# target won't be healthchecked - we'll return the primarily configured rrdata
# irrespective of whether it is healthy or not.
# Corresponds to the JSON property `failovers`
# @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
attr_accessor :failovers
# The primary geo routing configuration. If there are multiple items with the
# same location, an error is returned instead.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
attr_accessor :items
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@failovers = args[:failovers] if args.key?(:failovers)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The geo-location granularity is a GCP region. This location string should
# correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1",
# etc.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
#
# Corresponds to the JSON property `rrdatas`
# @return [Array<String>]
attr_accessor :rrdatas
# DNSSEC generated signatures for the above geo_rrdata.
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array<String>]
attr_accessor :signature_rrdatas
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@location = args[:location] if args.key?(:location)
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
end
end
#
class RrSetRoutingPolicyWrrPolicy
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
attr_accessor :items
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
#
# Corresponds to the JSON property `rrdatas`
# @return [Array<String>]
attr_accessor :rrdatas
# DNSSEC generated signatures for the above wrr_rrdata.
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array<String>]
attr_accessor :signature_rrdatas
# The weight corresponding to this subset of rrdata. When multiple
# WeightedRoundRobinPolicyItems are configured, the probability of returning an
# rrset is proportional to its weight relative to the sum of weights configured
# for all items. This weight should be a decimal in the range [0,1].
# Corresponds to the JSON property `weight`
# @return [Float]
attr_accessor :weight
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
@weight = args[:weight] if args.key?(:weight)
end
end
# A unit of data that will be returned by the DNS servers.
class ResourceRecordSet
include Google::Apis::Core::Hashable
@ -1318,6 +1491,13 @@ module Google
# @return [String]
attr_accessor :name
# A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
# dynamically with the response varying based on configured properties such as
# geolocation or by weighted random selection.
# Corresponds to the JSON property `routingPolicy`
# @return [Google::Apis::DnsV1::RrSetRoutingPolicy]
attr_accessor :routing_policy
# As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
# examples.
# Corresponds to the JSON property `rrdatas`
@ -1348,6 +1528,7 @@ module Google
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@routing_policy = args[:routing_policy] if args.key?(:routing_policy)
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
@ttl = args[:ttl] if args.key?(:ttl)

View File

@ -196,6 +196,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyGeoPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyWrrPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceRecordSet
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -553,11 +583,64 @@ module Google
end
end
class RrSetRoutingPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy::Representation
property :kind, as: 'kind'
property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicy::Representation
end
end
class RrSetRoutingPolicyGeoPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :failovers, as: 'failovers', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
property :kind, as: 'kind'
end
end
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :location, as: 'location'
collection :rrdatas, as: 'rrdatas'
collection :signature_rrdatas, as: 'signatureRrdatas'
end
end
class RrSetRoutingPolicyWrrPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
property :kind, as: 'kind'
end
end
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :rrdatas, as: 'rrdatas'
collection :signature_rrdatas, as: 'signatureRrdatas'
property :weight, as: 'weight'
end
end
class ResourceRecordSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :name, as: 'name'
property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicy::Representation
collection :rrdatas, as: 'rrdatas'
collection :signature_rrdatas, as: 'signatureRrdatas'
property :ttl, as: 'ttl'

View File

@ -25,7 +25,7 @@ module Google
# @see http://developers.google.com/cloud-dns
module DnsV1beta2
VERSION = 'V1beta2'
REVISION = '20200927'
REVISION = '20201003'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1369,6 +1369,179 @@ module Google
end
end
# A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
# dynamically with the response varying based on configured properties such as
# geolocation or by weighted random selection.
class RrSetRoutingPolicy
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `geoPolicy`
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
attr_accessor :geo_policy
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
#
# Corresponds to the JSON property `wrrPolicy`
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
attr_accessor :wrr_policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@geo_policy = args[:geo_policy] if args.key?(:geo_policy)
@kind = args[:kind] if args.key?(:kind)
@wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
end
end
#
class RrSetRoutingPolicyGeoPolicy
include Google::Apis::Core::Hashable
# If the health check for the primary target for a geo location returns an
# unhealthy status, the failover target is returned instead. This failover
# configuration is not mandatory. If a failover is not provided, the primary
# target won't be healthchecked - we'll return the primarily configured rrdata
# irrespective of whether it is healthy or not.
# Corresponds to the JSON property `failovers`
# @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
attr_accessor :failovers
# The primary geo routing configuration. If there are multiple items with the
# same location, an error is returned instead.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem>]
attr_accessor :items
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@failovers = args[:failovers] if args.key?(:failovers)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The geo-location granularity is a GCP region. This location string should
# correspond to a GCP region. e.g "us-east1", "southamerica-east1", "asia-east1",
# etc.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
#
# Corresponds to the JSON property `rrdatas`
# @return [Array<String>]
attr_accessor :rrdatas
# DNSSEC generated signatures for the above geo_rrdata.
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array<String>]
attr_accessor :signature_rrdatas
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@location = args[:location] if args.key?(:location)
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
end
end
#
class RrSetRoutingPolicyWrrPolicy
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem>]
attr_accessor :items
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
#
# Corresponds to the JSON property `rrdatas`
# @return [Array<String>]
attr_accessor :rrdatas
# DNSSEC generated signatures for the above wrr_rrdata.
# Corresponds to the JSON property `signatureRrdatas`
# @return [Array<String>]
attr_accessor :signature_rrdatas
# The weight corresponding to this subset of rrdata. When multiple
# WeightedRoundRobinPolicyItems are configured, the probability of returning an
# rrset is proportional to its weight relative to the sum of weights configured
# for all items. This weight should be a decimal in the range [0,1].
# Corresponds to the JSON property `weight`
# @return [Float]
attr_accessor :weight
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
@weight = args[:weight] if args.key?(:weight)
end
end
# A unit of data that will be returned by the DNS servers.
class ResourceRecordSet
include Google::Apis::Core::Hashable
@ -1383,6 +1556,13 @@ module Google
# @return [String]
attr_accessor :name
# A RRSetRoutingPolicy represents ResourceRecordSet data that will be returned
# dynamically with the response varying based on configured properties such as
# geolocation or by weighted random selection.
# Corresponds to the JSON property `routingPolicy`
# @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicy]
attr_accessor :routing_policy
# As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
# examples.
# Corresponds to the JSON property `rrdatas`
@ -1413,6 +1593,7 @@ module Google
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@routing_policy = args[:routing_policy] if args.key?(:routing_policy)
@rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
@ttl = args[:ttl] if args.key?(:ttl)

View File

@ -208,6 +208,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyGeoPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyWrrPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceRecordSet
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -585,11 +615,64 @@ module Google
end
end
class RrSetRoutingPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
property :kind, as: 'kind'
property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
end
end
class RrSetRoutingPolicyGeoPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :failovers, as: 'failovers', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
property :kind, as: 'kind'
end
end
class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :location, as: 'location'
collection :rrdatas, as: 'rrdatas'
collection :signature_rrdatas, as: 'signatureRrdatas'
end
end
class RrSetRoutingPolicyWrrPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicyWrrPolicyItem::Representation
property :kind, as: 'kind'
end
end
class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :rrdatas, as: 'rrdatas'
collection :signature_rrdatas, as: 'signatureRrdatas'
property :weight, as: 'weight'
end
end
class ResourceRecordSet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :name, as: 'name'
property :routing_policy, as: 'routingPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicy::Representation
collection :rrdatas, as: 'rrdatas'
collection :signature_rrdatas, as: 'signatureRrdatas'
property :ttl, as: 'ttl'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/v1/get-started
module FitnessV1
VERSION = 'V1'
REVISION = '20201006'
REVISION = '20201012'
# Use Google Fit to see and store your physical activity data
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'

View File

@ -359,7 +359,9 @@ module Google
# @param [Fixnum] limit
# If specified, no more than this many data points will be included in the
# dataset. If there are more data points in the dataset, nextPageToken will be
# set in the dataset response.
# set in the dataset response. The limit is applied from the end of the time
# range. That is, if pageToken is absent, the limit most recent data points will
# be returned.
# @param [String] page_token
# The continuation token, which is used to page through large datasets. To get
# the next page of a dataset, set this parameter to the value of nextPageToken

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/solutions/gaming/
module GameservicesV1
VERSION = 'V1'
REVISION = '20200827'
REVISION = '20201008'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -699,8 +699,8 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Required. The resource name of the game server cluster. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# Required. The resource name of the game server cluster, in the following form:
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# cluster``. For example, `projects/my-project/locations/`location`/realms/
# zanzibar/gameServerClusters/my-onprem-cluster`.
# Corresponds to the JSON property `name`
@ -781,10 +781,10 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The resource name of the game server config. Uses the form: `projects/`project`
# /locations/`location`/gameServerDeployments/`deployment`/configs/`config``.
# For example, `projects/my-project/locations/global/gameServerDeployments/my-
# game/configs/my-config`.
# The resource name of the game server config, in the following form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment`/configs/`
# config``. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-game/configs/my-config`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -865,9 +865,10 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The resource name of the game server deployment. Uses the form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment``. For example,
# `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
# The resource name of the game server deployment, in the following form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# For example, `projects/my-project/locations/global/gameServerDeployments/my-
# deployment`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -920,8 +921,8 @@ module Google
# @return [Array<Google::Apis::GameservicesV1::GameServerConfigOverride>]
attr_accessor :game_server_config_overrides
# The resource name of the game server deployment rollout. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# The resource name of the game server deployment rollout, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-deployment/rollout`.
# Corresponds to the JSON property `name`
@ -1690,9 +1691,9 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The resource name of the realm. Uses the form: `projects/`project`/locations/`
# location`/realms/`realm``. For example, `projects/my-project/locations/`
# location`/realms/my-realm`.
# The resource name of the realm, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``. For example, `projects/my-project/
# locations/`location`/realms/my-realm`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -121,7 +121,7 @@ module Google
# Creates a new game server deployment in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [Google::Apis::GameservicesV1::GameServerDeployment] game_server_deployment_object
# @param [String] deployment_id
@ -158,8 +158,9 @@ module Google
# Deletes a single game server deployment.
# @param [String] name
# Required. The name of the game server delpoyment to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# Required. The name of the game server delpoyment to delete, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -191,8 +192,8 @@ module Google
# Gathers all the Agones fleets and Agones autoscalers, including fleets running
# an older version of the game server deployment.
# @param [String] name
# Required. The name of the game server delpoyment. Uses the form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment``.
# Required. The name of the game server delpoyment, in the following form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# @param [Google::Apis::GameservicesV1::FetchDeploymentStateRequest] fetch_deployment_state_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -225,8 +226,9 @@ module Google
# Gets details of a single game server deployment.
# @param [String] name
# Required. The name of the game server delpoyment to retrieve. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# Required. The name of the game server delpoyment to retrieve, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -297,9 +299,9 @@ module Google
# Gets details a single game server deployment rollout.
# @param [String] name
# Required. The name of the game server delpoyment to retrieve. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`.
# Required. The name of the game server delpoyment to retrieve, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment`/rollout`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -329,7 +331,7 @@ module Google
# Lists game server deployments in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [String] filter
# Optional. The filter to apply to list results.
@ -377,9 +379,10 @@ module Google
# Patches a game server deployment.
# @param [String] name
# The resource name of the game server deployment. Uses the form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment``. For example,
# `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
# The resource name of the game server deployment, in the following form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# For example, `projects/my-project/locations/global/gameServerDeployments/my-
# deployment`.
# @param [Google::Apis::GameservicesV1::GameServerDeployment] game_server_deployment_object
# @param [String] update_mask
# Required. Mask of fields to update. At least one path must be supplied in this
@ -418,8 +421,8 @@ module Google
# Previews the game server deployment rollout. This API does not mutate the
# rollout resource.
# @param [String] name
# The resource name of the game server deployment rollout. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# The resource name of the game server deployment rollout, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-deployment/rollout`.
# @param [Google::Apis::GameservicesV1::GameServerDeploymentRollout] game_server_deployment_rollout_object
@ -541,8 +544,8 @@ module Google
# that is valid. Similarly, if a non existing realm is explicitly called out in
# game_server_config_overrides field, that will also not result in an error.
# @param [String] name
# The resource name of the game server deployment rollout. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# The resource name of the game server deployment rollout, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-deployment/rollout`.
# @param [Google::Apis::GameservicesV1::GameServerDeploymentRollout] game_server_deployment_rollout_object
@ -584,7 +587,7 @@ module Google
# deployment. Game server configs are immutable, and are not applied until
# referenced in the game server deployment rollout resource.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/gameServerDeployments/`deployment`/`.
# @param [Google::Apis::GameservicesV1::GameServerConfig] game_server_config_object
# @param [String] config_id
@ -622,8 +625,8 @@ module Google
# Deletes a single game server config. The deletion will fail if the game server
# config is referenced in a game server deployment rollout.
# @param [String] name
# Required. The name of the game server config to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# Required. The name of the game server config to delete, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# configs/`config``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -654,9 +657,9 @@ module Google
# Gets details of a single game server config.
# @param [String] name
# Required. The name of the game server config to retrieve. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# configs/`config``.
# Required. The name of the game server config to retrieve, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment`/configs/`config``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -687,7 +690,7 @@ module Google
# Lists game server configs in a given project, location, and game server
# deployment.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/gameServerDeployments/`deployment`/configs/*`.
# @param [String] filter
# Optional. The filter to apply to list results.
@ -885,7 +888,7 @@ module Google
# Creates a new realm in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [Google::Apis::GameservicesV1::Realm] realm_object
# @param [String] realm_id
@ -922,8 +925,8 @@ module Google
# Deletes a single realm.
# @param [String] name
# Required. The name of the realm to delete. Uses the form: `projects/`project`/
# locations/`location`/realms/`realm``.
# Required. The name of the realm to delete, in the following form: `projects/`
# project`/locations/`location`/realms/`realm``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -953,8 +956,8 @@ module Google
# Gets details of a single realm.
# @param [String] name
# Required. The name of the realm to retrieve. Uses the form: `projects/`project`
# /locations/`location`/realms/`realm``.
# Required. The name of the realm to retrieve, in the following form: `projects/`
# project`/locations/`location`/realms/`realm``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -984,7 +987,7 @@ module Google
# Lists realms in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [String] filter
# Optional. The filter to apply to list results.
@ -1032,9 +1035,9 @@ module Google
# Patches a single realm.
# @param [String] name
# The resource name of the realm. Uses the form: `projects/`project`/locations/`
# location`/realms/`realm``. For example, `projects/my-project/locations/`
# location`/realms/my-realm`.
# The resource name of the realm, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``. For example, `projects/my-project/
# locations/`location`/realms/my-realm`.
# @param [Google::Apis::GameservicesV1::Realm] realm_object
# @param [String] update_mask
# Required. The update mask applies to the resource. For the `FieldMask`
@ -1072,9 +1075,9 @@ module Google
# Previews patches to a single realm.
# @param [String] name
# The resource name of the realm. Uses the form: `projects/`project`/locations/`
# location`/realms/`realm``. For example, `projects/my-project/locations/`
# location`/realms/my-realm`.
# The resource name of the realm, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``. For example, `projects/my-project/
# locations/`location`/realms/my-realm`.
# @param [Google::Apis::GameservicesV1::Realm] realm_object
# @param [String] preview_time
# Optional. The target timestamp to compute the preview.
@ -1115,7 +1118,7 @@ module Google
# Creates a new game server cluster in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/realms/`realm-id``.
# @param [Google::Apis::GameservicesV1::GameServerCluster] game_server_cluster_object
# @param [String] game_server_cluster_id
@ -1152,8 +1155,8 @@ module Google
# Deletes a single game server cluster.
# @param [String] name
# Required. The name of the game server cluster to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# Required. The name of the game server cluster to delete, in the following form:
# `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1183,9 +1186,9 @@ module Google
# Gets details of a single game server cluster.
# @param [String] name
# Required. The name of the game server cluster to retrieve. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm-id`/gameServerClusters/`
# cluster``.
# Required. The name of the game server cluster to retrieve, in the following
# form: `projects/`project`/locations/`location`/realms/`realm-id`/
# gameServerClusters/`cluster``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1215,7 +1218,7 @@ module Google
# Lists game server clusters in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: "projects/`project`/
# Required. The parent resource name, in the following form: "projects/`project`/
# locations/`location`/realms/`realm`".
# @param [String] filter
# Optional. The filter to apply to list results.
@ -1263,8 +1266,8 @@ module Google
# Patches a single game server cluster.
# @param [String] name
# Required. The resource name of the game server cluster. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# Required. The resource name of the game server cluster, in the following form:
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# cluster``. For example, `projects/my-project/locations/`location`/realms/
# zanzibar/gameServerClusters/my-onprem-cluster`.
# @param [Google::Apis::GameservicesV1::GameServerCluster] game_server_cluster_object
@ -1304,7 +1307,7 @@ module Google
# Previews creation of a new game server cluster in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``.
# @param [Google::Apis::GameservicesV1::GameServerCluster] game_server_cluster_object
# @param [String] game_server_cluster_id
@ -1344,8 +1347,8 @@ module Google
# Previews deletion of a single game server cluster.
# @param [String] name
# Required. The name of the game server cluster to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# Required. The name of the game server cluster to delete, in the following form:
# `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# @param [String] preview_time
# Optional. The target timestamp to compute the preview.
# @param [String] fields
@ -1378,8 +1381,8 @@ module Google
# Previews updating a GameServerCluster.
# @param [String] name
# Required. The resource name of the game server cluster. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# Required. The resource name of the game server cluster, in the following form:
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# cluster``. For example, `projects/my-project/locations/`location`/realms/
# zanzibar/gameServerClusters/my-onprem-cluster`.
# @param [Google::Apis::GameservicesV1::GameServerCluster] game_server_cluster_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/solutions/gaming/
module GameservicesV1beta
VERSION = 'V1beta'
REVISION = '20200827'
REVISION = '20201008'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -699,8 +699,8 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Required. The resource name of the game server cluster. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# Required. The resource name of the game server cluster, in the following form:
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# cluster``. For example, `projects/my-project/locations/`location`/realms/
# zanzibar/gameServerClusters/my-onprem-cluster`.
# Corresponds to the JSON property `name`
@ -781,10 +781,10 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The resource name of the game server config. Uses the form: `projects/`project`
# /locations/`location`/gameServerDeployments/`deployment`/configs/`config``.
# For example, `projects/my-project/locations/global/gameServerDeployments/my-
# game/configs/my-config`.
# The resource name of the game server config, in the following form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment`/configs/`
# config``. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-game/configs/my-config`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -865,9 +865,10 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The resource name of the game server deployment. Uses the form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment``. For example,
# `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
# The resource name of the game server deployment, in the following form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# For example, `projects/my-project/locations/global/gameServerDeployments/my-
# deployment`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -920,8 +921,8 @@ module Google
# @return [Array<Google::Apis::GameservicesV1beta::GameServerConfigOverride>]
attr_accessor :game_server_config_overrides
# The resource name of the game server deployment rollout. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# The resource name of the game server deployment rollout, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-deployment/rollout`.
# Corresponds to the JSON property `name`
@ -1690,9 +1691,9 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The resource name of the realm. Uses the form: `projects/`project`/locations/`
# location`/realms/`realm``. For example, `projects/my-project/locations/`
# location`/realms/my-realm`.
# The resource name of the realm, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``. For example, `projects/my-project/
# locations/`location`/realms/my-realm`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -121,7 +121,7 @@ module Google
# Creates a new game server deployment in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [Google::Apis::GameservicesV1beta::GameServerDeployment] game_server_deployment_object
# @param [String] deployment_id
@ -158,8 +158,9 @@ module Google
# Deletes a single game server deployment.
# @param [String] name
# Required. The name of the game server delpoyment to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# Required. The name of the game server delpoyment to delete, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -191,8 +192,8 @@ module Google
# Gathers all the Agones fleets and Agones autoscalers, including fleets running
# an older version of the game server deployment.
# @param [String] name
# Required. The name of the game server delpoyment. Uses the form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment``.
# Required. The name of the game server delpoyment, in the following form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# @param [Google::Apis::GameservicesV1beta::FetchDeploymentStateRequest] fetch_deployment_state_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -225,8 +226,9 @@ module Google
# Gets details of a single game server deployment.
# @param [String] name
# Required. The name of the game server delpoyment to retrieve. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# Required. The name of the game server delpoyment to retrieve, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -297,9 +299,9 @@ module Google
# Gets details a single game server deployment rollout.
# @param [String] name
# Required. The name of the game server delpoyment to retrieve. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`.
# Required. The name of the game server delpoyment to retrieve, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment`/rollout`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -329,7 +331,7 @@ module Google
# Lists game server deployments in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [String] filter
# Optional. The filter to apply to list results.
@ -377,9 +379,10 @@ module Google
# Patches a game server deployment.
# @param [String] name
# The resource name of the game server deployment. Uses the form: `projects/`
# project`/locations/`location`/gameServerDeployments/`deployment``. For example,
# `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
# The resource name of the game server deployment, in the following form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment``.
# For example, `projects/my-project/locations/global/gameServerDeployments/my-
# deployment`.
# @param [Google::Apis::GameservicesV1beta::GameServerDeployment] game_server_deployment_object
# @param [String] update_mask
# Required. Mask of fields to update. At least one path must be supplied in this
@ -418,8 +421,8 @@ module Google
# Previews the game server deployment rollout. This API does not mutate the
# rollout resource.
# @param [String] name
# The resource name of the game server deployment rollout. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# The resource name of the game server deployment rollout, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-deployment/rollout`.
# @param [Google::Apis::GameservicesV1beta::GameServerDeploymentRollout] game_server_deployment_rollout_object
@ -541,8 +544,8 @@ module Google
# that is valid. Similarly, if a non existing realm is explicitly called out in
# game_server_config_overrides field, that will also not result in an error.
# @param [String] name
# The resource name of the game server deployment rollout. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# The resource name of the game server deployment rollout, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# rollout`. For example, `projects/my-project/locations/global/
# gameServerDeployments/my-deployment/rollout`.
# @param [Google::Apis::GameservicesV1beta::GameServerDeploymentRollout] game_server_deployment_rollout_object
@ -584,7 +587,7 @@ module Google
# deployment. Game server configs are immutable, and are not applied until
# referenced in the game server deployment rollout resource.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/gameServerDeployments/`deployment`/`.
# @param [Google::Apis::GameservicesV1beta::GameServerConfig] game_server_config_object
# @param [String] config_id
@ -622,8 +625,8 @@ module Google
# Deletes a single game server config. The deletion will fail if the game server
# config is referenced in a game server deployment rollout.
# @param [String] name
# Required. The name of the game server config to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# Required. The name of the game server config to delete, in the following form:
# `projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# configs/`config``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -654,9 +657,9 @@ module Google
# Gets details of a single game server config.
# @param [String] name
# Required. The name of the game server config to retrieve. Uses the form: `
# projects/`project`/locations/`location`/gameServerDeployments/`deployment`/
# configs/`config``.
# Required. The name of the game server config to retrieve, in the following
# form: `projects/`project`/locations/`location`/gameServerDeployments/`
# deployment`/configs/`config``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -687,7 +690,7 @@ module Google
# Lists game server configs in a given project, location, and game server
# deployment.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/gameServerDeployments/`deployment`/configs/*`.
# @param [String] filter
# Optional. The filter to apply to list results.
@ -885,7 +888,7 @@ module Google
# Creates a new realm in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [Google::Apis::GameservicesV1beta::Realm] realm_object
# @param [String] realm_id
@ -922,8 +925,8 @@ module Google
# Deletes a single realm.
# @param [String] name
# Required. The name of the realm to delete. Uses the form: `projects/`project`/
# locations/`location`/realms/`realm``.
# Required. The name of the realm to delete, in the following form: `projects/`
# project`/locations/`location`/realms/`realm``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -953,8 +956,8 @@ module Google
# Gets details of a single realm.
# @param [String] name
# Required. The name of the realm to retrieve. Uses the form: `projects/`project`
# /locations/`location`/realms/`realm``.
# Required. The name of the realm to retrieve, in the following form: `projects/`
# project`/locations/`location`/realms/`realm``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -984,7 +987,7 @@ module Google
# Lists realms in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location``.
# @param [String] filter
# Optional. The filter to apply to list results.
@ -1032,9 +1035,9 @@ module Google
# Patches a single realm.
# @param [String] name
# The resource name of the realm. Uses the form: `projects/`project`/locations/`
# location`/realms/`realm``. For example, `projects/my-project/locations/`
# location`/realms/my-realm`.
# The resource name of the realm, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``. For example, `projects/my-project/
# locations/`location`/realms/my-realm`.
# @param [Google::Apis::GameservicesV1beta::Realm] realm_object
# @param [String] update_mask
# Required. The update mask applies to the resource. For the `FieldMask`
@ -1072,9 +1075,9 @@ module Google
# Previews patches to a single realm.
# @param [String] name
# The resource name of the realm. Uses the form: `projects/`project`/locations/`
# location`/realms/`realm``. For example, `projects/my-project/locations/`
# location`/realms/my-realm`.
# The resource name of the realm, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``. For example, `projects/my-project/
# locations/`location`/realms/my-realm`.
# @param [Google::Apis::GameservicesV1beta::Realm] realm_object
# @param [String] preview_time
# Optional. The target timestamp to compute the preview.
@ -1115,7 +1118,7 @@ module Google
# Creates a new game server cluster in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/realms/`realm-id``.
# @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
# @param [String] game_server_cluster_id
@ -1152,8 +1155,8 @@ module Google
# Deletes a single game server cluster.
# @param [String] name
# Required. The name of the game server cluster to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# Required. The name of the game server cluster to delete, in the following form:
# `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1183,9 +1186,9 @@ module Google
# Gets details of a single game server cluster.
# @param [String] name
# Required. The name of the game server cluster to retrieve. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm-id`/gameServerClusters/`
# cluster``.
# Required. The name of the game server cluster to retrieve, in the following
# form: `projects/`project`/locations/`location`/realms/`realm-id`/
# gameServerClusters/`cluster``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1215,7 +1218,7 @@ module Google
# Lists game server clusters in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: "projects/`project`/
# Required. The parent resource name, in the following form: "projects/`project`/
# locations/`location`/realms/`realm`".
# @param [String] filter
# Optional. The filter to apply to list results.
@ -1263,8 +1266,8 @@ module Google
# Patches a single game server cluster.
# @param [String] name
# Required. The resource name of the game server cluster. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# Required. The resource name of the game server cluster, in the following form:
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# cluster``. For example, `projects/my-project/locations/`location`/realms/
# zanzibar/gameServerClusters/my-onprem-cluster`.
# @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
@ -1304,7 +1307,7 @@ module Google
# Previews creation of a new game server cluster in a given project and location.
# @param [String] parent
# Required. The parent resource name. Uses the form: `projects/`project`/
# Required. The parent resource name, in the following form: `projects/`project`/
# locations/`location`/realms/`realm``.
# @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object
# @param [String] game_server_cluster_id
@ -1344,8 +1347,8 @@ module Google
# Previews deletion of a single game server cluster.
# @param [String] name
# Required. The name of the game server cluster to delete. Uses the form: `
# projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# Required. The name of the game server cluster to delete, in the following form:
# `projects/`project`/locations/`location`/gameServerClusters/`cluster``.
# @param [String] preview_time
# Optional. The target timestamp to compute the preview.
# @param [String] fields
@ -1378,8 +1381,8 @@ module Google
# Previews updating a GameServerCluster.
# @param [String] name
# Required. The resource name of the game server cluster. Uses the form: `
# projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# Required. The resource name of the game server cluster, in the following form:
# `projects/`project`/locations/`location`/realms/`realm`/gameServerClusters/`
# cluster``. For example, `projects/my-project/locations/`location`/realms/
# zanzibar/gameServerClusters/my-onprem-cluster`.
# @param [Google::Apis::GameservicesV1beta::GameServerCluster] game_server_cluster_object

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/admin-sdk/licensing/
module LicensingV1
VERSION = 'V1'
REVISION = '20201005'
REVISION = '20201010'
# View and manage G Suite licenses for your domain
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'

View File

@ -44,8 +44,8 @@ module Google
attr_accessor :quota_user
def initialize
super('https://licensing.googleapis.com/', '')
@batch_path = 'batch'
super('https://www.googleapis.com/', '')
@batch_path = 'batch/licensing/v1'
end
# Revoke a license.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/managed-microsoft-ad/
module ManagedidentitiesV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200925'
REVISION = '20201007'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -161,13 +161,6 @@ module Google
class Domain
include Google::Apis::Core::Hashable
# Optional. Configuration for audit logs. True if audit logs are enabled, else
# false. Default is audit logs disabled.
# Corresponds to the JSON property `auditLogsEnabled`
# @return [Boolean]
attr_accessor :audit_logs_enabled
alias_method :audit_logs_enabled?, :audit_logs_enabled
# Optional. The full names of the Google Compute Engine [networks](/compute/docs/
# networks-and-firewalls#networks) to which the instance is connected. Network
# can be added using UpdateDomain later. Domain is only available on network
@ -250,7 +243,6 @@ module Google
# Update properties of this object
def update!(**args)
@audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled)
@authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
@create_time = args[:create_time] if args.key?(:create_time)
@fqdn = args[:fqdn] if args.key?(:fqdn)
@ -529,7 +521,7 @@ module Google
attr_accessor :maintenance_policy_names
# The MaintenanceSchedule contains the scheduling information of published
# maintenance schedule.
# maintenance schedule with same key as software_versions.
# Corresponds to the JSON property `maintenanceSchedules`
# @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
attr_accessor :maintenance_schedules
@ -964,6 +956,39 @@ module Google
end
end
# ListSQLIntegrationsResponse is the response message for ListSQLIntegrations
# method.
class ListSqlIntegrationsResponse
include Google::Apis::Core::Hashable
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# A list of SQLIntegrations of a domain.
# Corresponds to the JSON property `sqlIntegrations`
# @return [Array<Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration>]
attr_accessor :sql_integrations
# A list of locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
# A resource that represents Google Cloud Platform location.
class Location
include Google::Apis::Core::Hashable
@ -1270,6 +1295,52 @@ module Google
end
end
# Represents the SQL instance integrated with AD.
class SqlIntegration
include Google::Apis::Core::Hashable
# Output only. The time the instance was created. Synthetic field is populated
# automatically by CCFE. go/ccfe-synthetic-field-user-guide
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The unique name of the sql integration in the form of `projects/`project_id`/
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of an integrated sql instance
# Corresponds to the JSON property `sqlInstance`
# @return [String]
attr_accessor :sql_instance
# Output only. The current state of the managed OU.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only. Last update time. Synthetic field is populated automatically by
# CCFE.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@name = args[:name] if args.key?(:name)
@sql_instance = args[:sql_instance] if args.key?(:sql_instance)
@state = args[:state] if args.key?(:state)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
# Request message for `SetIamPolicy` method.
class SetIamPolicyRequest
include Google::Apis::Core::Hashable

View File

@ -148,6 +148,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListSqlIntegrationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -190,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SqlIntegration
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -262,7 +274,6 @@ module Google
class Domain
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audit_logs_enabled, as: 'auditLogsEnabled'
collection :authorized_networks, as: 'authorizedNetworks'
property :create_time, as: 'createTime'
property :fqdn, as: 'fqdn'
@ -450,6 +461,16 @@ module Google
end
end
class ListSqlIntegrationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration::Representation
collection :unreachable, as: 'unreachable'
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -517,6 +538,17 @@ module Google
end
end
class SqlIntegration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :name, as: 'name'
property :sql_instance, as: 'sqlInstance'
property :state, as: 'state'
property :update_time, as: 'updateTime'
end
end
class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -83,8 +83,6 @@ module Google
# The resource that owns the locations collection, if applicable.
# @param [String] filter
# The standard list filter.
# @param [Boolean] include_unrevealed_locations
# If true, the returned list will include locations which are not yet revealed.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
@ -106,13 +104,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse::Representation
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
@ -391,7 +388,7 @@ module Google
# @param [String] update_mask
# Mask of fields to update. At least one path must be supplied in this field.
# The elements of the repeated paths field may only include these fields from
# Domain: * `labels` * `locations` * `authorized_networks`
# Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -599,6 +596,87 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets details of a single sqlIntegration.
# @param [String] name
# Required. MangedOU resource name using the form: `projects/`project_id`/
# locations/global/domains/*/sqlIntegrations/`name``
# @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::ManagedidentitiesV1alpha1::SqlIntegration] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration]
#
# @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_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration::Representation
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists SQLIntegrations in a given domain.
# @param [String] parent
# Required. The resource name of the SqlIntegrations using the form: `projects/`
# project_id`/locations/global/domains/*`
# @param [String] filter
# Optional. Filter specifying constraints of a list operation. For example, `
# SqlIntegration.name="sql"`.
# @param [String] order_by
# Optional. Specifies the ordering of results following syntax at https://cloud.
# google.com/apis/design/design_patterns#sorting_order.
# @param [Fixnum] page_size
# Optional. The maximum number of items to return. If not specified, a default
# value of 1000 will be used by the service. Regardless of the page_size value,
# the response may include a partial list and a caller should only rely on
# response'ANIZATIONs next_page_token to determine if there are more instances
# left to be queried.
# @param [String] page_token
# Optional. The next_page_token value returned from a previous List request, if
# any.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_global_domain_sql_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1alpha1/{+parent}/sqlIntegrations', options)
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse::Representation
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['orderBy'] = order_by unless order_by.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. If the
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.