Class: Google::Apis::ManagedidentitiesV1beta1::ExtendSchemaRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedidentities_v1beta1/classes.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb

Overview

ExtendSchemaRequest is the request message for ExtendSchema method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtendSchemaRequest

Returns a new instance of ExtendSchemaRequest.



744
745
746
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 744

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Required. Description for Schema Change. Corresponds to the JSON property description

Returns:

  • (String)


729
730
731
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 729

def description
  @description
end

#file_contentsString

File uploaded as a byte stream input. Corresponds to the JSON property fileContents NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


735
736
737
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 735

def file_contents
  @file_contents
end

#gcs_pathString

File stored in Cloud Storage bucket and represented in the form projects/ project_id/buckets/bucket_name/objects/object_name File should be in the same project as the domain. Corresponds to the JSON property gcsPath

Returns:

  • (String)


742
743
744
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 742

def gcs_path
  @gcs_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



749
750
751
752
753
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 749

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @file_contents = args[:file_contents] if args.key?(:file_contents)
  @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
end