Class: Google::Apis::ManagedidentitiesV1alpha1::ExtendSchemaRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/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.



745
746
747
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 745

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


730
731
732
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 730

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)


736
737
738
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 736

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)


743
744
745
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 743

def gcs_path
  @gcs_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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