Class: Google::Apis::DataformV1beta1::PrivateResourceMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::PrivateResourceMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
Metadata used to identify if a resource is user scoped.
Instance Attribute Summary collapse
-
#user_scoped ⇒ Boolean
(also: #user_scoped?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateResourceMetadata
constructor
A new instance of PrivateResourceMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateResourceMetadata
Returns a new instance of PrivateResourceMetadata.
2736 2737 2738 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_scoped ⇒ Boolean Also known as: user_scoped?
Output only. If true, this resource is user-scoped, meaning it is either a
workspace or sourced from a workspace.
Corresponds to the JSON property userScoped
2733 2734 2735 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2733 def user_scoped @user_scoped end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2741 2742 2743 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2741 def update!(**args) @user_scoped = args[:user_scoped] if args.key?(:user_scoped) end |