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.
290 291 292 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 290 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
250 251 252 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 250 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
255 256 257 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 255 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
261 262 263 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 261 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
267 268 269 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 267 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`
273 274 275 |
# File 'lib/google/apis/agentregistry_v1alpha/classes.rb', line 273 def name @name end |
#source ⇒ Google::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 |
#target ⇒ Google::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_time ⇒ String
Output only. Timestamp when this binding was last updated.
Corresponds to the JSON property updateTime
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 |