Class: Google::Apis::AgentregistryV1alpha::Binding

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

Overview

Represents a user-defined Binding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Binding

Returns a new instance of Binding.



333
334
335
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 333

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

Instance Attribute Details

#auth_provider_bindingGoogle::Apis::AgentregistryV1alpha::AuthProviderBinding

The AuthProvider of the Binding. Corresponds to the JSON property authProviderBinding



293
294
295
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 293

def auth_provider_binding
  @auth_provider_binding
end

#create_timeString

Output only. Timestamp when this binding was created. Corresponds to the JSON property createTime

Returns:

  • (String)


298
299
300
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 298

def create_time
  @create_time
end

#descriptionString

Optional. User-defined description of a Binding. Can have a maximum length of 2048 characters. Corresponds to the JSON property description

Returns:

  • (String)


304
305
306
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 304

def description
  @description
end

#display_nameString

Optional. User-defined display name for the Binding. Can have a maximum length of 63 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


310
311
312
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 310

def display_name
  @display_name
end

#nameString

Required. Identifier. The resource name of the Binding. Format: projects/ project/locations/location/bindings/binding`. Corresponds to the JSON propertyname`

Returns:

  • (String)


316
317
318
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 316

def name
  @name
end

#sourceGoogle::Apis::AgentregistryV1alpha::Source

The source of the Binding. Corresponds to the JSON property source



321
322
323
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 321

def source
  @source
end

#targetGoogle::Apis::AgentregistryV1alpha::Target

The target of the Binding. Corresponds to the JSON property target



326
327
328
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 326

def target
  @target
end

#update_timeString

Output only. Timestamp when this binding was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


331
332
333
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 331

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



338
339
340
341
342
343
344
345
346
347
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 338

def update!(**args)
  @auth_provider_binding = args[:auth_provider_binding] if args.key?(:auth_provider_binding)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @source = args[:source] if args.key?(:source)
  @target = args[:target] if args.key?(:target)
  @update_time = args[:update_time] if args.key?(:update_time)
end