Class: Google::Apis::AgentregistryV1alpha::Binding
- Inherits:
-
Object
- Object
- Google::Apis::AgentregistryV1alpha::Binding
- 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
-
#auth_provider_binding ⇒ Google::Apis::AgentregistryV1alpha::AuthProviderBinding
The AuthProvider of the Binding.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#source ⇒ Google::Apis::AgentregistryV1alpha::Source
The source of the Binding.
-
#target ⇒ Google::Apis::AgentregistryV1alpha::Target
The target of the Binding.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Binding
constructor
A new instance of Binding.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_binding ⇒ Google::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_time ⇒ String
Output only. Timestamp when this binding was created.
Corresponds to the JSON property createTime
298 299 300 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 298 def create_time @create_time end |
#description ⇒ String
Optional. User-defined description of a Binding. Can have a maximum length of
2048 characters.
Corresponds to the JSON property description
304 305 306 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 304 def description @description end |
#display_name ⇒ String
Optional. User-defined display name for the Binding. Can have a maximum length
of 63 characters.
Corresponds to the JSON property displayName
310 311 312 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 310 def display_name @display_name end |
#name ⇒ String
Required. Identifier. The resource name of the Binding. Format: projects/
project/locations/location/bindings/binding`.
Corresponds to the JSON propertyname`
316 317 318 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 316 def name @name end |
#source ⇒ Google::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 |
#target ⇒ Google::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_time ⇒ String
Output only. Timestamp when this binding was last updated.
Corresponds to the JSON property updateTime
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 |