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.



290
291
292
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 290

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



250
251
252
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 250

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)


255
256
257
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 255

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)


261
262
263
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 261

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)


267
268
269
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 267

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)


273
274
275
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 273

def name
  @name
end

#sourceGoogle::Apis::AgentregistryV1alpha::Source

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



278
279
280
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 278

def source
  @source
end

#targetGoogle::Apis::AgentregistryV1alpha::Target

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



283
284
285
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 283

def target
  @target
end

#update_timeString

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

Returns:

  • (String)


288
289
290
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 288

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



295
296
297
298
299
300
301
302
303
304
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 295

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