Class: Google::Apis::DigitalassetlinksV1::BulkCheckRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/digitalassetlinks_v1/classes.rb,
lib/google/apis/digitalassetlinks_v1/representations.rb,
lib/google/apis/digitalassetlinks_v1/representations.rb

Overview

Message used to check for the existence of multiple digital asset links within a single RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkCheckRequest

Returns a new instance of BulkCheckRequest.



125
126
127
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 125

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_google_internal_data_sourcesBoolean Also known as: allow_google_internal_data_sources?

Same configuration as in Check request, all statements checks will use same configurations. Corresponds to the JSON property allowGoogleInternalDataSources

Returns:

  • (Boolean)


88
89
90
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 88

def allow_google_internal_data_sources
  @allow_google_internal_data_sources
end

#default_relationString

If specified, will be used in any given template statement that doesn’t specify a relation. Corresponds to the JSON property defaultRelation

Returns:

  • (String)


95
96
97
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 95

def default_relation
  @default_relation
end

#default_sourceGoogle::Apis::DigitalassetlinksV1::Asset

Uniquely identifies an asset. A digital asset is an identifiable and addressable online entity that typically provides some service or content. Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages. Corresponds to the JSON property defaultSource



102
103
104
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 102

def default_source
  @default_source
end

#default_targetGoogle::Apis::DigitalassetlinksV1::Asset

Uniquely identifies an asset. A digital asset is an identifiable and addressable online entity that typically provides some service or content. Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages. Corresponds to the JSON property defaultTarget



109
110
111
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 109

def default_target
  @default_target
end

#skip_cache_lookupBoolean Also known as: skip_cache_lookup?

Same configuration as in Check request, all statements checks will use same configurations. Corresponds to the JSON property skipCacheLookup

Returns:

  • (Boolean)


115
116
117
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 115

def skip_cache_lookup
  @skip_cache_lookup
end

#statementsArray<Google::Apis::DigitalassetlinksV1::StatementTemplate>

List of statements to check. For each statement, you can omit a field if the corresponding default_* field below was supplied. Minimum 1 statement; maximum 1,000 statements. Any additional statements will be ignored. Corresponds to the JSON property statements



123
124
125
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 123

def statements
  @statements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



130
131
132
133
134
135
136
137
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 130

def update!(**args)
  @allow_google_internal_data_sources = args[:allow_google_internal_data_sources] if args.key?(:allow_google_internal_data_sources)
  @default_relation = args[:default_relation] if args.key?(:default_relation)
  @default_source = args[:default_source] if args.key?(:default_source)
  @default_target = args[:default_target] if args.key?(:default_target)
  @skip_cache_lookup = args[:skip_cache_lookup] if args.key?(:skip_cache_lookup)
  @statements = args[:statements] if args.key?(:statements)
end