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.
998 999 1000 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 998 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
982 983 984 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 982 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`
990 991 992 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 990 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`
996 997 998 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 996 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1003 1004 1005 1006 1007 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1003 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 |