Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseUrlInfo

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

Overview

A Signed URL and the relevant metadata associated with it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseUrlInfo

Returns a new instance of GoogleCloudApigeeV1GetAsyncQueryResultUrlResponseUrlInfo.



4969
4970
4971
# File 'lib/google/apis/apigee_v1/classes.rb', line 4969

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

Instance Attribute Details

#md5String

The MD5 Hash of the JSON data Corresponds to the JSON property md5

Returns:

  • (String)


4946
4947
4948
# File 'lib/google/apis/apigee_v1/classes.rb', line 4946

def md5
  @md5
end

#size_bytesFixnum

The size of the returned file in bytes Corresponds to the JSON property sizeBytes

Returns:

  • (Fixnum)


4951
4952
4953
# File 'lib/google/apis/apigee_v1/classes.rb', line 4951

def size_bytes
  @size_bytes
end

#uriString

The signed URL of the JSON data. Will be of the form https://storage. googleapis.com/example-bucket/cat.jpeg?X-Goog-Algorithm= GOOG4-RSA-SHA256&X- Goog-Credential=example%40example-project.iam.gserviceaccount .com%2F20181026% 2Fus-central1%2Fstorage%2Fgoog4_request&X-Goog-Date=20181026T18 1309Z&X-Goog- Expires=900&X-Goog-SignedHeaders=host&X-Goog-Signature=247a2aa45f16 df4d187d54e7cc46e4731b1e6273242c4f4c39a1d2507a0e58706e25e3a85a7dbb891d62afa849 ef8e260c1db863d9ace85ff0a184b894b117fe46d1225c82f2aa19efd52cf21d3e2022b3b868dc aca2741951ed5bf3bb25a34f5e9316a2841e8ff4c530b22ceaa1c5ce09c7cbb5732631510c2058 61723f5594de3aea497f195456a2ff2bdd0d13bad47289d8611b6f9cfeef0c46c91a455b94e90a 924f722292d21e24d31dcfb38ce0c0f353ffa5a9756fc2a9f2b40bc2113206a81e324fc4fd6823 9163fa845c8ae7eca1fcf6e5bb48b3200983c56c5ca81fffb151cca7402beddfc4a76b13344703 2ea7abedc098d2eb14a7 Corresponds to the JSON property uri

Returns:

  • (String)


4967
4968
4969
# File 'lib/google/apis/apigee_v1/classes.rb', line 4967

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4974
4975
4976
4977
4978
# File 'lib/google/apis/apigee_v1/classes.rb', line 4974

def update!(**args)
  @md5 = args[:md5] if args.key?(:md5)
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
  @uri = args[:uri] if args.key?(:uri)
end