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.
2701 2702 2703 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2701 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
2698 2699 2700 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2698 def user_scoped @user_scoped end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2706 2707 2708 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2706 def update!(**args) @user_scoped = args[:user_scoped] if args.key?(:user_scoped) end |