Class: Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
The request for CreateAuthorizedView
Instance Attribute Summary collapse
-
#authorized_view ⇒ Google::Apis::BigtableadminV2::AuthorizedView
An Authorized View of a Cloud Bigtable Table.
-
#authorized_view_id ⇒ String
Required.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateAuthorizedViewRequest
constructor
A new instance of CreateAuthorizedViewRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateAuthorizedViewRequest
Returns a new instance of CreateAuthorizedViewRequest.
995 996 997 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 995 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorized_view ⇒ Google::Apis::BigtableadminV2::AuthorizedView
An Authorized View of a Cloud Bigtable Table.
Corresponds to the JSON property authorizedView
979 980 981 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 979 def @authorized_view end |
#authorized_view_id ⇒ String
Required. The id of the AuthorizedView to create. This AuthorizedView must not
already exist. The authorized_view_id
appended to parent
forms the full
AuthorizedView name of the form projects/
project/instances/
instance/
tables/
table/authorizedView/
authorized_view`.
Corresponds to the JSON property
authorizedViewId`
987 988 989 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 987 def @authorized_view_id end |
#parent ⇒ String
Required. This is the name of the table the AuthorizedView belongs to. Values
are of the form projects/
project/instances/
instance/tables/
table`.
Corresponds to the JSON property
parent`
993 994 995 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 993 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1000 1001 1002 1003 1004 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1000 def update!(**args) @authorized_view = args[:authorized_view] if args.key?(:authorized_view) @authorized_view_id = args[:authorized_view_id] if args.key?(:authorized_view_id) @parent = args[:parent] if args.key?(:parent) end |