Class: Google::Apis::BigtableadminV2::CreateAuthorizedViewRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_viewGoogle::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
  @authorized_view
end

#authorized_view_idString

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 propertyauthorizedViewId`

Returns:

  • (String)


990
991
992
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 990

def authorized_view_id
  @authorized_view_id
end

#parentString

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 propertyparent`

Returns:

  • (String)


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