Autogenerated update (2019-09-12)
Update: - androidenterprise_v1 - androidpublisher_v2 - androidpublisher_v3 - calendar_v3 - dns_v1 - dns_v1beta2 - dns_v2beta1 - iam_v1 - iap_v1beta1 - people_v1 - videointelligence_v1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1
This commit is contained in:
parent
ff6e355443
commit
c465b5c707
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190731'
|
||||
REVISION = '20190908'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
|
|
@ -1546,11 +1546,6 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :last_updated_timestamp_millis
|
||||
|
||||
# The set of managed properties for this configuration.
|
||||
# Corresponds to the JSON property `managedProperty`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
||||
attr_accessor :managed_property
|
||||
|
||||
# The ID of the managed configurations settings.
|
||||
# Corresponds to the JSON property `mcmId`
|
||||
# @return [String]
|
||||
|
@ -1569,7 +1564,6 @@ module Google
|
|||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
||||
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
||||
@mcm_id = args[:mcm_id] if args.key?(:mcm_id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
|
|
|
@ -939,8 +939,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
||||
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
||||
|
||||
property :mcm_id, as: 'mcmId'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
|
|
|
@ -1848,8 +1848,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists all the managed configurations settings for the specified app. Only the
|
||||
# ID and the name is set.
|
||||
# Lists all the managed configurations settings for the specified app.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] product_id
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190818'
|
||||
REVISION = '20190910'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -1653,11 +1653,6 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :google_groups
|
||||
|
||||
# A list of all Google+ Communities, as URLs, that define testers for this track.
|
||||
# Corresponds to the JSON property `googlePlusCommunities`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :google_plus_communities
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1665,7 +1660,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@google_groups = args[:google_groups] if args.key?(:google_groups)
|
||||
@google_plus_communities = args[:google_plus_communities] if args.key?(:google_plus_communities)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -814,7 +814,6 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :google_groups, as: 'googleGroups'
|
||||
collection :google_plus_communities, as: 'googlePlusCommunities'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20190818'
|
||||
REVISION = '20190910'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -1800,11 +1800,6 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :google_groups
|
||||
|
||||
# A list of all Google+ Communities, as URLs, that define testers for this track.
|
||||
# Corresponds to the JSON property `googlePlusCommunities`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :google_plus_communities
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1812,7 +1807,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@google_groups = args[:google_groups] if args.key?(:google_groups)
|
||||
@google_plus_communities = args[:google_plus_communities] if args.key?(:google_plus_communities)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -881,7 +881,6 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :google_groups, as: 'googleGroups'
|
||||
collection :google_plus_communities, as: 'googlePlusCommunities'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20190903'
|
||||
REVISION = '20190910'
|
||||
|
||||
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
|
|
@ -1216,8 +1216,8 @@ module Google
|
|||
# @return [Google::Apis::CalendarV3::EventDateTime]
|
||||
attr_accessor :original_start_time
|
||||
|
||||
# Whether this is a private event copy where changes are not shared with other
|
||||
# copies on other calendars. Optional. Immutable. The default is False.
|
||||
# If set to True, Event propagation is disabled. Note that it is not the same
|
||||
# thing as Private event properties. Optional. Immutable. The default is False.
|
||||
# Corresponds to the JSON property `privateCopy`
|
||||
# @return [Boolean]
|
||||
attr_accessor :private_copy
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190625'
|
||||
REVISION = '20190903'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -369,6 +369,13 @@ module Google
|
|||
# @return [Google::Apis::DnsV1::ManagedZoneDnsSecConfig]
|
||||
attr_accessor :dnssec_config
|
||||
|
||||
# The presence for this field indicates that outbound forwarding is enabled for
|
||||
# this zone. The value of this field contains the set of destinations to forward
|
||||
# to.
|
||||
# Corresponds to the JSON property `forwardingConfig`
|
||||
# @return [Google::Apis::DnsV1::ManagedZoneForwardingConfig]
|
||||
attr_accessor :forwarding_config
|
||||
|
||||
# Unique identifier for the resource; defined by the server (output only)
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -427,6 +434,7 @@ module Google
|
|||
@description = args[:description] if args.key?(:description)
|
||||
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
||||
@dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
|
||||
@forwarding_config = args[:forwarding_config] if args.key?(:forwarding_config)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
|
@ -442,8 +450,8 @@ module Google
|
|||
class ManagedZoneDnsSecConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies parameters that will be used for generating initial DnsKeys for this
|
||||
# ManagedZone. Can only be changed while state is OFF.
|
||||
# Specifies parameters for generating initial DnsKeys for this ManagedZone. Can
|
||||
# only be changed while the state is OFF.
|
||||
# Corresponds to the JSON property `defaultKeySpecs`
|
||||
# @return [Array<Google::Apis::DnsV1::DnsKeySpec>]
|
||||
attr_accessor :default_key_specs
|
||||
|
@ -454,8 +462,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Specifies the mechanism used to provide authenticated denial-of-existence
|
||||
# responses. Can only be changed while state is OFF.
|
||||
# Specifies the mechanism for authenticated denial-of-existence responses. Can
|
||||
# only be changed while the state is OFF.
|
||||
# Corresponds to the JSON property `nonExistence`
|
||||
# @return [String]
|
||||
attr_accessor :non_existence
|
||||
|
@ -478,6 +486,59 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedZoneForwardingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# managedZoneForwardingConfig".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# List of target name servers to forward to. Cloud DNS will select the best
|
||||
# available name server if more than one target is given.
|
||||
# Corresponds to the JSON property `targetNameServers`
|
||||
# @return [Array<Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget>]
|
||||
attr_accessor :target_name_servers
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# IPv4 address of a target name server.
|
||||
# Corresponds to the JSON property `ipv4Address`
|
||||
# @return [String]
|
||||
attr_accessor :ipv4_address
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# managedZoneForwardingConfigNameServerTarget".
|
||||
# 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)
|
||||
@ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedZoneOperationsListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -749,6 +810,247 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PoliciesListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Elements common to every response.
|
||||
# Corresponds to the JSON property `header`
|
||||
# @return [Google::Apis::DnsV1::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# Type of resource.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The presence of this field indicates that there exist more results following
|
||||
# your last page of results in pagination order. To fetch them, make another
|
||||
# list request using this value as your page token.
|
||||
# In this way you can retrieve the complete contents of even very large
|
||||
# collections one page at a time. However, if the contents of the collection
|
||||
# change between the first and last paginated list request, the set of all
|
||||
# elements returned will be an inconsistent view of the collection. There is no
|
||||
# way to retrieve a consistent snapshot of a collection larger than the maximum
|
||||
# page size.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The policy resources.
|
||||
# Corresponds to the JSON property `policies`
|
||||
# @return [Array<Google::Apis::DnsV1::Policy>]
|
||||
attr_accessor :policies
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header = args[:header] if args.key?(:header)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@policies = args[:policies] if args.key?(:policies)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PoliciesPatchResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Elements common to every response.
|
||||
# Corresponds to the JSON property `header`
|
||||
# @return [Google::Apis::DnsV1::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# 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::DnsV1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header = args[:header] if args.key?(:header)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PoliciesUpdateResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Elements common to every response.
|
||||
# Corresponds to the JSON property `header`
|
||||
# @return [Google::Apis::DnsV1::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# 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::DnsV1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header = args[:header] if args.key?(:header)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
end
|
||||
end
|
||||
|
||||
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
||||
# Cloud resources.
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Sets an alternative name server for the associated networks. When specified,
|
||||
# all DNS queries are forwarded to a name server that you choose. Names such as .
|
||||
# internal are not available when an alternative name server is specified.
|
||||
# Corresponds to the JSON property `alternativeNameServerConfig`
|
||||
# @return [Google::Apis::DnsV1::PolicyAlternativeNameServerConfig]
|
||||
attr_accessor :alternative_name_server_config
|
||||
|
||||
# A mutable string of at most 1024 characters associated with this resource for
|
||||
# the user's convenience. Has no effect on the policy's function.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Allows networks bound to this policy to receive DNS queries sent by VMs or
|
||||
# applications over VPN connections. When enabled, a virtual IP address will be
|
||||
# allocated from each of the sub-networks that are bound to this policy.
|
||||
# Corresponds to the JSON property `enableInboundForwarding`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_inbound_forwarding
|
||||
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
|
||||
|
||||
# Unique identifier for the resource; defined by the server (output only).
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#policy".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# User assigned name for this policy.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# List of network names specifying networks to which this policy is applied.
|
||||
# Corresponds to the JSON property `networks`
|
||||
# @return [Array<Google::Apis::DnsV1::PolicyNetwork>]
|
||||
attr_accessor :networks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@networks = args[:networks] if args.key?(:networks)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PolicyAlternativeNameServerConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# policyAlternativeNameServerConfig".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Sets an alternative name server for the associated networks. When specified,
|
||||
# all DNS queries are forwarded to a name server that you choose. Names such as .
|
||||
# internal are not available when an alternative name server is specified.
|
||||
# Corresponds to the JSON property `targetNameServers`
|
||||
# @return [Array<Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer>]
|
||||
attr_accessor :target_name_servers
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# IPv4 address to forward to.
|
||||
# Corresponds to the JSON property `ipv4Address`
|
||||
# @return [String]
|
||||
attr_accessor :ipv4_address
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# policyAlternativeNameServerConfigTargetNameServer".
|
||||
# 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)
|
||||
@ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PolicyNetwork
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# policyNetwork".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# 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`
|
||||
# @return [String]
|
||||
attr_accessor :network_url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@network_url = args[:network_url] if args.key?(:network_url)
|
||||
end
|
||||
end
|
||||
|
||||
# A project resource. The project is a top level container for resources
|
||||
# including Cloud DNS ManagedZones. Projects can be created only in the APIs
|
||||
# console.
|
||||
|
@ -820,6 +1122,16 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :networks_per_managed_zone
|
||||
|
||||
# Maximum allowed number of networks per policy.
|
||||
# Corresponds to the JSON property `networksPerPolicy`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :networks_per_policy
|
||||
|
||||
# Maximum allowed number of policies per project.
|
||||
# Corresponds to the JSON property `policies`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :policies
|
||||
|
||||
# Maximum allowed number of ResourceRecords per ResourceRecordSet.
|
||||
# Corresponds to the JSON property `resourceRecordsPerRrset`
|
||||
# @return [Fixnum]
|
||||
|
@ -841,6 +1153,16 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :rrsets_per_managed_zone
|
||||
|
||||
# Maximum allowed number of target name servers per managed forwarding zone.
|
||||
# Corresponds to the JSON property `targetNameServersPerManagedZone`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :target_name_servers_per_managed_zone
|
||||
|
||||
# Maximum allowed number of alternative target name servers per policy.
|
||||
# Corresponds to the JSON property `targetNameServersPerPolicy`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :target_name_servers_per_policy
|
||||
|
||||
# Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
|
||||
# Corresponds to the JSON property `totalRrdataSizePerChange`
|
||||
# @return [Fixnum]
|
||||
|
@ -862,10 +1184,14 @@ module Google
|
|||
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
|
||||
@managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
|
||||
@networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
|
||||
@networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
|
||||
@policies = args[:policies] if args.key?(:policies)
|
||||
@resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
|
||||
@rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
|
||||
@rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
|
||||
@rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
|
||||
@target_name_servers_per_managed_zone = args[:target_name_servers_per_managed_zone] if args.key?(:target_name_servers_per_managed_zone)
|
||||
@target_name_servers_per_policy = args[:target_name_servers_per_policy] if args.key?(:target_name_servers_per_policy)
|
||||
@total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change)
|
||||
@whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs)
|
||||
end
|
||||
|
|
|
@ -70,6 +70,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneOperationsListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -112,6 +124,48 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PoliciesListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PoliciesPatchResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PoliciesUpdateResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PolicyNetwork
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Project
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -225,6 +279,8 @@ module Google
|
|||
property :dns_name, as: 'dnsName'
|
||||
property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV1::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV1::ManagedZoneDnsSecConfig::Representation
|
||||
|
||||
property :forwarding_config, as: 'forwardingConfig', class: Google::Apis::DnsV1::ManagedZoneForwardingConfig, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfig::Representation
|
||||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
hash :labels, as: 'labels'
|
||||
|
@ -248,6 +304,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZoneOperationsListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -325,6 +398,78 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PoliciesListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :policies, as: 'policies', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PoliciesPatchResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
|
||||
|
||||
property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PoliciesUpdateResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
|
||||
|
||||
property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :alternative_name_server_config, as: 'alternativeNameServerConfig', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfig, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfig::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
collection :networks, as: 'networks', class: Google::Apis::DnsV1::PolicyNetwork, decorator: Google::Apis::DnsV1::PolicyNetwork::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyNetwork
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :network_url, as: 'networkUrl'
|
||||
end
|
||||
end
|
||||
|
||||
class Project
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -344,10 +489,14 @@ module Google
|
|||
property :managed_zones, as: 'managedZones'
|
||||
property :managed_zones_per_network, as: 'managedZonesPerNetwork'
|
||||
property :networks_per_managed_zone, as: 'networksPerManagedZone'
|
||||
property :networks_per_policy, as: 'networksPerPolicy'
|
||||
property :policies, as: 'policies'
|
||||
property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
|
||||
property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
|
||||
property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
|
||||
property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
|
||||
property :target_name_servers_per_managed_zone, as: 'targetNameServersPerManagedZone'
|
||||
property :target_name_servers_per_policy, as: 'targetNameServersPerPolicy'
|
||||
property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange'
|
||||
collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV1::DnsKeySpec, decorator: Google::Apis::DnsV1::DnsKeySpec::Representation
|
||||
|
||||
|
|
|
@ -632,6 +632,252 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new Policy
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV1::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 create_policy(project, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/policies', options)
|
||||
command.request_representation = Google::Apis::DnsV1::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::DnsV1::Policy::Representation
|
||||
command.response_class = Google::Apis::DnsV1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Delete a previously created Policy. Will fail if the policy is still being
|
||||
# referenced by a network.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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 [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, '{project}/policies/{policy}', options)
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Fetch the representation of an existing Policy.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV1::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_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/policies/{policy}', options)
|
||||
command.response_representation = Google::Apis::DnsV1::Policy::Representation
|
||||
command.response_class = Google::Apis::DnsV1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Enumerate all Policies associated with a project.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list 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::DnsV1::PoliciesListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV1::PoliciesListResponse]
|
||||
#
|
||||
# @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_policies(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/policies', options)
|
||||
command.response_representation = Google::Apis::DnsV1::PoliciesListResponse::Representation
|
||||
command.response_class = Google::Apis::DnsV1::PoliciesListResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.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?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing Policy.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV1::PoliciesPatchResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV1::PoliciesPatchResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/policies/{policy}', options)
|
||||
command.request_representation = Google::Apis::DnsV1::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::DnsV1::PoliciesPatchResponse::Representation
|
||||
command.response_class = Google::Apis::DnsV1::PoliciesPatchResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Update an existing Policy.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV1::PoliciesUpdateResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV1::PoliciesUpdateResponse]
|
||||
#
|
||||
# @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 update_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, '{project}/policies/{policy}', options)
|
||||
command.request_representation = Google::Apis::DnsV1::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::DnsV1::PoliciesUpdateResponse::Representation
|
||||
command.response_class = Google::Apis::DnsV1::PoliciesUpdateResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Fetch the representation of an existing Project.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20190625'
|
||||
REVISION = '20190903'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -457,8 +457,8 @@ module Google
|
|||
class ManagedZoneDnsSecConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies parameters that will be used for generating initial DnsKeys for this
|
||||
# ManagedZone. Can only be changed while state is OFF.
|
||||
# Specifies parameters for generating initial DnsKeys for this ManagedZone. Can
|
||||
# only be changed while the state is OFF.
|
||||
# Corresponds to the JSON property `defaultKeySpecs`
|
||||
# @return [Array<Google::Apis::DnsV1beta2::DnsKeySpec>]
|
||||
attr_accessor :default_key_specs
|
||||
|
@ -469,8 +469,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Specifies the mechanism used to provide authenticated denial-of-existence
|
||||
# responses. Can only be changed while state is OFF.
|
||||
# Specifies the mechanism for authenticated denial-of-existence responses. Can
|
||||
# only be changed while the state is OFF.
|
||||
# Corresponds to the JSON property `nonExistence`
|
||||
# @return [String]
|
||||
attr_accessor :non_existence
|
||||
|
@ -621,10 +621,10 @@ module Google
|
|||
class ManagedZonePeeringConfigTargetNetwork
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If this zone has been deactivated (possibly because the producer network it
|
||||
# targeted was deleted), the time at which it was deactivated. If the peering
|
||||
# connection is still active, this will be the empty string. This is in RFC3339
|
||||
# text format. Output only.
|
||||
# The time at which the zone was deactivated, in RFC 3339 date-time format. An
|
||||
# empty string indicates that the peering connection is active. The producer
|
||||
# network can deactivate a zone. The zone is automatically deactivated if the
|
||||
# producer network that the zone targeted is deleted. Output only.
|
||||
# Corresponds to the JSON property `deactivateTime`
|
||||
# @return [String]
|
||||
attr_accessor :deactivate_time
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20190625'
|
||||
REVISION = '20190903'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -369,6 +369,13 @@ module Google
|
|||
# @return [Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig]
|
||||
attr_accessor :dnssec_config
|
||||
|
||||
# The presence for this field indicates that outbound forwarding is enabled for
|
||||
# this zone. The value of this field contains the set of destinations to forward
|
||||
# to.
|
||||
# Corresponds to the JSON property `forwardingConfig`
|
||||
# @return [Google::Apis::DnsV2beta1::ManagedZoneForwardingConfig]
|
||||
attr_accessor :forwarding_config
|
||||
|
||||
# Unique identifier for the resource; defined by the server (output only)
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -427,6 +434,7 @@ module Google
|
|||
@description = args[:description] if args.key?(:description)
|
||||
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
||||
@dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
|
||||
@forwarding_config = args[:forwarding_config] if args.key?(:forwarding_config)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
|
@ -442,8 +450,8 @@ module Google
|
|||
class ManagedZoneDnsSecConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies parameters that will be used for generating initial DnsKeys for this
|
||||
# ManagedZone. Can only be changed while state is OFF.
|
||||
# Specifies parameters for generating initial DnsKeys for this ManagedZone. Can
|
||||
# only be changed while the state is OFF.
|
||||
# Corresponds to the JSON property `defaultKeySpecs`
|
||||
# @return [Array<Google::Apis::DnsV2beta1::DnsKeySpec>]
|
||||
attr_accessor :default_key_specs
|
||||
|
@ -454,8 +462,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Specifies the mechanism used to provide authenticated denial-of-existence
|
||||
# responses. Can only be changed while state is OFF.
|
||||
# Specifies the mechanism for authenticated denial-of-existence responses. Can
|
||||
# only be changed while the state is OFF.
|
||||
# Corresponds to the JSON property `nonExistence`
|
||||
# @return [String]
|
||||
attr_accessor :non_existence
|
||||
|
@ -478,6 +486,59 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedZoneForwardingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# managedZoneForwardingConfig".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# List of target name servers to forward to. Cloud DNS will select the best
|
||||
# available name server if more than one target is given.
|
||||
# Corresponds to the JSON property `targetNameServers`
|
||||
# @return [Array<Google::Apis::DnsV2beta1::ManagedZoneForwardingConfigNameServerTarget>]
|
||||
attr_accessor :target_name_servers
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# IPv4 address of a target name server.
|
||||
# Corresponds to the JSON property `ipv4Address`
|
||||
# @return [String]
|
||||
attr_accessor :ipv4_address
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# managedZoneForwardingConfigNameServerTarget".
|
||||
# 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)
|
||||
@ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedZoneOperationsListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -749,6 +810,247 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PoliciesListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Elements common to every response.
|
||||
# Corresponds to the JSON property `header`
|
||||
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# Type of resource.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The presence of this field indicates that there exist more results following
|
||||
# your last page of results in pagination order. To fetch them, make another
|
||||
# list request using this value as your page token.
|
||||
# In this way you can retrieve the complete contents of even very large
|
||||
# collections one page at a time. However, if the contents of the collection
|
||||
# change between the first and last paginated list request, the set of all
|
||||
# elements returned will be an inconsistent view of the collection. There is no
|
||||
# way to retrieve a consistent snapshot of a collection larger than the maximum
|
||||
# page size.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The policy resources.
|
||||
# Corresponds to the JSON property `policies`
|
||||
# @return [Array<Google::Apis::DnsV2beta1::Policy>]
|
||||
attr_accessor :policies
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header = args[:header] if args.key?(:header)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@policies = args[:policies] if args.key?(:policies)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PoliciesPatchResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Elements common to every response.
|
||||
# Corresponds to the JSON property `header`
|
||||
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# 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::DnsV2beta1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header = args[:header] if args.key?(:header)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PoliciesUpdateResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Elements common to every response.
|
||||
# Corresponds to the JSON property `header`
|
||||
# @return [Google::Apis::DnsV2beta1::ResponseHeader]
|
||||
attr_accessor :header
|
||||
|
||||
# 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::DnsV2beta1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@header = args[:header] if args.key?(:header)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
end
|
||||
end
|
||||
|
||||
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
||||
# Cloud resources.
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Sets an alternative name server for the associated networks. When specified,
|
||||
# all DNS queries are forwarded to a name server that you choose. Names such as .
|
||||
# internal are not available when an alternative name server is specified.
|
||||
# Corresponds to the JSON property `alternativeNameServerConfig`
|
||||
# @return [Google::Apis::DnsV2beta1::PolicyAlternativeNameServerConfig]
|
||||
attr_accessor :alternative_name_server_config
|
||||
|
||||
# A mutable string of at most 1024 characters associated with this resource for
|
||||
# the user's convenience. Has no effect on the policy's function.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Allows networks bound to this policy to receive DNS queries sent by VMs or
|
||||
# applications over VPN connections. When enabled, a virtual IP address will be
|
||||
# allocated from each of the sub-networks that are bound to this policy.
|
||||
# Corresponds to the JSON property `enableInboundForwarding`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_inbound_forwarding
|
||||
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
|
||||
|
||||
# Unique identifier for the resource; defined by the server (output only).
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#policy".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# User assigned name for this policy.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# List of network names specifying networks to which this policy is applied.
|
||||
# Corresponds to the JSON property `networks`
|
||||
# @return [Array<Google::Apis::DnsV2beta1::PolicyNetwork>]
|
||||
attr_accessor :networks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@networks = args[:networks] if args.key?(:networks)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PolicyAlternativeNameServerConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# policyAlternativeNameServerConfig".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Sets an alternative name server for the associated networks. When specified,
|
||||
# all DNS queries are forwarded to a name server that you choose. Names such as .
|
||||
# internal are not available when an alternative name server is specified.
|
||||
# Corresponds to the JSON property `targetNameServers`
|
||||
# @return [Array<Google::Apis::DnsV2beta1::PolicyAlternativeNameServerConfigTargetNameServer>]
|
||||
attr_accessor :target_name_servers
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# IPv4 address to forward to.
|
||||
# Corresponds to the JSON property `ipv4Address`
|
||||
# @return [String]
|
||||
attr_accessor :ipv4_address
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# policyAlternativeNameServerConfigTargetNameServer".
|
||||
# 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)
|
||||
@ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class PolicyNetwork
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
||||
# policyNetwork".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# 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`
|
||||
# @return [String]
|
||||
attr_accessor :network_url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@network_url = args[:network_url] if args.key?(:network_url)
|
||||
end
|
||||
end
|
||||
|
||||
# A project resource. The project is a top level container for resources
|
||||
# including Cloud DNS ManagedZones. Projects can be created only in the APIs
|
||||
# console.
|
||||
|
@ -820,6 +1122,16 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :networks_per_managed_zone
|
||||
|
||||
# Maximum allowed number of networks per policy.
|
||||
# Corresponds to the JSON property `networksPerPolicy`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :networks_per_policy
|
||||
|
||||
# Maximum allowed number of policies per project.
|
||||
# Corresponds to the JSON property `policies`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :policies
|
||||
|
||||
# Maximum allowed number of ResourceRecords per ResourceRecordSet.
|
||||
# Corresponds to the JSON property `resourceRecordsPerRrset`
|
||||
# @return [Fixnum]
|
||||
|
@ -841,6 +1153,16 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :rrsets_per_managed_zone
|
||||
|
||||
# Maximum allowed number of target name servers per managed forwarding zone.
|
||||
# Corresponds to the JSON property `targetNameServersPerManagedZone`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :target_name_servers_per_managed_zone
|
||||
|
||||
# Maximum allowed number of alternative target name servers per policy.
|
||||
# Corresponds to the JSON property `targetNameServersPerPolicy`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :target_name_servers_per_policy
|
||||
|
||||
# Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
|
||||
# Corresponds to the JSON property `totalRrdataSizePerChange`
|
||||
# @return [Fixnum]
|
||||
|
@ -862,10 +1184,14 @@ module Google
|
|||
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
|
||||
@managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
|
||||
@networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
|
||||
@networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
|
||||
@policies = args[:policies] if args.key?(:policies)
|
||||
@resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
|
||||
@rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
|
||||
@rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
|
||||
@rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
|
||||
@target_name_servers_per_managed_zone = args[:target_name_servers_per_managed_zone] if args.key?(:target_name_servers_per_managed_zone)
|
||||
@target_name_servers_per_policy = args[:target_name_servers_per_policy] if args.key?(:target_name_servers_per_policy)
|
||||
@total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change)
|
||||
@whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs)
|
||||
end
|
||||
|
|
|
@ -70,6 +70,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneOperationsListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -112,6 +124,48 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PoliciesListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PoliciesPatchResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PoliciesUpdateResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PolicyNetwork
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Project
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -225,6 +279,8 @@ module Google
|
|||
property :dns_name, as: 'dnsName'
|
||||
property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig::Representation
|
||||
|
||||
property :forwarding_config, as: 'forwardingConfig', class: Google::Apis::DnsV2beta1::ManagedZoneForwardingConfig, decorator: Google::Apis::DnsV2beta1::ManagedZoneForwardingConfig::Representation
|
||||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
hash :labels, as: 'labels'
|
||||
|
@ -248,6 +304,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV2beta1::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV2beta1::ManagedZoneForwardingConfigNameServerTarget::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZoneOperationsListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -325,6 +398,78 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PoliciesListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :policies, as: 'policies', class: Google::Apis::DnsV2beta1::Policy, decorator: Google::Apis::DnsV2beta1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PoliciesPatchResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation
|
||||
|
||||
property :policy, as: 'policy', class: Google::Apis::DnsV2beta1::Policy, decorator: Google::Apis::DnsV2beta1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PoliciesUpdateResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation
|
||||
|
||||
property :policy, as: 'policy', class: Google::Apis::DnsV2beta1::Policy, decorator: Google::Apis::DnsV2beta1::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :alternative_name_server_config, as: 'alternativeNameServerConfig', class: Google::Apis::DnsV2beta1::PolicyAlternativeNameServerConfig, decorator: Google::Apis::DnsV2beta1::PolicyAlternativeNameServerConfig::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
collection :networks, as: 'networks', class: Google::Apis::DnsV2beta1::PolicyNetwork, decorator: Google::Apis::DnsV2beta1::PolicyNetwork::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV2beta1::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV2beta1::PolicyAlternativeNameServerConfigTargetNameServer::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyNetwork
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :network_url, as: 'networkUrl'
|
||||
end
|
||||
end
|
||||
|
||||
class Project
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -344,10 +489,14 @@ module Google
|
|||
property :managed_zones, as: 'managedZones'
|
||||
property :managed_zones_per_network, as: 'managedZonesPerNetwork'
|
||||
property :networks_per_managed_zone, as: 'networksPerManagedZone'
|
||||
property :networks_per_policy, as: 'networksPerPolicy'
|
||||
property :policies, as: 'policies'
|
||||
property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
|
||||
property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
|
||||
property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
|
||||
property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
|
||||
property :target_name_servers_per_managed_zone, as: 'targetNameServersPerManagedZone'
|
||||
property :target_name_servers_per_policy, as: 'targetNameServersPerPolicy'
|
||||
property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange'
|
||||
collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV2beta1::DnsKeySpec, decorator: Google::Apis::DnsV2beta1::DnsKeySpec::Representation
|
||||
|
||||
|
|
|
@ -632,6 +632,252 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new Policy
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV2beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV2beta1::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 create_policy(project, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/policies', options)
|
||||
command.request_representation = Google::Apis::DnsV2beta1::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::DnsV2beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::DnsV2beta1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Delete a previously created Policy. Will fail if the policy is still being
|
||||
# referenced by a network.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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 [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, '{project}/policies/{policy}', options)
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Fetch the representation of an existing Policy.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV2beta1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV2beta1::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_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/policies/{policy}', options)
|
||||
command.response_representation = Google::Apis::DnsV2beta1::Policy::Representation
|
||||
command.response_class = Google::Apis::DnsV2beta1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Enumerate all Policies associated with a project.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list 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::DnsV2beta1::PoliciesListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV2beta1::PoliciesListResponse]
|
||||
#
|
||||
# @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_policies(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/policies', options)
|
||||
command.response_representation = Google::Apis::DnsV2beta1::PoliciesListResponse::Representation
|
||||
command.response_class = Google::Apis::DnsV2beta1::PoliciesListResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.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?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing Policy.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV2beta1::PoliciesPatchResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV2beta1::PoliciesPatchResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/policies/{policy}', options)
|
||||
command.request_representation = Google::Apis::DnsV2beta1::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::DnsV2beta1::PoliciesPatchResponse::Representation
|
||||
command.response_class = Google::Apis::DnsV2beta1::PoliciesPatchResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Update an existing Policy.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @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::DnsV2beta1::PoliciesUpdateResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DnsV2beta1::PoliciesUpdateResponse]
|
||||
#
|
||||
# @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 update_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, '{project}/policies/{policy}', options)
|
||||
command.request_representation = Google::Apis::DnsV2beta1::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::DnsV2beta1::PoliciesUpdateResponse::Representation
|
||||
command.response_class = Google::Apis::DnsV2beta1::PoliciesUpdateResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['policy'] = policy unless policy.nil?
|
||||
command.query['clientOperationId'] = client_operation_id unless client_operation_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
|
||||
|
||||
# Fetch the representation of an existing Project.
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/iam/
|
||||
module IamV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190816'
|
||||
REVISION = '20190906'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -935,7 +935,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Deprecated.
|
||||
# Specifies the format of the policy.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Policies with any conditional bindings must specify version 3. Policies
|
||||
# without any conditional bindings may specify any valid value or leave the
|
||||
# field unset.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -1367,6 +1372,9 @@ module Google
|
|||
attr_accessor :valid_after_time
|
||||
|
||||
# The key can be used before this timestamp.
|
||||
# For system-managed key pairs, this timestamp is the end time for the
|
||||
# private key signing operation. The public key could still be used
|
||||
# for verification for a few hours after this time.
|
||||
# Corresponds to the JSON property `validBeforeTime`
|
||||
# @return [String]
|
||||
attr_accessor :valid_before_time
|
||||
|
|
|
@ -1046,9 +1046,11 @@ module Google
|
|||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Fixnum] options_requested_policy_version
|
||||
# Optional. The policy format version to be returned.
|
||||
# Acceptable values are 0, 1, and 3.
|
||||
# If the value is 0, or the field is omitted, policy format version 1 will be
|
||||
# returned.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/iap
|
||||
module IapV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190802'
|
||||
REVISION = '20190906'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -141,9 +141,11 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. The policy format version to be returned.
|
||||
# Acceptable values are 0, 1, and 3.
|
||||
# If the value is 0, or the field is omitted, policy format version 1 will be
|
||||
# returned.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Requests for policies with any conditional bindings must specify version 3.
|
||||
# Policies without any conditional bindings may specify any valid value or
|
||||
# leave the field unset.
|
||||
# Corresponds to the JSON property `requestedPolicyVersion`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :requested_policy_version
|
||||
|
@ -218,7 +220,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Deprecated.
|
||||
# Specifies the format of the policy.
|
||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
||||
# rejected.
|
||||
# Policies with any conditional bindings must specify version 3. Policies
|
||||
# without any conditional bindings may specify any valid value or leave the
|
||||
# field unset.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/people/
|
||||
module PeopleV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190822'
|
||||
REVISION = '20190910'
|
||||
|
||||
# See, edit, download, and permanently delete your contacts
|
||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||
|
|
|
@ -196,14 +196,14 @@ module Google
|
|||
class Birthday
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time
|
||||
# of day and time zone are either specified elsewhere or are not
|
||||
# significant. The date is relative to the
|
||||
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
||||
# Proleptic_Gregorian_calendar).
|
||||
# The day may be 0 to represent a year and month where the day is not
|
||||
# significant. The year may be 0 to represent a month and day independent
|
||||
# of year; for example, anniversary date.
|
||||
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::PeopleV1::Date]
|
||||
attr_accessor :date
|
||||
|
@ -472,14 +472,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time
|
||||
# of day and time zone are either specified elsewhere or are not
|
||||
# significant. The date is relative to the
|
||||
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
||||
# Proleptic_Gregorian_calendar).
|
||||
# The day may be 0 to represent a year and month where the day is not
|
||||
# significant. The year may be 0 to represent a month and day independent
|
||||
# of year; for example, anniversary date.
|
||||
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
class Date
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -628,14 +628,14 @@ module Google
|
|||
class Event
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time
|
||||
# of day and time zone are either specified elsewhere or are not
|
||||
# significant. The date is relative to the
|
||||
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
||||
# Proleptic_Gregorian_calendar).
|
||||
# The day may be 0 to represent a year and month where the day is not
|
||||
# significant. The year may be 0 to represent a month and day independent
|
||||
# of year; for example, anniversary date.
|
||||
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::PeopleV1::Date]
|
||||
attr_accessor :date
|
||||
|
@ -1228,14 +1228,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :domain
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time
|
||||
# of day and time zone are either specified elsewhere or are not
|
||||
# significant. The date is relative to the
|
||||
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
||||
# Proleptic_Gregorian_calendar).
|
||||
# The day may be 0 to represent a year and month where the day is not
|
||||
# significant. The year may be 0 to represent a month and day independent
|
||||
# of year; for example, anniversary date.
|
||||
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# Corresponds to the JSON property `endDate`
|
||||
# @return [Google::Apis::PeopleV1::Date]
|
||||
attr_accessor :end_date
|
||||
|
@ -1271,14 +1271,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :phonetic_name
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time
|
||||
# of day and time zone are either specified elsewhere or are not
|
||||
# significant. The date is relative to the
|
||||
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
||||
# Proleptic_Gregorian_calendar).
|
||||
# The day may be 0 to represent a year and month where the day is not
|
||||
# significant. The year may be 0 to represent a month and day independent
|
||||
# of year; for example, anniversary date.
|
||||
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||
# * A full date, with non-zero year, month and day values
|
||||
# * A month and day value, with a zero year, e.g. an anniversary
|
||||
# * A year on its own, with zero month and day values
|
||||
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||
# Corresponds to the JSON property `startDate`
|
||||
# @return [Google::Apis::PeopleV1::Date]
|
||||
attr_accessor :start_date
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190713'
|
||||
REVISION = '20190905'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1028,6 +1028,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
|
||||
|
@ -1039,6 +1045,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscription>]
|
||||
|
@ -1064,8 +1076,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -1875,6 +1889,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
||||
|
@ -1886,6 +1906,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
|
||||
|
@ -1911,8 +1937,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -2665,6 +2693,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
||||
|
@ -2676,6 +2710,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
|
||||
|
@ -2701,8 +2741,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -3455,6 +3497,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
||||
|
@ -3466,6 +3514,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
|
||||
|
@ -3491,8 +3545,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -4472,6 +4528,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
||||
|
@ -4483,6 +4545,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
|
||||
|
@ -4509,8 +4577,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
|
|
@ -1076,10 +1076,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TextAnnotation::Representation
|
||||
|
@ -1324,10 +1328,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation
|
||||
|
@ -1552,10 +1560,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation
|
||||
|
@ -1780,10 +1792,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
|
||||
|
@ -2080,10 +2096,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20190713'
|
||||
REVISION = '20190905'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -683,6 +683,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment>]
|
||||
|
@ -694,6 +700,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechTranscription>]
|
||||
|
@ -719,8 +731,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -1473,6 +1487,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
||||
|
@ -1484,6 +1504,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
|
||||
|
@ -1509,8 +1535,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -2263,6 +2291,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
||||
|
@ -2274,6 +2308,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
|
||||
|
@ -2299,8 +2339,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -3398,6 +3440,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
||||
|
@ -3409,6 +3457,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
|
||||
|
@ -3434,8 +3488,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -4472,6 +4528,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
||||
|
@ -4483,6 +4545,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
|
||||
|
@ -4509,8 +4577,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
|
|
@ -982,10 +982,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1TextAnnotation::Representation
|
||||
|
@ -1210,10 +1214,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation
|
||||
|
@ -1438,10 +1446,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation
|
||||
|
@ -1742,10 +1754,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
|
||||
|
@ -2062,10 +2078,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1p3beta1
|
||||
VERSION = 'V1p3beta1'
|
||||
REVISION = '20190713'
|
||||
REVISION = '20190905'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -683,6 +683,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment>]
|
||||
|
@ -694,6 +700,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1SpeechTranscription>]
|
||||
|
@ -719,8 +731,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -1473,6 +1487,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
||||
|
@ -1484,6 +1504,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
|
||||
|
@ -1509,8 +1535,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -2263,6 +2291,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
||||
|
@ -2274,6 +2308,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
|
||||
|
@ -2299,8 +2339,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -3053,6 +3095,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
||||
|
@ -3064,6 +3112,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
|
||||
|
@ -3089,8 +3143,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
@ -4415,6 +4471,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_label_annotations
|
||||
|
||||
# Presence label annotations on video level or user specified segment level.
|
||||
# There is exactly one element for each unique label.
|
||||
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :segment_presence_label_annotations
|
||||
|
||||
# Shot annotations. Each shot is represented as a video segment.
|
||||
# Corresponds to the JSON property `shotAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
||||
|
@ -4426,6 +4488,12 @@ module Google
|
|||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_label_annotations
|
||||
|
||||
# Presence label annotations on shot level. There is exactly one element for
|
||||
# each unique label.
|
||||
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
||||
attr_accessor :shot_presence_label_annotations
|
||||
|
||||
# Speech transcription.
|
||||
# Corresponds to the JSON property `speechTranscriptions`
|
||||
# @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
|
||||
|
@ -4452,8 +4520,10 @@ module Google
|
|||
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
||||
@segment = args[:segment] if args.key?(:segment)
|
||||
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|
||||
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||
@shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
|
||||
@speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
end
|
||||
|
|
|
@ -982,10 +982,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextAnnotation::Representation
|
||||
|
@ -1210,10 +1214,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation
|
||||
|
@ -1438,10 +1446,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation
|
||||
|
@ -1666,10 +1678,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
|
||||
|
@ -2042,10 +2058,14 @@ module Google
|
|||
|
||||
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
||||
|
||||
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
||||
|
||||
collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation
|
||||
|
|
Loading…
Reference in New Issue