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.



995
996
997
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 995

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



979
980
981
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 979

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)


987
988
989
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 987

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)


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